修改微信登录方法-未调用,需要测试
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
package com.ruoyi.framework.web.exception;
|
||||
|
||||
/**
|
||||
* 参数校验错误常量类
|
||||
* 集中管理参数校验的错误码和错误信息
|
||||
*/
|
||||
public class ParamErrorConstants {
|
||||
// 基础参数错误
|
||||
public static final String PARAM_NULL_MSG = "请求参数不能为空";
|
||||
|
||||
// 微信授权码错误
|
||||
public static final String CODE_EMPTY_MSG = "微信授权码不能为空";
|
||||
|
||||
//用户类型
|
||||
public static final String USER_TYPE_INVALID_MSG = "用户类型无效(仅支持0-个人/1-企业)";
|
||||
|
||||
// 手机号加密数据错误
|
||||
public static final String ENCRYPTED_DATA_EMPTY_MSG = "手机号加密数据不能为空";
|
||||
|
||||
// 加密向量错误
|
||||
public static final String IV_EMPTY_MSG = "加密向量不能为空";
|
||||
|
||||
// 新增日志常量(放在 ParamErrorConstants 或单独的 LogConstants 中)
|
||||
public static final String LOG_AJAX_RETURN = "返回ajax=====================================";
|
||||
|
||||
// 私有化构造器,禁止实例化
|
||||
private ParamErrorConstants() {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user