更新睡眠报告
This commit is contained in:
@@ -26,7 +26,7 @@ class BlueteethBindModel {
|
||||
@JsonKey(ignore: true)
|
||||
List<BleDeviceData>? betDevicelist = []; //网络状态
|
||||
@JsonKey(ignore: true)
|
||||
List? blelist = [];//蓝牙扫描的原始数据
|
||||
List? blelist = []; //蓝牙扫描的原始数据
|
||||
|
||||
List bindArr = ["", "", ""];
|
||||
String connectedWifiName = "";
|
||||
@@ -67,14 +67,16 @@ class BlueteethBindController extends GetControllerEx<BlueteethBindModel> {
|
||||
RxString scanMac = "".obs;
|
||||
|
||||
RxString? currentDeviceMac = "".obs;
|
||||
RxString? cid = "".obs ;
|
||||
RxString? cid = "".obs;
|
||||
|
||||
RxString search = "".obs;//搜索关键字
|
||||
RxString search = "".obs; //搜索关键字
|
||||
|
||||
RxInt connectStatus = 0.obs;
|
||||
|
||||
RxMap selectWifi = {}.obs; //正在连接wifi信息
|
||||
|
||||
int returnPage = 0;//0返回首页 1.返回设备列表
|
||||
|
||||
// 安全展示 TopSlideNotification
|
||||
void safeShowNotification(String msg) {
|
||||
try {
|
||||
|
||||
@@ -46,6 +46,8 @@ class BodyDeviceController extends GetControllerEx<BodyDeviceModel> {
|
||||
|
||||
String wifiMac = "";
|
||||
|
||||
|
||||
|
||||
Future<ApiResponse> getDeviceNum() async {
|
||||
try {
|
||||
ApiResponse apiResponse = ApiResponse(code: -1, msg: "设备.设备列表请求失败".tr);
|
||||
|
||||
@@ -119,10 +119,10 @@ class LoginController extends GetControllerEx<LoginModel> {
|
||||
Future<ApiResponse> getCode(BuildContext context) async {
|
||||
ApiResponse apiResponse = ApiResponse(code: -1, msg: "其他手机登录页.发送失败".tr);
|
||||
try {
|
||||
if (model.register_agree == null || model.register_agree != true) {
|
||||
apiResponse.msg = "登录页.未同意协议".tr;
|
||||
return apiResponse;
|
||||
}
|
||||
// if (model.register_agree == null || model.register_agree != true) {
|
||||
// apiResponse.msg = "登录页.未同意协议".tr;
|
||||
// return apiResponse;
|
||||
// }
|
||||
if (model.phone == null || model.phone!.isEmpty) {
|
||||
apiResponse.msg = "其他手机登录页.请输入手机号".tr;
|
||||
return apiResponse;
|
||||
|
||||
@@ -50,7 +50,7 @@ class MessageController extends GetControllerEx<MessageModel> {
|
||||
String serviceApi = ServiceConstant.message_list;
|
||||
String messageType = "app_system";
|
||||
if (model.type == 1) {
|
||||
messageType = "app_body";
|
||||
messageType = "app_vsm";
|
||||
} else {
|
||||
messageType = "app_system";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user