新增功能:把所有营业的门店,京西商城门店都打开,默认范围3km,默认100-100京西价格套餐

This commit is contained in:
qidongsheng
2020-06-27 08:12:59 +08:00
parent 4fee0aa763
commit dc5711ca8c
3 changed files with 102 additions and 0 deletions

View File

@@ -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"