perf:调整消息日志相关代码
This commit is contained in:
@@ -129,6 +129,19 @@ public class ApiResp<T> {
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 130错误
|
||||
*
|
||||
* @param msg
|
||||
* @return
|
||||
*/
|
||||
public static ApiResp<String> resp130(String msg) {
|
||||
ApiResp<String> result = new ApiResp<>();
|
||||
result.code = 130;
|
||||
result.message = msg;
|
||||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
* 是否成功
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user