检测数据

This commit is contained in:
richboo111
2022-08-23 17:51:46 +08:00
parent beea68cddd
commit 69e681043e
3 changed files with 50 additions and 6 deletions

View File

@@ -3,6 +3,7 @@ package controllers
import (
"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"
@@ -53,6 +54,7 @@ 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)
}