|
|
@ -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 = {
|
|
|
|