Skip to content

Commit

Permalink
UserController 修改插入用户返回数据
Browse files Browse the repository at this point in the history
  • Loading branch information
suvvm committed Dec 1, 2019
1 parent 8d60cfc commit 22b0119
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public String insertUser(HttpServletRequest request) {
int res = 0;
res = userMapper.insertUser(user);
if(res > 0){
return "success";
return JSON.toJSONString(user);
}
return "error";
}
Expand Down

0 comments on commit 22b0119

Please sign in to comment.