用户模块类图

立即使用

userLoginActivityvar account: Stringvar password: String+ emailLoin(account:String,password:String)class user var account: String var nickname: String var photo: StringRegisterActivityvar account: Stringvar password: Stringval code:String+ requestRegisterCode( account : String)+ register(account: String, password: String, code: String)SelectPictureActivityval path:Stringval file=File(path)//先上传文件到存储区(1)uploadPreFileSign( filepath:String, fileName:String, fileSize:int, RequestCallback)//将储存区的地址通知服务器,生成头像url(2)generateFileUrl(signurl:String)EnterPassActivity(修改密码等)var account: Stringvar password: Stringval code:StringpasswordReset(account: String, password: String, code: String)FeedbackActivity feedbackContact: String, feddbackContent: String fun feedback( type_id: Int, product_id: Int, feedbackContact: String, feddbackContent: String )FaqActivity appName: String, page: Int /** * 加载帮助消息列表,也可不写接口弄成本地的(brand品牌变量) */ fun getFaqList( appName: String, page: Int )需要依赖的库UI库、PlatformAPI库、ThirdLogin、Permission、mediaGallry(也可不用)、MessageListActivitynumbers: Int,page: Int, type: Int /** * 加载消息列表(type是消息类型,也可以默认0或者不传) */fun loadMessageList(numbers: Int, page: Int, type: Int)MessageDetailActivitynumbers: Int,page: Int, type: Int /** * 刷新消息已读状态 */flagMessageReaded(id :String)<<interface>>Interface 1+ Operation A(int): void+ Operation B(): void- Operation C(int): intClass A+ Attribute A: type = defaultValue+ Attribute B: type = value B- Attribute C: type+ Operation A(params) : return+ Operation B() : void- Operation C() : void
140
0
0
发布时间: 2021-09-29