You've already forked FrameTour-BE
修改BUG
This commit is contained in:
@ -28,7 +28,6 @@ public class AppMemberController {
|
||||
/**
|
||||
* 登录
|
||||
*
|
||||
* @param code
|
||||
* @param userInfoDTO
|
||||
* @return
|
||||
* @throws Exception
|
||||
@ -36,9 +35,8 @@ public class AppMemberController {
|
||||
@ApiOperation("登录")
|
||||
@PostMapping("/login")
|
||||
@IgnoreToken
|
||||
public ApiResponse<?> login(@RequestParam(value = "code") String code,
|
||||
@RequestParam(value = "userInfoDTO") WeChatUserInfoDTO userInfoDTO) throws Exception {
|
||||
return memberService.login(code, userInfoDTO);
|
||||
public ApiResponse<?> login(@RequestBody WeChatUserInfoDTO userInfoDTO) throws Exception {
|
||||
return memberService.login(userInfoDTO.getCode(), userInfoDTO);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user