class CommonApi { ///----------get static const String getCode = '/resource/sms/code'; // 发送短信验证码 {'phonenumber'} static const String accountInfo = '/app/member/info'; // 账户信息 ///---------post static const String login = '/auth/login'; // 登录 {'phonenumber': '', 'smsCode': '', 'clientId': '428a8310cd442757ae699df5d894f051', 'grantType': 'sms'}; static const String checkVersion = '/system/version/list'; // 查询app版本 {'platformType': Platform.isAndroid ? 'android' : 'ios','status': 1} static const String uploadFile = '/resource/oss/upload'; ///[source]=wechat_open [clientId]=428a8310cd442757ae699df5d894f051 [grantType]=social [socialState]=1 static const String wxLogin = '/app/member/bind/wechat'; // 获取字典枚举 static const String dictionaryApi = '/system/dict/data/type/'; ///resource/oss/upload }