You've already forked FrameTour-BE
默认景区登录问题
This commit is contained in:
@@ -71,6 +71,9 @@ public class AppMemberServiceImpl implements AppMemberService {
|
||||
|
||||
@Override
|
||||
public ApiResponse login(Long scenicId, String code, WeChatUserInfoDTO userInfoDTO) throws Exception {
|
||||
if (scenicId == null) {
|
||||
scenicId = 3930324797233434624L;
|
||||
}
|
||||
Map<String, Object> weixinResponse = this.getOpenId(scenicId, code);
|
||||
if (CollectionUtils.isEmpty(weixinResponse)) {
|
||||
throw new AppException(BizCodeEnum.SERVER_INTERNAL_ERROR);
|
||||
|
Reference in New Issue
Block a user