完成集成新的登录接口的更换使用 完成集成用户的场站列表接口 完成开发设计选择场站项为全局属性 完成我的页面的个人信息的集成和详情页面的开发 完成设备页面的中无人机机场的列表接口对接入和个项页面的布局的优化 完成设备页面的中无人机机场的详情接口的对接和使用和页面的更新布局
35 lines
1.0 KiB
Dart
35 lines
1.0 KiB
Dart
class HttpApiConsts {
|
|
// static const String baseUrl = "http://8.159.134.0:8012"; // 旧地址
|
|
static const String baseUrl = "http://1.95.137.212:59015";
|
|
|
|
/// 账号相关
|
|
// 登录
|
|
static const String loginUrl = "$baseUrl/login";
|
|
|
|
///设备相关
|
|
// 获取设备列表
|
|
static const String getUserDevicesList = "$baseUrl/iot/device/list";
|
|
// 绑定设备
|
|
static const String bindDevice = "$baseUrl/forward/device/bind";
|
|
// 解绑设备
|
|
static const String unbindDevice = "$baseUrl/forward/device/unbind";
|
|
// 切换设备
|
|
static const String switchDevice = "$baseUrl/forward/device/switchDevice";
|
|
|
|
// 获取光伏电站列表
|
|
static const String getSiteList = "$baseUrl/system/site/list";
|
|
|
|
// 获取场站下的无人机机场列表
|
|
static const String getSiteUAVList = "$baseUrl/iot/UAV/getSiteUAVList";
|
|
|
|
// 获取UAV状态详情
|
|
static const String getUAVState = "$baseUrl/iot/UAV/getUAVState";
|
|
|
|
|
|
// 获取设备位置
|
|
static const String getDeviceLocation = "$baseUrl/iot/device/userDevice";
|
|
|
|
|
|
|
|
}
|