Merge branch 'gray' into test6.9.1
Showing
5 changed files
with
10 additions
and
5 deletions
@@ -49,6 +49,7 @@ public class UrlInterceptor implements HandlerInterceptor { | @@ -49,6 +49,7 @@ public class UrlInterceptor implements HandlerInterceptor { | ||
49 | 49 | ||
50 | 50 | ||
51 | if ("XYZ".equals(request.getParameter("debug"))) { // 为了测试留的免登陆 | 51 | if ("XYZ".equals(request.getParameter("debug"))) { // 为了测试留的免登陆 |
52 | + log.info("find XYZ url is {}.",url); | ||
52 | return true; | 53 | return true; |
53 | } | 54 | } |
54 | 55 |
@@ -25,7 +25,7 @@ import java.util.Map; | @@ -25,7 +25,7 @@ import java.util.Map; | ||
25 | public class LoginController { | 25 | public class LoginController { |
26 | private static final Logger logger = LoggerFactory.getLogger("erpService"); | 26 | private static final Logger logger = LoggerFactory.getLogger("erpService"); |
27 | 27 | ||
28 | - private static final int SESSION_TIMEOUT_SECONDS = 4 * 60 * 60; | 28 | + private static final int SESSION_TIMEOUT_SECONDS = 3 * 60 * 60; |
29 | 29 | ||
30 | @Resource | 30 | @Resource |
31 | private LoginService loginService; | 31 | private LoginService loginService; |
@@ -103,7 +103,7 @@ | @@ -103,7 +103,7 @@ | ||
103 | </update> | 103 | </update> |
104 | 104 | ||
105 | <select id="selectByTime" resultMap="BaseResultMap"> | 105 | <select id="selectByTime" resultMap="BaseResultMap"> |
106 | - select id, order_code, start_time, end_time, camera_code from qiniu_live_record | 106 | + select id, order_code, start_time, end_time, camera_code, create_time from qiniu_live_record |
107 | where create_time >= #{startTime, jdbcType=INTEGER} and create_time < #{endTime, jdbcType=INTEGER} and show_flag = 1 | 107 | where create_time >= #{startTime, jdbcType=INTEGER} and create_time < #{endTime, jdbcType=INTEGER} and show_flag = 1 |
108 | </select> | 108 | </select> |
109 | </mapper> | 109 | </mapper> |
@@ -428,12 +428,16 @@ public class BuyerOrderController { | @@ -428,12 +428,16 @@ public class BuyerOrderController { | ||
428 | } | 428 | } |
429 | 429 | ||
430 | @RequestMapping(value = "/getSfWaybillCode") | 430 | @RequestMapping(value = "/getSfWaybillCode") |
431 | - public ApiResponse getSfWaybillCode(BuyerOrderReq req) { | 431 | + public ApiResponse generateSfWaybillCode(BuyerOrderReq req) { |
432 | LOGGER.info("getSfWaybillCode in. param is {}", req); | 432 | LOGGER.info("getSfWaybillCode in. param is {}", req); |
433 | if(StringUtils.isEmpty(req.getOrderCode()) || null == req.getPayMethod()) { | 433 | if(StringUtils.isEmpty(req.getOrderCode()) || null == req.getPayMethod()) { |
434 | return new ApiResponse.ApiResponseBuilder().code(400).data("").message("订单号或付款方式不能为空").build(); | 434 | return new ApiResponse.ApiResponseBuilder().code(400).data("").message("订单号或付款方式不能为空").build(); |
435 | } | 435 | } |
436 | JSONObject result = buyerOrderService.getSfWaybillCode(req); | 436 | JSONObject result = buyerOrderService.getSfWaybillCode(req); |
437 | + | ||
438 | + | ||
439 | + LOGGER.info("getSfWaybillCode out. param is {}, result is {}", req, result); | ||
440 | + | ||
437 | if(null == result) { | 441 | if(null == result) { |
438 | return new ApiResponse.ApiResponseBuilder().code(500).message("查询失败").data(result).build(); | 442 | return new ApiResponse.ApiResponseBuilder().code(500).message("查询失败").data(result).build(); |
439 | }else if(null != result.getInteger("code") && result.getIntValue("code") != 200) { | 443 | }else if(null != result.getInteger("code") && result.getIntValue("code") != 200) { |
@@ -1796,8 +1796,8 @@ public class BuyerOrderServiceImpl implements IBuyerOrderService { | @@ -1796,8 +1796,8 @@ public class BuyerOrderServiceImpl implements IBuyerOrderService { | ||
1796 | Map<String, String> addressMap = subAddress(appraiseAddress); | 1796 | Map<String, String> addressMap = subAddress(appraiseAddress); |
1797 | 1797 | ||
1798 | //寄件人信息 | 1798 | //寄件人信息 |
1799 | - jsonObj.put("jCompany", "Yoho!Buy有货"); | ||
1800 | - jsonObj.put("jContact", "Yoho!Buy有货"); | 1799 | + jsonObj.put("jCompany", "UFO鉴定中心"); |
1800 | + jsonObj.put("jContact", "UFO鉴定中心"); | ||
1801 | jsonObj.put("jTel", "4008899646"); | 1801 | jsonObj.put("jTel", "4008899646"); |
1802 | jsonObj.put("jMobile", "4008899646"); | 1802 | jsonObj.put("jMobile", "4008899646"); |
1803 | jsonObj.put("jCountry", "中国"); | 1803 | jsonObj.put("jCountry", "中国"); |
-
Please register or login to post a comment