Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

下载demo, 配置完成后还是需要二次登陆 #28

Open
MdWhat opened this issue Mar 13, 2021 · 2 comments
Open

下载demo, 配置完成后还是需要二次登陆 #28

MdWhat opened this issue Mar 13, 2021 · 2 comments

Comments

@MdWhat
Copy link

MdWhat commented Mar 13, 2021

登陆的时候先调用了
https://account.youzan.com/api/login/native/open/login-or-register.json
然后再调用sdk的函数

 [YZSDK.shared loginWithOpenUserId:info[@"data"][@"yz_open_id"] avatar:@"" extra:@"" nickName:@"" gender:2 andCompletion:^(BOOL isSuccess, NSString * _Nullable yzOpenId) {

            if (!isSuccess) {
                NSLog(@"loginWithOpenUserId 失败");
                return;
            }
            dispatch_async(dispatch_get_main_queue(), ^{
                [self dismissViewControllerAnimated:YES completion:^{
                    [self callBlockWithResult:YES];
                }];
            });
        

 }];

返回商品页面后, 还是
image

我已经按照https://doc.youzanyun.com/resource/faq/27034/28995/34009
文档中的检查步骤,检查过了

不知道我还可以从哪个步骤去检查呢?

如果需要我demo的话,加我的QQ:332439409 我发给你

@MdWhat
Copy link
Author

MdWhat commented Mar 13, 2021

@VajraSheng 大佬, 求助😭

@cuncle
Copy link

cuncle commented Nov 9, 2021

建议可以参考这个文档检查一下:https://doc.youzanyun.com/resource/faq/27034/28995/34009
重点可以看一下第三步,在店铺后台是不是配置了授权手机号登录。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants