修改干扰源用户状态
This commit is contained in:
@@ -19,4 +19,7 @@ public interface UserReportFeignClient {
|
||||
@GetMapping("/updateUserReportStatus")
|
||||
HttpResult<Object> updateUserReportStatus(@RequestParam("businessKey") String businessKey, @RequestParam("status")Integer status);
|
||||
|
||||
@GetMapping("/updateUserStatus")
|
||||
HttpResult<Object> updateUserStatus(String businessKey,Integer userStatus) ;
|
||||
|
||||
}
|
||||
|
||||
@@ -32,6 +32,12 @@ public class UserReportFeignClientFallbackFactory implements FallbackFactory<Use
|
||||
log.error("{}异常,降级处理,异常为:{}", "更新用户数据流程状态", throwable.toString());
|
||||
throw new BusinessException(finalExceptionEnum);
|
||||
}
|
||||
|
||||
@Override
|
||||
public HttpResult<Object> updateUserStatus(String businessKey, Integer userStatus) {
|
||||
log.error("{}异常,降级处理,异常为:{}", "更新干扰源用户状态", throwable.toString());
|
||||
throw new BusinessException(finalExceptionEnum);
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user