This commit is contained in:
邹宗楠
2023-07-14 16:01:20 +08:00
parent f27844567a
commit 0e1cd858d5
10 changed files with 245 additions and 64 deletions

View File

@@ -470,6 +470,35 @@ func (c *ActController) GetActMtwmVendor() {
})
}
// @Title 根据商品id查询未开展活动的门店信息
// @Description 查询美团平台活动
// @Param token header string true "认证token"
// @Param skuID query int false "skuID"
// @Param offset query int false "起始序号以0开始缺省为0"
// @Param pageSize query int false "表页大小(缺省全部)"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /GetNotHaveSkuActList [get]
func (c *ActController) GetNotHaveSkuActList() {
c.callGetNotHaveSkuActList(func(params *tActGetNotHaveSkuActListParams) (retVal interface{}, errCode string, err error) {
retVal, err = act.GetStoreNotHaveSku(params.SkuID, params.Offset, params.PageSize)
return retVal, "", err
})
}
// @Title 查询美团平台活动
// @Description 查询美团平台活动
// @Param token header string true "认证token"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /RefreshMTActivityList [get]
func (c *ActController) RefreshMTActivityList() {
c.callRefreshMTActivityList(func(params *tActRefreshMTActivityListParams) (retVal interface{}, errCode string, err error) {
err = act.RrefreshMtwmVendorAct(params.Ctx)
return retVal, "", err
})
}
// @Title 查询美团平台活动sku
// @Description 查询美团平台活动sku
// @Param token header string true "认证token"