Merge branch 'feature-refund_v2-wxy-20241204' into test
This commit is contained in:
commit
96d2c62ae1
|
@ -1199,6 +1199,7 @@ func (v *Vas) ZoneRefundV2(ctx *gin.Context, req *vasproto.ZoneRefundReq) error
|
||||||
|
|
||||||
err = v.store.AddZoneRefundAutomatic(ctx, refund)
|
err = v.store.AddZoneRefundAutomatic(ctx, refund)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
logger.Error("ZoneRefundV2 AddZoneRefundAutomatic fail, mid: %v, zid: %v, orderId: %v, err: %v", req.Mid, req.Zid, order.GetID(), err)
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
package dbstruct
|
package dbstruct
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"go.mongodb.org/mongo-driver/bson/primitive"
|
||||||
"math"
|
"math"
|
||||||
"service/bizcommon/util"
|
"service/bizcommon/util"
|
||||||
)
|
)
|
||||||
|
@ -216,7 +217,7 @@ const (
|
||||||
)
|
)
|
||||||
|
|
||||||
type RefundInfo struct {
|
type RefundInfo struct {
|
||||||
AuditId string `json:"audit_id" bson:"_id"`
|
AuditId primitive.ObjectID `json:"audit_id" bson:"_id"`
|
||||||
Zid int64 `json:"zid" bson:"zid"`
|
Zid int64 `json:"zid" bson:"zid"`
|
||||||
Price int64 `json:"price" bson:"price"`
|
Price int64 `json:"price" bson:"price"`
|
||||||
CoinPrice int64 `json:"coin_price" bson:"coin_price"`
|
CoinPrice int64 `json:"coin_price" bson:"coin_price"`
|
||||||
|
|
Loading…
Reference in New Issue