|
|
@@ -84,7 +84,7 @@ public class PatientOperationController {
|
|
|
*/
|
|
|
@PostMapping("/save")
|
|
|
@ApiOperation(value = "发起添加看护人申请")
|
|
|
- public R<Boolean> saveMonitor(@RequestBody@Validated MonitorAddVo vo){
|
|
|
+ public R<Boolean> saveMonitor(@RequestBody MonitorAddVo vo){
|
|
|
if(ApplyEnum.INVITE_CODE.equals(vo.getApplyType())&& StrUtil.isEmpty(vo.getInviteCode())){
|
|
|
throw new CustomException("邀请码不能为空");
|
|
|
}
|