Browse Source

no message

xingzai 5 months ago
parent
commit
613ba5fce2
1 changed files with 1 additions and 2 deletions
  1. 1 2
      services/ficc_report.go

+ 1 - 2
services/ficc_report.go

@@ -117,9 +117,8 @@ func GetReportDetail(userinfo *models.WxUserItem, reportId int) (reportDetail fi
 				hasPermission = 2
 			}
 		} else {
-			var articlePermissionName string
 			var hasPersion bool
-			slice := strings.Split(articlePermissionName, ",")
+			slice := strings.Split(companyPermission, ",")
 			if utils.InArrayByStr(slice, "周期") {
 				hasPersion = true
 			}