记得上下班打卡 | git大法好,push需谨慎

Commit a8257bc5 authored by jiangxiulong's avatar jiangxiulong

test message

parent 1a79776d
...@@ -174,13 +174,14 @@ public class KylinOrderRefundAdminController extends BaseController { ...@@ -174,13 +174,14 @@ public class KylinOrderRefundAdminController extends BaseController {
} }
} catch (Exception e) { } catch (Exception e) {
String message = e.getMessage(); String message = e.getMessage();
String[] msg = e.getMessage().split(" "); return error(message);
/*String[] msg = e.getMessage().split(" ");
if (msg.length>0 && null != msg[3]) { if (msg.length>0 && null != msg[3]) {
String msgStr = UnicodeUtil.toString(msg[3]); String msgStr = UnicodeUtil.toString(msg[3]);
Map msgMap = JsonUtils.fromJson(msgStr.replace("[", "").replace("]", ""), Map.class); Map msgMap = JsonUtils.fromJson(msgStr.replace("[", "").replace("]", ""), Map.class);
message = msgMap.get("message").toString(); message = msgMap.get("message").toString();
} }
return error(message); return error(message);*/
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment