门店红线警告

This commit is contained in:
Rosy-zhudan
2019-09-27 10:36:34 +08:00
parent 326990cd18
commit a7b2dc3abd
9 changed files with 540 additions and 21 deletions

View File

@@ -341,3 +341,17 @@ func (c *TempOpController) CreateConsumerFromOrders() {
return retVal, "", err
})
}
// @Title 触犯红线通知
// @Description 触犯红线通知
// @Param token header string true "认证token"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /CheckStoreAlert [post]
func (c *TempOpController) CheckStoreAlert() {
c.callCheckStoreAlert(func(params *tTempopCheckStoreAlertParams) (retVal interface{}, errCode string, err error) {
misc.CheckStoreAlert(params.Ctx)
return retVal, "", err
})
}