This commit is contained in:
richboo111
2022-08-24 09:24:26 +08:00
parent 69e681043e
commit ba7db2bffe
4 changed files with 6 additions and 14 deletions

View File

@@ -1,11 +1,9 @@
package controllers
import (
"git.rosy.net.cn/baseapi/platformapi/jdapi"
"git.rosy.net.cn/jx-callback/business/auth2"
"git.rosy.net.cn/jx-callback/business/model"
"git.rosy.net.cn/jx-callback/globals"
"git.rosy.net.cn/baseapi/platformapi/jdapi"
"errors"
"git.rosy.net.cn/jx-callback/business/jxstore/cms"
@@ -54,7 +52,6 @@ type StoreSkuController struct {
func (c *StoreSkuController) GetStoreSkus() {
c.callGetStoreSkus(func(params *tStoreSkuGetStoreSkusParams) (retVal interface{}, errCode string, err error) {
var skuIDs []int
globals.SugarLogger.Debug("检测param=============", params)
if err = jxutils.Strings2Objs(params.SkuIDs, &skuIDs); err == nil {
retVal, err = cms.GetStoreSkus(params.Ctx, params.StoreID, skuIDs, params.IsFocus, params.Keyword, params.IsBySku, params.IsAct, params.MapData, params.Offset, params.PageSize)
}