|
@@ -145,6 +145,14 @@ public class InnerAPIController extends BaseController {
|
|
|
if(StringUtils.isBlank(param.getRyId()) && StringUtils.isBlank(param.getRyNo())){
|
|
|
throw new BusinessException(ResultCode.MISSING_REQUIRED_PARAMETERS);
|
|
|
}
|
|
|
+ if(StringUtils.isBlank(param.getNum())){
|
|
|
+ throw new BusinessException(ResultCode.MISSING_REQUIRED_PARAMETERS);
|
|
|
+ }
|
|
|
+ JySceneAuth jySceneAuth = jySceneAuthService.getByNum(param.getNum());
|
|
|
+ if(jySceneAuth == null){
|
|
|
+ return ResultData.ok(PageInfo.PageInfoEmpty(param.getPageNum(),param.getPageSize()));
|
|
|
+ }
|
|
|
+ param.setAuthType(jySceneAuth.getAuthType());
|
|
|
return ResultData.ok(jySceneUserAuthService.getAuthList(param));
|
|
|
}
|
|
|
|