aa
This commit is contained in:
@@ -153,8 +153,8 @@ func (c *NetSpiderController) RefreshPageShops() {
|
||||
// @Title 参考信息,商品搜索
|
||||
// @Description 参考信息,商品搜索
|
||||
// @Param token header string true "认证token"
|
||||
// @Param vendorID query int false "平台ID"
|
||||
// @Param vendorStoreIDs query string false "门店ID"
|
||||
// @Param vendorIDs query string false "平台IDs"
|
||||
// @Param vendorStoreIDs query string false "门店IDs"
|
||||
// @Param keyword query string false "关键字"
|
||||
// @Param cityCode query int false "城市"
|
||||
// @Param lng query string false "关注点经度"
|
||||
@@ -169,8 +169,9 @@ func (c *NetSpiderController) RefreshPageShops() {
|
||||
func (c *NetSpiderController) QueryPageSkus() {
|
||||
c.callQueryPageSkus(func(params *tNetspiderQueryPageSkusParams) (retVal interface{}, errCode string, err error) {
|
||||
var vendorStoreIDs []string
|
||||
jxutils.Strings2Objs(params.VendorStoreIDs, &vendorStoreIDs)
|
||||
retVal, err = cms.QueryPageSkus(params.Ctx, params.VendorID, vendorStoreIDs, params.Keyword, params.CityCode, utils.Str2Float64WithDefault(params.Lng, 0), utils.Str2Float64WithDefault(params.Lat, 0), params.Radius, params.SortType, params.Offset, params.PageSize)
|
||||
var vendorIDs []int
|
||||
jxutils.Strings2Objs(params.VendorStoreIDs, &vendorStoreIDs, params.VendorIDs, &vendorIDs)
|
||||
retVal, err = cms.QueryPageSkus(params.Ctx, vendorIDs, vendorStoreIDs, params.Keyword, params.CityCode, utils.Str2Float64WithDefault(params.Lng, 0), utils.Str2Float64WithDefault(params.Lat, 0), params.Radius, params.SortType, params.Offset, params.PageSize)
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user