Browse Source

feat: 发送财务验证码1

shc 2 years ago
parent
commit
f4587612bf

+ 5 - 5
hnqz-upms/hnqz-upms-biz/src/main/java/com/qunzhixinxi/hnqz/admin/controller/MobileController.java

@@ -75,11 +75,11 @@ public class MobileController {
 	public R<?> sendSmsCodeForFina() {
 
 
-		List<Integer> roles = SecurityUtils.getRoles();
-
-		if (!roles.contains(FINA_ROLE_CODE)) {
-			return R.failed("请联系管理员开通财务管理员权限");
-		}
+		// List<Integer> roles = SecurityUtils.getRoles();
+		//
+		// if (!roles.contains(FINA_ROLE_CODE)) {
+		// 	return R.failed("请联系管理员开通财务管理员权限");
+		// }
 
 		HnqzUser user = SecurityUtils.getUser();