门店红线警告
This commit is contained in:
@@ -462,12 +462,14 @@ func (c *StoreController) GetWeeklyStoreScore() {
|
||||
// @Param token header string true "认证token"
|
||||
// @Param storeIDs formData string false "京西门店ID列表"
|
||||
// @Param cityCode formData int false "城市编码"
|
||||
// @Param keyWord formData string false "关键字"
|
||||
// @Param keyword formData string false "关键字"
|
||||
// @Param beginTime formData string true "开始日期"
|
||||
// @Param endTime formData string true "结束日期"
|
||||
// @Param isDesc formData bool true "是否降序"
|
||||
// @Param checkScoreLow formData int false "在某个分数范围-低"
|
||||
// @Param checkScoreHigh formData int false "在某个分数范围-高"
|
||||
// @Param offset formData int false "列表起始序号(以0开始,缺省为0)"
|
||||
// @Param pageSize formData int false "列表页大小(缺省为50,-1表示全部)"
|
||||
// @Success 200 {object} controllers.CallResult
|
||||
// @Failure 200 {object} controllers.CallResult
|
||||
// @router /GetStoreTotalScoreList [post]
|
||||
@@ -477,7 +479,7 @@ func (c *StoreController) GetStoreTotalScoreList() {
|
||||
if err == nil {
|
||||
var storeIDList []int
|
||||
if err = jxutils.Strings2Objs(params.StoreIDs, &storeIDList); err == nil {
|
||||
retVal, err = misc.GetStoreTotalScoreList(storeIDList, params.CityCode, params.KeyWord, timeList[0], timeList[1], params.IsDesc, params.CheckScoreLow, params.CheckScoreHigh)
|
||||
retVal, err = misc.GetStoreTotalScoreList(storeIDList, params.CityCode, params.Keyword, timeList[0], timeList[1], params.IsDesc, params.CheckScoreLow, params.CheckScoreHigh, params.Offset, params.PageSize)
|
||||
}
|
||||
}
|
||||
return retVal, "", err
|
||||
|
||||
@@ -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
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user