修改查询列表的权限

This commit is contained in:
sh
2025-11-21 17:02:12 +08:00
parent ee9af47af6
commit 85478f7378
4 changed files with 4 additions and 4 deletions

View File

@@ -37,7 +37,7 @@ public class JobFairController extends BaseController
* 查询招聘会信息列表 * 查询招聘会信息列表
*/ */
@ApiOperation("查询招聘会信息列表") @ApiOperation("查询招聘会信息列表")
@PreAuthorize("@ss.hasPermi('app:fair:list')") @PreAuthorize("@ss.hasPermi('jobfair:list:list')")
@GetMapping("/list") @GetMapping("/list")
public TableDataInfo list(JobFair jobFair) public TableDataInfo list(JobFair jobFair)
{ {

View File

@@ -9,7 +9,7 @@ import java.util.stream.Collectors;
public class StringUtil { public class StringUtil {
/*1101(求职者)、1102(招聘者)、1103(网格员)、1104(内部工作者)*/ /*1101(求职者)、1102(招聘者)、1103(网格员)、1104(内部工作者)*/
public static final Long COMPANY_ADMIN_ROLE_KEY = 1002L; public static final Long COMPANY_ADMIN_ROLE_KEY = 1102L;
/** /**
* 企业用户 * 企业用户

View File

@@ -249,7 +249,7 @@ public class WechatUtil {
try { try {
System.out.println("appid==============="+appid); System.out.println("appid==============="+appid);
System.out.println("secret================"+secret); System.out.println("secret================"+secret);
String response = getAccessData("https://api.weixin.qq.com/sns/jscode2session?appid="+appid+"&secret="+secret+"&js_code="+code+"&grant_type=authorization_code"); String response = getAccessData("http://192.168.2.102:10044/weixin?appid="+appid+"&secret="+secret+"&js_code="+code+"&grant_type=authorization_code");
JSONObject result = JSONObject.parseObject(response); JSONObject result = JSONObject.parseObject(response);
// 微信返回错误码处理 // 微信返回错误码处理
if (result.containsKey("errcode") && result.getInteger("errcode") != 0) { if (result.containsKey("errcode") && result.getInteger("errcode") != 0) {

View File

@@ -68,7 +68,7 @@ public class UserConstants
* 用户名长度限制 * 用户名长度限制
*/ */
public static final int USERNAME_MIN_LENGTH = 2; public static final int USERNAME_MIN_LENGTH = 2;
public static final int USERNAME_MAX_LENGTH = 20; public static final int USERNAME_MAX_LENGTH = 50;
/** /**
* 密码长度限制 * 密码长度限制