flutter/lib/api/common_api.dart
cuiyouliang ce0331e4c6 1、聚合搜索
2、公共视频详情页
2025-08-30 16:49:21 +08:00

22 lines
956 B
Dart

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 = '/app/sys/dict/type/';
// 聚合搜索
static const String aggregationSearchApi = '/app/common/search';
///resource/oss/upload
}