From 4499ae2f6c1abace9ed8a815b4cf1a101e2a6dff Mon Sep 17 00:00:00 2001 From: wanghualei Date: Wed, 2 Jun 2021 15:19:57 +0800 Subject: [PATCH] udpate userId --- ios/Classes/Api/MOP_initialize.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ios/Classes/Api/MOP_initialize.m b/ios/Classes/Api/MOP_initialize.m index 9d28e6a..3db6c33 100644 --- a/ios/Classes/Api/MOP_initialize.m +++ b/ios/Classes/Api/MOP_initialize.m @@ -34,7 +34,7 @@ { config.cryptType = FATApiCryptTypeMD5; } - config.userId = [self.userId copy]; + config.currentUserId = [self.userId copy]; NSLog(@"disablePermission:%d",self.disablePermission); config.disableAuthorize = self.disablePermission;