新增功能:把所有营业的门店,京西商城门店都打开,默认范围3km,默认100-100京西价格套餐
This commit is contained in:
@@ -311,6 +311,23 @@ func (c *TempOpController) StoreSkuCheckDiff() {
|
||||
})
|
||||
}
|
||||
|
||||
// @Title 把所有营业的门店,京西商城门店都打开,默认范围3km,默认100-100京西价格套餐
|
||||
// @Description 对比Test
|
||||
// @Param token header string true "认证token"
|
||||
// @Success 200 {object} controllers.CallResult
|
||||
// @Failure 404 User not found
|
||||
// @router /StoreOpenAll [post]
|
||||
func (c *TempOpController) StoreOpenAll() {
|
||||
c.callCheckSkuDiffBetweenJxAndVendor(func(params *tTempopCheckSkuDiffBetweenJxAndVendorParams) (retVal interface{}, errCode string, err error) {
|
||||
var vendorIDList []int
|
||||
var storeIDList []int
|
||||
if err = jxutils.Strings2Objs(params.VendorIDs, &vendorIDList, params.StoreIDs, &storeIDList); err == nil {
|
||||
cms.StoreOpenAll(params.Ctx)
|
||||
}
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
// @Title 通过订单创建消费者用户
|
||||
// @Description 通过订单创建消费者用户
|
||||
// @Param token header string true "认证token"
|
||||
|
||||
Reference in New Issue
Block a user