新增上上签个人用户注册功能

This commit is contained in:
gy b
2023-10-05 12:25:52 +08:00
parent 66ac29f692
commit 7afc024819
9 changed files with 958 additions and 0 deletions
@@ -0,0 +1,30 @@
package com.ruoyi.web.controller.bestsign;
import com.ruoyi.bestsign.domain.PersonRegisterVO;
import com.ruoyi.bestsign.service.SignRegisterService;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.wisdomarbitrate.domain.CaseApplication;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
@RequestMapping("/register")
public class RegisterController {
@Autowired
SignRegisterService signRegisterService;
/**
* 注册上上签个人用户
*
* @param personRegisterVO
* @return
*/
@PostMapping("/registerPerson")
public AjaxResult createDocument(@Validated @RequestBody PersonRegisterVO personRegisterVO) {
return signRegisterService.registerPerson(personRegisterVO);
}
}