|
|
@@ -249,42 +249,6 @@ class AccountRepository {
|
|
|
});
|
|
|
}
|
|
|
|
|
|
- // 保存token到ios端
|
|
|
- Future<void> saveAuthToken(String token) async {
|
|
|
- // 通知iOS键盘扩展
|
|
|
- if (Platform.isIOS) {
|
|
|
- const MethodChannel channel = MethodChannel('keyboard_ios');
|
|
|
- channel.invokeMethod('saveAuthToken', {'token': token});
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- // 保存token到ios端
|
|
|
- Future<void> clearAuthToken() async {
|
|
|
- // 通知iOS键盘扩展
|
|
|
- if (Platform.isIOS) {
|
|
|
- const MethodChannel channel = MethodChannel('keyboard_ios');
|
|
|
- channel.invokeMethod('clearAuthToken');
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- // 保存token到ios端
|
|
|
- Future<void> saveAuthToken(String token) async {
|
|
|
- // 通知iOS键盘扩展
|
|
|
- if (Platform.isIOS) {
|
|
|
- const MethodChannel channel = MethodChannel('keyboard_ios');
|
|
|
- channel.invokeMethod('saveAuthToken', {'token': token});
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- // 保存token到ios端
|
|
|
- Future<void> clearAuthToken() async {
|
|
|
- // 通知iOS键盘扩展
|
|
|
- if (Platform.isIOS) {
|
|
|
- const MethodChannel channel = MethodChannel('keyboard_ios');
|
|
|
- channel.invokeMethod('clearAuthToken');
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
// 意见反馈
|
|
|
Future<void> complaintSubmit(String? phone, String content) {
|
|
|
return atmobApi
|