浏览代码

no message

zhangchuanxing 2 周之前
父节点
当前提交
2f317e6039
共有 1 个文件被更改,包括 8 次插入2 次删除
  1. 8 2
      services/user.go

+ 8 - 2
services/user.go

@@ -835,11 +835,17 @@ func GetUserhasPermissionReportSelection(user *models.WxUserItem) (hasPermission
 			hasPermission = 1
 		} else {
 			if applyCount > 0 {
-				hasPermission = 3
+				hasPermission = 5
 			} else {
-				hasPermission = 4
+				hasPermission = 2
 			}
 		}
+	} else {
+		if applyCount > 0 {
+			hasPermission = 5
+		} else {
+			hasPermission = 4
+		}
 	}
 	return
 }