新增上上签个人用户注册功能
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user