fix(order): 添加异常堆栈打印
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user