@@ -96,14 +96,14 @@ func (this *ReportSelectionController) Detail() {
if detail.VisibleRange == 1 || user.CompanyId == utils.HZ_COMPANY_ID {
resp.IsShow = true
}
+ resp.HasPermission = hasPermission
if !resp.IsShow {
- br.Ret = 200
+ br.Ret = 201
br.Success = true
br.Msg = "获取成功"
br.Data = resp
return
- resp.HasPermission = hasPermission
if hasPermission != 1 || !resp.IsShow {
resp.Detail = detail
br.Ret = 200