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;