Commit 7e6d8cc0 by weijiguang

添加错误日志

parent abaaa24e
package com.soss.web.controller.coffee;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.soss.common.annotation.Log;
import com.soss.common.constant.HttpStatus;
......@@ -123,12 +124,14 @@ public class OrderController extends BaseController {
AjaxResult result = check(order);
if (HttpStatus.SUCCESS != (int) result.get(result.CODE_TAG)) {
log.error("error order:" + JSON.toJSONString(order));
return result;
}
try {
orderService.checkShopInfo(order);
} catch (ServiceException e) {
log.error("error order:" + JSON.toJSONString(order));
return AjaxResult.error(e.getMessage());
}
......
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