This commit is contained in:
邹宗楠
2025-09-16 14:22:34 +08:00
parent 5480380c90
commit c55847dda0
29 changed files with 401 additions and 21 deletions

View File

@@ -810,6 +810,21 @@ func (c *SkuController) GetTiktokCategoryValue() {
})
}
// @Title 根据美团分类id获取平台扩展规则
// @Description 根据美团分类id获取平台扩展规则
// @Param token header string true "认证token"
// @Param mtCategoryId query int64 true "美团类目id"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /GetMTProductRule [get]
func (c *SkuController) GetMTProductRule() {
c.callGetMTProductRule(func(params *tSkuGetMTProductRuleParams) (retVal interface{}, errCode string, err error) {
data, err := mtwm.GetMTProductRule(params.MtCategoryId)
return data, "", err
})
}
// @Title 根据美团分类id获取平台属性值
// @Description 根据美团分类id获取平台属性值
// @Param token header string true "认证token"