接口增加ctx
This commit is contained in:
@@ -1232,7 +1232,7 @@ func GetHalfHoursList() (strs []string) {
|
||||
return strs
|
||||
}
|
||||
|
||||
func RefreshAllMatterOrderStatus() (err error) {
|
||||
func RefreshAllMatterOrderStatus(ctx *jxcontext.Context) (err error) {
|
||||
var (
|
||||
db = dao.GetDB()
|
||||
goodsList []*model.GoodsOrder
|
||||
|
||||
@@ -183,7 +183,7 @@ func (c *JxOrderController) GetMatterOrderStatus() {
|
||||
// @router /RefreshAllMatterOrderStatus [put]
|
||||
func (c *JxOrderController) RefreshAllMatterOrderStatus() {
|
||||
c.callRefreshAllMatterOrderStatus(func(params *tJxorderRefreshAllMatterOrderStatusParams) (retVal interface{}, errCode string, err error) {
|
||||
err = localjx.RefreshAllMatterOrderStatus()
|
||||
err = localjx.RefreshAllMatterOrderStatus(params.Ctx)
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user