设备 预约接口
This commit is contained in:
@@ -25,10 +25,8 @@ class ServiceConstant {
|
||||
static String calibration_process = "/api/caibration";//校准进度
|
||||
static String submit_repair = "/api/device/repair";//提交报修
|
||||
static String user_setting = "/api/user/config";//查询和更新用户自定义配置
|
||||
|
||||
|
||||
|
||||
|
||||
static String room_list = "/api/room/info"; //查询房间列表
|
||||
static String issue_list = "/api/help/list"; //问题与帮助列表
|
||||
|
||||
static String logService = "$service_address/vsbs_log";
|
||||
static const String webSocketService = "wss://$baseHost/vsbs_ws_gateway/ws";
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
class CommonVariables {
|
||||
static bool isNetWorkOn = false;
|
||||
|
||||
static String supabaseUrl = "https://zhmht.swes.com.cn:3443";
|
||||
// 企业微信客服拉起的url地址
|
||||
static String wxKfUrl = "https://work.weixin.qq.com/kfid/kfcab6a07e8aac68945";
|
||||
// 企业微信ID
|
||||
|
||||
@@ -6,6 +6,7 @@ import 'package:flutter_svg/svg.dart';
|
||||
import 'package:intl/intl.dart';
|
||||
import 'package:url_launcher/url_launcher.dart';
|
||||
import 'package:vbvs_app/common/color/app_uri_status.dart';
|
||||
import 'package:vbvs_app/common/util/CommonVariables.dart';
|
||||
import 'package:vbvs_app/common/util/FitTool.dart';
|
||||
import 'package:vbvs_app/component/tool/ClickableContainer.dart';
|
||||
import 'package:vbvs_app/controller/mh_controller/mh_language_controller.dart';
|
||||
@@ -436,6 +437,16 @@ String time_08_Formatter_pattern(dynamic date, String pattern) {
|
||||
}
|
||||
}
|
||||
|
||||
String storagePubSrc =
|
||||
"${CommonVariables.supabaseUrl}/storage/v1/object/public/";
|
||||
|
||||
getStorageResourceUrl(String v) {
|
||||
if (v.contains('http')) {
|
||||
return v;
|
||||
}
|
||||
return storagePubSrc + v;
|
||||
}
|
||||
|
||||
enum LoadingDialogIcon { ble, wifi, none }
|
||||
|
||||
class LoadingDialog {
|
||||
|
||||
Reference in New Issue
Block a user