自动关注
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package controllers
|
||||
|
||||
import (
|
||||
"git.rosy.net.cn/jx-callback/business/jxstore/cms"
|
||||
"git.rosy.net.cn/jx-callback/business/jxstore/report"
|
||||
"git.rosy.net.cn/jx-callback/business/jxutils"
|
||||
"github.com/astaxie/beego"
|
||||
@@ -82,3 +83,29 @@ func (c *ReportController) PriceRefer() {
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
// @Title 生成价格参考数据单价
|
||||
// @Description 生成价格参考数据单价
|
||||
// @Param token header string true "认证token"
|
||||
// @Success 200 {object} controllers.CallResult
|
||||
// @Failure 200 {object} controllers.CallResult
|
||||
// @router /PriceReferUnitPrice [post]
|
||||
func (c *ReportController) PriceReferUnitPrice() {
|
||||
// c.callPriceReferUnitPrice(func(params *tReportPriceReferUnitPriceParams) (retVal interface{}, errCode string, err error) {
|
||||
// report.UpdatePriceReferUnitPrice(params.Ctx)
|
||||
// return retVal, "", err
|
||||
// })
|
||||
}
|
||||
|
||||
// @Title 自动关注商品(针对后加的商品规格未关注)
|
||||
// @Description 自动关注商品(针对后加的商品规格未关注)
|
||||
// @Param token header string true "认证token"
|
||||
// @Success 200 {object} controllers.CallResult
|
||||
// @Failure 200 {object} controllers.CallResult
|
||||
// @router /AutoFocusStoreSkus [post]
|
||||
func (c *ReportController) AutoFocusStoreSkus() {
|
||||
c.callAutoFocusStoreSkus(func(params *tReportAutoFocusStoreSkusParams) (retVal interface{}, errCode string, err error) {
|
||||
cms.AutoFocusStoreSkusWithoutFocus(params.Ctx, nil, false)
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user