|
|
@ -460,16 +460,15 @@ public class PointsLogsServiceImpl extends BaseServiceImpl<PointsLogsDao, Points |
|
|
|
if (!userById.success()) { |
|
|
|
return new Result().error("获取用户信息失败"); |
|
|
|
} |
|
|
|
// 保存积分日志
|
|
|
|
PointsLogsEntity pointsLogsEntity = packagePointsLogs(userById.getData(), formDto); |
|
|
|
this.insert(pointsLogsEntity); |
|
|
|
|
|
|
|
Result<UserDTO> result = usersFeignClient.handleUserPoints(userPointsFormDTO); |
|
|
|
if (!result.success()) { |
|
|
|
return new Result().error(result.getMsg()); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// 保存积分日志
|
|
|
|
PointsLogsEntity pointsLogsEntity = packagePointsLogs(userById.getData(), formDto); |
|
|
|
this.insert(pointsLogsEntity); |
|
|
|
|
|
|
|
return new Result(); |
|
|
|
} |
|
|
|