Commit e07cedc39e2cb97b9f47542bb957e7b2925b6422

Authored by 朱林
1 parent f6e22972

no message

CNLiveUserSystemDemo.xcodeproj/project.xcworkspace/xcuserdata/iOS.xcuserdatad/UserInterfaceState.xcuserstate
No preview for this file type
CNLiveUserSystemDemo/CNLiveUserSystemSDK/CNLiveUserSystemCenter.h
... ... @@ -13,9 +13,10 @@
13 13 @interface CNLiveUserSystemCenter : NSObject
14 14  
15 15 /**
16   - @abstract 配置appId,appKey
17   - @param appId 应用ID
18   - @param appKey 注册后的应用key
  16 + @abstract 初始化
  17 + @param appId 注册成功获得应用ID
  18 + @param appKey 注册成功获得应用key
  19 + @param appSecret 注册成功获得应用secret
19 20 @warning 必传参数
20 21 必须在 - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions; 方法中调用
21 22 */
... ... @@ -87,7 +88,7 @@
87 88  
88 89 /**
89 90 @abstract 修改用户单项信息
90   - @param type 修改类型(nickName-昵称,gender-性别,email-邮箱, location-联系方式
  91 + @param type 修改类型(nickName-昵称,gender-性别,email-邮箱, location-联系方式(地址)
91 92 @param uid 用户ID
92 93 @param info 对应的信息(注gender对应f/m/n)
93 94 @param success 成功回调
... ... @@ -109,7 +110,7 @@
109 110 @abstract 修改密码(通过手机号修改)
110 111 @param mobile 手机号
111 112 @param verificationCode 验证码
112   - @param newPassword 用户昵称
  113 + @param newPassword 新密码
113 114 @param success 成功回调
114 115 @param failure 失败回调
115 116 */
... ... @@ -119,6 +120,8 @@
119 120 @abstract 上传头像
120 121 @param uid 用户ID
121 122 @param icon 头像
  123 + @param success 成功回调
  124 + @param failure 失败回调
122 125 */
123 126 + (void)uploadIconWithUid:(NSString *)uid icon:(UIImage *)icon success:(void (^)(id result))success failure :(void (^)(NSError *error))failure;
124 127  
... ...
CNLiveUserSystemDemo/CNLiveUserSystemSDK/CNLiveUserSystemTypeDef.h
... ... @@ -19,9 +19,9 @@ typedef NS_ENUM(NSUInteger, VerificationCodeType) {
19 19 //修改单项用户信息类型
20 20 typedef NS_ENUM(NSUInteger, UserInfoType) {
21 21 UserInfoTypeNickName = 0, //昵称
22   - UserInfoTypeGender, //性别
  22 + UserInfoTypeGender, //性别(f/m/n)
23 23 UserInfoTypeEmail, //邮箱
24   - UserInfoTypeLocation, //联系方式
  24 + UserInfoTypeLocation, //联系方式(地址)
25 25 };
26 26  
27 27 #endif /* CNLiveUserSystemTypeDef_h */
... ...