fix(order): 添加异常堆栈打印

This commit is contained in:
micrograils
2026-06-13 17:45:42 +08:00
parent fdbe11f5e1
commit f22fb6b9e7

View File

@@ -137,6 +137,7 @@ public class OrderController {
result.put("msg", ok ? "取消成功" : "取消失败");
return result;
} catch (Exception e) {
e.printStackTrace();
Map<String, Object> err = new HashMap<>();
err.put("code", -1);
err.put("msg", "系统错误:" + e.getMessage());