用户登录的时候,校验用户是否已经注册,以及未注册的注册接口

This commit is contained in:
clunt 2022-05-19 16:21:50 +08:00
parent f1b54cd54b
commit f3eedeb667
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ public class WxController extends BaseController {
@PostMapping("/addUser")
@ResponseBody
public AjaxResult addUser(Customer customer){
public AjaxResult addUser(@RequestBody Customer customer){
try {
int result = customerService.insertCustomer(customer);
if(result>0){