|
@@ -639,15 +639,15 @@ func (this *MobileReportController) List() {
|
|
|
list[k].IsRed = true
|
|
|
}
|
|
|
}
|
|
|
- if categoryId > 0 {
|
|
|
- detail, errCategory := models.GetdetailByCategoryId(categoryId)
|
|
|
- if errCategory != nil {
|
|
|
- br.Msg = "获取信息失败"
|
|
|
- br.ErrMsg = "获取信息失败,Err:" + errCategory.Error() + "categoryID 不存在:" + strconv.Itoa(categoryId)
|
|
|
- return
|
|
|
- }
|
|
|
- resp.MatchTypeName = detail.MatchTypeName
|
|
|
- }
|
|
|
+ //if categoryId > 0 {
|
|
|
+ // detail, errCategory := models.GetdetailByCategoryId(categoryId)
|
|
|
+ // if errCategory != nil {
|
|
|
+ // br.Msg = "获取信息失败"
|
|
|
+ // br.ErrMsg = "获取信息失败,Err:" + errCategory.Error() + "categoryID 不存在:" + strconv.Itoa(categoryId)
|
|
|
+ // return
|
|
|
+ // }
|
|
|
+ // resp.MatchTypeName = detail.MatchTypeName
|
|
|
+ //}
|
|
|
//resp.CategoryImgUrlPc = mapChartPermission[detail.ChartPermissionName]
|
|
|
}
|
|
|
|