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