|
@@ -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
|
|
|
}
|