1
This commit is contained in:
@@ -301,14 +301,14 @@ func (c *BiddingController) UpdateStockBySkuID() {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
// RefreshSkuNameMTAttr 更新商品库美团属性进口为国产
|
// RefreshSkuNameMTAAttr 更新商品库美团属性进口为国产
|
||||||
// @Title 更新商品库美团属性进口为国产
|
// @Title 更新商品库美团属性进口为国产
|
||||||
// @Description 批量更新库存
|
// @Description 批量更新库存
|
||||||
// @Param token header string true "认证token"
|
// @Param token header string true "认证token"
|
||||||
// @Success 200 {object} controllers.CallResult
|
// @Success 200 {object} controllers.CallResult
|
||||||
// @Failure 200 {object} controllers.CallResult
|
// @Failure 200 {object} controllers.CallResult
|
||||||
// @router /RefreshSkuNameMTAttr [get]
|
// @router /RefreshSkuNameMTAAttr [get]
|
||||||
func (c *BiddingController) RefreshSkuNameMTAttre() {
|
func (c *BiddingController) RefreshSkuNameMTAAttr() {
|
||||||
c.callGetRefundOrderList(func(params *tBindGetRefundOrderListParams) (retVal interface{}, hint string, err error) {
|
c.callGetRefundOrderList(func(params *tBindGetRefundOrderListParams) (retVal interface{}, hint string, err error) {
|
||||||
db := dao.GetDB()
|
db := dao.GetDB()
|
||||||
nameList, err := dao.GetSkuNamesByAttr(db, "1300000004")
|
nameList, err := dao.GetSkuNamesByAttr(db, "1300000004")
|
||||||
|
|||||||
@@ -4509,8 +4509,8 @@ func init() {
|
|||||||
// 更新美团属性进口为国产
|
// 更新美团属性进口为国产
|
||||||
web.GlobalControllerRouter["git.rosy.net.cn/jx-callback/controllers:BiddingController"] = append(web.GlobalControllerRouter["git.rosy.net.cn/jx-callback/controllers:BiddingController"],
|
web.GlobalControllerRouter["git.rosy.net.cn/jx-callback/controllers:BiddingController"] = append(web.GlobalControllerRouter["git.rosy.net.cn/jx-callback/controllers:BiddingController"],
|
||||||
web.ControllerComments{
|
web.ControllerComments{
|
||||||
Method: "RefreshSkuNameMTAttr",
|
Method: "RefreshSkuNameMTAAttr",
|
||||||
Router: `/RefreshSkuNameMTAttr`,
|
Router: `/RefreshSkuNameMTAAttr`,
|
||||||
AllowHTTPMethods: []string{"get"},
|
AllowHTTPMethods: []string{"get"},
|
||||||
MethodParams: param.Make(),
|
MethodParams: param.Make(),
|
||||||
Filters: nil,
|
Filters: nil,
|
||||||
|
|||||||
Reference in New Issue
Block a user