用户登录注册模块实现

立即使用

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)(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 fun getFaqList( appName: String, page: Int )也可不写接口弄成本地的(brand品牌变量)需要依赖的库API库、ThirdLogin、Permission、mediaGallry(也可不用)、UI库
83
0
0
发布时间: 2021-07-09