YouzanMobileSDK-iOS icon indicating copy to clipboard operation
YouzanMobileSDK-iOS copied to clipboard

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

Open MdWhat opened this issue 4 years ago • 2 comments

登陆的时候先调用了 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 avatar Mar 13 '21 03:03 MdWhat

@VajraSheng 大佬, 求助😭

MdWhat avatar Mar 13 '21 03:03 MdWhat

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

cuncle avatar Nov 09 '21 09:11 cuncle