用户登录的时候,校验用户是否已经注册,以及未注册的注册接口
This commit is contained in:
parent
f1b54cd54b
commit
f3eedeb667
|
|
@ -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){
|
||||
|
|
|
|||
Loading…
Reference in New Issue