You've already forked FrameTour-BE
支持没有景区登录
This commit is contained in:
@@ -38,7 +38,12 @@ public class AppMemberController {
|
||||
}
|
||||
@PostMapping("/undefined/login")
|
||||
@IgnoreToken
|
||||
public ApiResponse<?> login(@RequestBody WeChatUserInfoDTO userInfoDTO) throws Exception {
|
||||
public ApiResponse<?> loginUndefined(@RequestBody WeChatUserInfoDTO userInfoDTO) throws Exception {
|
||||
return memberService.login(null, userInfoDTO.getCode(), userInfoDTO);
|
||||
}
|
||||
@PostMapping({"//login", "/login"})
|
||||
@IgnoreToken
|
||||
public ApiResponse<?> loginNoScenicId(@RequestBody WeChatUserInfoDTO userInfoDTO) throws Exception {
|
||||
return memberService.login(null, userInfoDTO.getCode(), userInfoDTO);
|
||||
}
|
||||
|
||||
@@ -77,4 +82,4 @@ public class AppMemberController {
|
||||
return memberService.getScenicServiceNoticeStatus(scenicId);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user