1
This commit is contained in:
@@ -2,7 +2,6 @@ package jdapi
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"git.rosy.net.cn/jx-callback/globals"
|
|
||||||
"regexp"
|
"regexp"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
@@ -395,7 +394,6 @@ func (a *API) AddSku(outSkuId string, cagtegoryId int, shopCategories []int64, b
|
|||||||
KeyFixedStatus: fixedStatus,
|
KeyFixedStatus: fixedStatus,
|
||||||
KeyIsSale: isSale,
|
KeyIsSale: isSale,
|
||||||
}
|
}
|
||||||
globals.SugarLogger.Debugf("===============AddSku= %s", utils.Format4Output(fixedParams, false))
|
|
||||||
result, err := a.AccessAPINoPage("pms/sku/addSku", utils.MergeMaps(fixedParams, addParams), nil, nil, nil)
|
result, err := a.AccessAPINoPage("pms/sku/addSku", utils.MergeMaps(fixedParams, addParams), nil, nil, nil)
|
||||||
if err == nil {
|
if err == nil {
|
||||||
return (result.(map[string]interface{}))["skuId"].(string), nil
|
return (result.(map[string]interface{}))["skuId"].(string), nil
|
||||||
|
|||||||
Reference in New Issue
Block a user