打印日志

This commit is contained in:
Guoqs
2024-09-06 13:40:54 +08:00
parent f42895f463
commit 0255923a97
2 changed files with 1 additions and 5 deletions

View File

@@ -88,10 +88,6 @@
<artifactId>commons-compress</artifactId> <artifactId>commons-compress</artifactId>
<groupId>org.apache.commons</groupId> <groupId>org.apache.commons</groupId>
</exclusion> </exclusion>
<exclusion>
<artifactId>fastjson</artifactId>
<groupId>com.alibaba</groupId>
</exclusion>
</exclusions> </exclusions>
</dependency> </dependency>

View File

@@ -120,7 +120,7 @@ public class OccupyOrderController extends BaseController {
Map<String, Object> map = orderPileOccupyService.queryUnPayOrder(memberId); Map<String, Object> map = orderPileOccupyService.queryUnPayOrder(memberId);
response = new RestApiResponse<>(map); response = new RestApiResponse<>(map);
} catch (BusinessException e) { } catch (BusinessException e) {
logger.error("查询用户是否有未支付的占桩订单 error", e); logger.error("查询用户是否有未支付的占桩订单:{} error", e.getMessage());
response = new RestApiResponse<>(e.getCode(), e.getMessage()); response = new RestApiResponse<>(e.getCode(), e.getMessage());
} catch (Exception e) { } catch (Exception e) {
logger.error("查询用户是否有未支付的占桩订单 error", e); logger.error("查询用户是否有未支付的占桩订单 error", e);