1
This commit is contained in:
@@ -131,6 +131,9 @@ func (c *OrderController) CreateWaybillOnProviders() {
|
||||
c.callCreateWaybillOnProviders(func(params *tOrderCreateWaybillOnProvidersParams) (retVal interface{}, errCode string, err error) {
|
||||
var courierVendorIDs []int
|
||||
if err = jxutils.Strings2Objs(params.CourierVendorIDs, &courierVendorIDs); err == nil {
|
||||
if params.MaxAddFee >= 5000 {
|
||||
return nil, "", errors.New("部分运单金额大于50元,请核对")
|
||||
}
|
||||
retVal, errCode, err = defsch.FixedScheduler.CreateWaybillOnProvidersEx(params.Ctx, params.VendorOrderID, params.VendorID, courierVendorIDs, params.ForceCreate, int64(params.MaxAddFee))
|
||||
}
|
||||
return retVal, errCode, err
|
||||
|
||||
Reference in New Issue
Block a user