|
@@ -73,7 +73,7 @@ public class VersionInfoFacade extends VersionInfoServiceImpl {
|
|
|
Map<String, String> userNames = new HashMap<>();
|
|
|
if (modifierid.size() > 0) {
|
|
|
RespDTO<Map<String, String>> userNamesDTO = userServiceClient.getUserInfoByIds(modifierid);
|
|
|
- if (userNamesDTO == null || !"0".equals(userNamesDTO.code)) {
|
|
|
+ if (userNamesDTO == null || !CommonErrorCode.OK.getCode().equals(userNamesDTO.code)) {
|
|
|
throw new CommonException(CommonErrorCode.SERVER_IS_ERROR, "获取所有用户信息失败");
|
|
|
}
|
|
|
userNames = userNamesDTO.data;
|