fix
This commit is contained in:
@@ -105,7 +105,7 @@ func (l *SupplementLogic) Supplement(req *types.SupplementReq, userinfo *auth.Us
|
||||
minByNum := math.Ceil(float64(req.Num) / float64(*productPriceInfo.EachBoxNum))
|
||||
amount := step_price.GetCentStepPrice(int(minByNum), stepNum, stepPrice) + optionalPrice
|
||||
totalAmount := amount * req.Num
|
||||
newOrderSn := id_generator.GenPickUpTrackNum()
|
||||
newOrderSn := id_generator.GenSnNum()
|
||||
now := time.Now().Unix()
|
||||
deliveryMethod := int64(constants.DELIVERY_METHOD_CLOUD)
|
||||
isSup := int64(1)
|
||||
|
||||
@@ -58,7 +58,7 @@ func (l *TakeLogic) Take(req *types.TakeReq, userinfo *auth.UserInfo) (resp *bas
|
||||
//提货单总单
|
||||
addressInfoBytes, _ := json.Marshal(addressInfo)
|
||||
addressInfoJson := string(addressInfoBytes)
|
||||
trackNum := id_generator.GenPickUpTrackNum()
|
||||
trackNum := id_generator.GenSnNum()
|
||||
status := int64(constants.STATUS_ORDERD)
|
||||
now := time.Now().Unix()
|
||||
pickUpData := gmodel.FsCloudPickUp{
|
||||
|
||||
Reference in New Issue
Block a user