刷新物料订单状态的整了个接口
This commit is contained in:
@@ -174,3 +174,16 @@ func (c *JxOrderController) GetMatterOrderStatus() {
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
// @Title 刷新所有物料订单状态
|
||||
// @Description 刷新所有物料订单状态
|
||||
// @Param token header string true "认证token"
|
||||
// @Success 200 {object} controllers.CallResult
|
||||
// @Failure 200 {object} controllers.CallResult
|
||||
// @router /RefreshAllMatterOrderStatus [put]
|
||||
func (c *JxOrderController) RefreshAllMatterOrderStatus() {
|
||||
c.callRefreshAllMatterOrderStatus(func(params *tJxorderRefreshAllMatterOrderStatusParams) (retVal interface{}, errCode string, err error) {
|
||||
err = localjx.RefreshAllMatterOrderStatus()
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
@@ -709,6 +709,15 @@ func init() {
|
||||
Filters: nil,
|
||||
Params: nil})
|
||||
|
||||
beego.GlobalControllerRouter["git.rosy.net.cn/jx-callback/controllers:JxOrderController"] = append(beego.GlobalControllerRouter["git.rosy.net.cn/jx-callback/controllers:JxOrderController"],
|
||||
beego.ControllerComments{
|
||||
Method: "RefreshAllMatterOrderStatus",
|
||||
Router: `/RefreshAllMatterOrderStatus`,
|
||||
AllowHTTPMethods: []string{"put"},
|
||||
MethodParams: param.Make(),
|
||||
Filters: nil,
|
||||
Params: nil})
|
||||
|
||||
beego.GlobalControllerRouter["git.rosy.net.cn/jx-callback/controllers:JxShopController"] = append(beego.GlobalControllerRouter["git.rosy.net.cn/jx-callback/controllers:JxShopController"],
|
||||
beego.ControllerComments{
|
||||
Method: "JxMsg",
|
||||
|
||||
Reference in New Issue
Block a user