|
@@ -605,7 +605,7 @@ public class XiaoJuServiceImpl implements XiaoJuService {
|
|
|
List<AllowancePromotionInfo> response = queryClient.promotion().queryOrderPromotionList(request);
|
|
|
apiLog.setResponse(JSONUtil.toJsonStr(response));
|
|
|
apiLogDao.save(apiLog);
|
|
|
- return ResultContent.build(ResultState.Success, response);
|
|
|
+ return ResultContent.build(ResultState.Success, response == null ? List.of() : response);
|
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
|
apiLog.setResponse(e.getCause().getCause().getMessage());
|