quick-login插件新增拦截与放行路径配置

This commit is contained in:
click33
2021-07-09 20:41:35 +08:00
parent 936dfe333d
commit 0bc8982212
6 changed files with 37 additions and 20 deletions

View File

@@ -80,6 +80,12 @@ public class SaResult implements Serializable{
public static SaResult error(String msg) {
return new SaResult(CODE_ERROR, msg, null);
}
// 构建指定状态码
public static SaResult get(int code, String msg, Object data) {
return new SaResult(code, msg, data);
}
/* (non-Javadoc)
* @see java.lang.Object#toString()