feat: 公众号开发

This commit is contained in:
hucs
2024-03-27 23:01:15 +08:00
parent 0ebf6cd3aa
commit 534e6d93fb
10 changed files with 278 additions and 141 deletions

View File

@@ -41,7 +41,7 @@ public class GlobalExceptionHandler {
public R handleRuntimeException(RuntimeException e, HttpServletRequest request) {
String requestUrl = request.getRequestURI();
log.error("请求地址'{}',发生未知异常.", requestUrl, e);
return R.error("系统发生未知异常,请联系管理员");
return R.error(e.getMessage());
}
/**