订单打款修改

This commit is contained in:
苏尹岚
2020-02-12 17:24:57 +08:00
parent 08484237fc
commit c461e3e10e
5 changed files with 122 additions and 137 deletions

View File

@@ -153,7 +153,11 @@ func (p *PurchaseHandler) CreateStoreSkus(ctx *jxcontext.Context, storeID int, v
)
if strings.Contains(storeSku.StoreName, model.ExdStoreName) {
isExd = true
customSkuID = utils.Str2Int64(storeSku.ExdSkuID)
if storeSku.ExdSkuID == "" {
customSkuID = 0
} else {
customSkuID = utils.Str2Int64(storeSku.ExdSkuID)
}
} else {
isExd = false
customSkuID = int64(storeSku.SkuID)