修改BUG

This commit is contained in:
songmingsong
2024-12-10 10:36:37 +08:00
parent 45d66d01e6
commit c5977252fc
5 changed files with 39 additions and 13 deletions

View File

@ -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);
}
/**