1
This commit is contained in:
@@ -2,6 +2,7 @@ package jdapi
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"git.rosy.net.cn/jx-callback/globals"
|
||||
"regexp"
|
||||
"strings"
|
||||
|
||||
@@ -320,6 +321,7 @@ func (a *API) AddShopCategory(pid int64, shopCategoryName string, shopCategoryLe
|
||||
params["createPin"] = utils.GetAPIOperator(userName)
|
||||
}
|
||||
result, err := a.AccessAPINoPage("pms/addShopCategory", params, nil, nil, nil)
|
||||
globals.SugarLogger.Debugf("========result : %s", utils.Format4Output(result, false))
|
||||
if err == nil {
|
||||
return (result.(map[string]interface{}))["id"].(string), nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user