1
This commit is contained in:
@@ -259,9 +259,11 @@ func (p *PurchaseHandler) createOrUpdateStoreSkus(ctx *jxcontext.Context, storeI
|
||||
// 运费模板
|
||||
param.FreightId, err = GetDeliveryTemp(api, vendorStoreID, storeDetail)
|
||||
if err != nil {
|
||||
globals.SugarLogger.Debugf("=========FreightId=======err:= %s", utils.Format4Output(err, false))
|
||||
return nil, err
|
||||
}
|
||||
temp.TemplateID = param.FreightId
|
||||
globals.SugarLogger.Debugf("================temp:= %s", utils.Format4Output(temp, false))
|
||||
_, err = dao.UpdateEntity(db, &temp, "TemplateID")
|
||||
globals.SugarLogger.Debugf("================err:= %s", utils.Format4Output(err, false))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user