mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 02:55:04 +08:00
打印日志
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package com.jsowell.api.uniapp;
|
||||
|
||||
import com.alibaba.fastjson2.JSON;
|
||||
import com.alibaba.fastjson2.JSONObject;
|
||||
import com.jsowell.adapay.dto.BalancePaymentRequestDTO;
|
||||
import com.jsowell.adapay.service.AdapayMemberService;
|
||||
@@ -193,6 +194,7 @@ public class TempController extends BaseController {
|
||||
*/
|
||||
@PostMapping("/orderSplittingOperations")
|
||||
public RestApiResponse<?> orderSplittingOperations(@RequestBody QueryOrderDTO dto) {
|
||||
logger.info("手动接口执行订单分账逻辑-param:{}", JSON.toJSONString(dto));
|
||||
RestApiResponse<?> response = null;
|
||||
try {
|
||||
String startTime = dto.getStartTime();
|
||||
@@ -207,13 +209,13 @@ public class TempController extends BaseController {
|
||||
|
||||
response = new RestApiResponse<>();
|
||||
} catch (BusinessException e) {
|
||||
logger.warn("运营商分账手动接口warn", e);
|
||||
logger.warn("手动接口执行订单分账逻辑-warn", e);
|
||||
response = new RestApiResponse<>(e.getCode(), e.getMessage());
|
||||
} catch (Exception e) {
|
||||
logger.error("运营商分账手动接口error", e);
|
||||
logger.error("手动接口执行订单分账逻辑-error", e);
|
||||
response = new RestApiResponse<>(ReturnCodeEnum.CODE_WEIXIN_REFUND_ERROR);
|
||||
}
|
||||
logger.info("运营商分账手动接口result:{}", JSONObject.toJSONString(response));
|
||||
logger.info("手动接口执行订单分账逻辑-result:{}", JSONObject.toJSONString(response));
|
||||
return response;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user