logo和名称替换
This commit is contained in:
@@ -6,7 +6,7 @@ import 'package:device_identity/device_identity.dart';
|
||||
import 'package:device_info_plus/device_info_plus.dart';
|
||||
import 'package:flutter/services.dart';
|
||||
import 'package:flutter_secure_storage/flutter_secure_storage.dart';
|
||||
import 'package:hgmj/extension/extensions.dart';
|
||||
import 'package:wydj/extension/extensions.dart';
|
||||
import 'package:package_info_plus/package_info_plus.dart';
|
||||
import 'package:path_provider/path_provider.dart';
|
||||
import 'package:shared_preferences/shared_preferences.dart';
|
||||
@@ -263,8 +263,8 @@ class DeviceInfoService {
|
||||
} catch (_) {}
|
||||
}
|
||||
if (_isInvalidId(raw)) raw = const Uuid().v4();
|
||||
// 业务规则:hgmj_ 前缀,去空格,限制 50 字符(日志系统约束)
|
||||
return 'hgmj_${raw.replaceAll(' ', '')}'.limit(50);
|
||||
// 业务规则:wydj_ 前缀,去空格,限制 50 字符(日志系统约束)
|
||||
return 'wydj_${raw.replaceAll(' ', '')}'.limit(50);
|
||||
}
|
||||
|
||||
/// 脏值检测:空 / 太短 / 全 0 / 已知脏值
|
||||
|
||||
Reference in New Issue
Block a user