接口增加ctx

This commit is contained in:
苏尹岚
2020-03-23 11:30:50 +08:00
parent d35063bed2
commit a1d2a6b9d2
2 changed files with 2 additions and 2 deletions

View File

@@ -1232,7 +1232,7 @@ func GetHalfHoursList() (strs []string) {
return strs return strs
} }
func RefreshAllMatterOrderStatus() (err error) { func RefreshAllMatterOrderStatus(ctx *jxcontext.Context) (err error) {
var ( var (
db = dao.GetDB() db = dao.GetDB()
goodsList []*model.GoodsOrder goodsList []*model.GoodsOrder

View File

@@ -183,7 +183,7 @@ func (c *JxOrderController) GetMatterOrderStatus() {
// @router /RefreshAllMatterOrderStatus [put] // @router /RefreshAllMatterOrderStatus [put]
func (c *JxOrderController) RefreshAllMatterOrderStatus() { func (c *JxOrderController) RefreshAllMatterOrderStatus() {
c.callRefreshAllMatterOrderStatus(func(params *tJxorderRefreshAllMatterOrderStatusParams) (retVal interface{}, errCode string, err error) { c.callRefreshAllMatterOrderStatus(func(params *tJxorderRefreshAllMatterOrderStatusParams) (retVal interface{}, errCode string, err error) {
err = localjx.RefreshAllMatterOrderStatus() err = localjx.RefreshAllMatterOrderStatus(params.Ctx)
return retVal, "", err return retVal, "", err
}) })
} }