zhangjinli 3 years ago
parent 3b99da80b5
commit e5701f35d0

@ -50,10 +50,7 @@ public class UserUController {
} }
String token = new JwtUtil().createJWT(openid); String token = new JwtUtil().createJWT(openid);
userService.updByOpenid(openid, token, LocalDateTime.now()); userService.updByOpenid(openid, token, LocalDateTime.now());
Map map = new HashMap(); return Result.success(u);
map.put("token", token);
map.put("user", u);
return Result.success(map);
} }
@Operation(summary = "小程序注册", parameters = { @Operation(summary = "小程序注册", parameters = {

Loading…
Cancel
Save