aa
This commit is contained in:
@@ -447,14 +447,38 @@ func (c *ActController) GetVendorPopActDetail() {
|
||||
// @Param token header string true "认证token"
|
||||
// @Param storeIDs query string false "门店IDs"
|
||||
// @Param skuIDs query string false "skuIDs"
|
||||
// @Param keyword query string false "关键字"
|
||||
// @Param beginAt query string false "活动开始日期"
|
||||
// @Param endAt query string false "活动结束日期"
|
||||
// @Param actType query int false "折扣或者秒杀"
|
||||
// @Param offset query int false "起始序号(以0开始,缺省为0)"
|
||||
// @Param pageSize query int false "表页大小(缺省全部)"
|
||||
// @Success 200 {object} controllers.CallResult
|
||||
// @Failure 200 {object} controllers.CallResult
|
||||
// @router /GetActMtwmVendor [get]
|
||||
func (c *ActController) GetActMtwmVendor() {
|
||||
c.callGetActMtwmVendor(func(params *tActGetActMtwmVendorParams) (retVal interface{}, errCode string, err error) {
|
||||
var storeIDs, skuIDs []int
|
||||
err = jxutils.Strings2Objs(params.StoreIDs, &storeIDs, params.SkuIDs, &skuIDs)
|
||||
retVal, err = act.GetActMtwmVendor(params.Ctx, storeIDs, skuIDs, params.Keyword, params.BeginAt, params.EndAt, params.ActType, params.Offset, params.PageSize)
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
// @Title 查询美团平台活动sku
|
||||
// @Description 查询美团平台活动sku
|
||||
// @Param token header string true "认证token"
|
||||
// @Param storeID query int true "门店ID"
|
||||
// @Param keyword query string false "关键字"
|
||||
// @Param actType query int false "折扣或者秒杀"
|
||||
// @Param offset query int false "起始序号(以0开始,缺省为0)"
|
||||
// @Param pageSize query int false "表页大小(缺省全部)"
|
||||
// @Success 200 {object} controllers.CallResult
|
||||
// @Failure 200 {object} controllers.CallResult
|
||||
// @router /GetActMtwmVendorSku [get]
|
||||
func (c *ActController) GetActMtwmVendorSku() {
|
||||
c.callGetActMtwmVendorSku(func(params *tActGetActMtwmVendorSkuParams) (retVal interface{}, errCode string, err error) {
|
||||
retVal, err = act.GetActMtwmVendorSku(params.Ctx, params.StoreID, params.Keyword, params.ActType, params.Offset, params.PageSize)
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user