...
|
...
|
@@ -34,25 +34,4 @@ public class ChannelReportFormRest { |
|
|
return new ApiResponse.ApiResponseBuilder().code(500).message("error").build();
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@RequestMapping("/getUidAuth")
|
|
|
@ResponseBody
|
|
|
public ApiResponse getUidAuth(Integer uid){
|
|
|
logger.info("enter getUidAuth. param uid={}", uid);
|
|
|
try {
|
|
|
int status = channelReportFormService.getUidStatus(uid);
|
|
|
String ret = null;
|
|
|
if (0 == status)
|
|
|
{
|
|
|
ret = "No";
|
|
|
|
|
|
} else if (1 == status){
|
|
|
ret = "Yes";
|
|
|
}
|
|
|
return new ApiResponse.ApiResponseBuilder().code(200).data(ret).message("success").build();
|
|
|
} catch (Exception e){
|
|
|
logger.warn("getUidAuth occurs Exception e {}",e.getMessage());
|
|
|
return new ApiResponse.ApiResponseBuilder().code(500).message("error").build();
|
|
|
}
|
|
|
}
|
|
|
} |
...
|
...
|
|