1
This commit is contained in:
@@ -1085,8 +1085,7 @@ func UpdateSkuName(ctx *jxcontext.Context, nameID int, payload map[string]interf
|
||||
// 判断是否改价
|
||||
if payload["price"] != nil {
|
||||
nowPrice, _ := payload["price"].(json.Number).Int64()
|
||||
if skuName.Price != int(nowPrice) && nowPrice != 0 {
|
||||
|
||||
if skuName.Price != int(nowPrice) && nowPrice != 0 && payload["skus"] != nil {
|
||||
for _, v1 := range payload["skus"].([]interface{}) {
|
||||
v := v1.(map[string]interface{})
|
||||
skuInfo := &aa{}
|
||||
|
||||
Reference in New Issue
Block a user