已知问题修改
This commit is contained in:
parent
ab40596dca
commit
83035edc44
@ -22,8 +22,6 @@ PODS:
|
|||||||
- fluttertoast (0.0.2):
|
- fluttertoast (0.0.2):
|
||||||
- Flutter
|
- Flutter
|
||||||
- Toast
|
- Toast
|
||||||
- fluwx_no_pay_rz (0.0.1):
|
|
||||||
- Flutter
|
|
||||||
- FMDB (2.7.5):
|
- FMDB (2.7.5):
|
||||||
- FMDB/standard (= 2.7.5)
|
- FMDB/standard (= 2.7.5)
|
||||||
- FMDB/standard (2.7.5)
|
- FMDB/standard (2.7.5)
|
||||||
@ -73,7 +71,6 @@ DEPENDENCIES:
|
|||||||
- Flutter (from `Flutter`)
|
- Flutter (from `Flutter`)
|
||||||
- flutter_native_contact_picker (from `.symlinks/plugins/flutter_native_contact_picker/ios`)
|
- flutter_native_contact_picker (from `.symlinks/plugins/flutter_native_contact_picker/ios`)
|
||||||
- fluttertoast (from `.symlinks/plugins/fluttertoast/ios`)
|
- fluttertoast (from `.symlinks/plugins/fluttertoast/ios`)
|
||||||
- fluwx_no_pay_rz (from `.symlinks/plugins/fluwx_no_pay_rz/ios`)
|
|
||||||
- google_maps_flutter_ios (from `.symlinks/plugins/google_maps_flutter_ios/ios`)
|
- google_maps_flutter_ios (from `.symlinks/plugins/google_maps_flutter_ios/ios`)
|
||||||
- image_picker_ios (from `.symlinks/plugins/image_picker_ios/ios`)
|
- image_picker_ios (from `.symlinks/plugins/image_picker_ios/ios`)
|
||||||
- network_info_plus (from `.symlinks/plugins/network_info_plus/ios`)
|
- network_info_plus (from `.symlinks/plugins/network_info_plus/ios`)
|
||||||
@ -114,8 +111,6 @@ EXTERNAL SOURCES:
|
|||||||
:path: ".symlinks/plugins/flutter_native_contact_picker/ios"
|
:path: ".symlinks/plugins/flutter_native_contact_picker/ios"
|
||||||
fluttertoast:
|
fluttertoast:
|
||||||
:path: ".symlinks/plugins/fluttertoast/ios"
|
:path: ".symlinks/plugins/fluttertoast/ios"
|
||||||
fluwx_no_pay_rz:
|
|
||||||
:path: ".symlinks/plugins/fluwx_no_pay_rz/ios"
|
|
||||||
google_maps_flutter_ios:
|
google_maps_flutter_ios:
|
||||||
:path: ".symlinks/plugins/google_maps_flutter_ios/ios"
|
:path: ".symlinks/plugins/google_maps_flutter_ios/ios"
|
||||||
image_picker_ios:
|
image_picker_ios:
|
||||||
@ -151,7 +146,6 @@ SPEC CHECKSUMS:
|
|||||||
Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854
|
Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854
|
||||||
flutter_native_contact_picker: bd430ba0fbf82768bb50c2c52a69a65759a8f907
|
flutter_native_contact_picker: bd430ba0fbf82768bb50c2c52a69a65759a8f907
|
||||||
fluttertoast: fafc4fa4d01a6a9e4f772ecd190ffa525e9e2d9c
|
fluttertoast: fafc4fa4d01a6a9e4f772ecd190ffa525e9e2d9c
|
||||||
fluwx_no_pay_rz: afc11aac65505182bd887798fcdc4bbc9e35cd36
|
|
||||||
FMDB: 2ce00b547f966261cd18927a3ddb07cb6f3db82a
|
FMDB: 2ce00b547f966261cd18927a3ddb07cb6f3db82a
|
||||||
google_maps_flutter_ios: abdac20d6ce8931f6ebc5f46616df241bfaa2cfd
|
google_maps_flutter_ios: abdac20d6ce8931f6ebc5f46616df241bfaa2cfd
|
||||||
GoogleMaps: 025272d5876d3b32604e5c080dc25eaf68764693
|
GoogleMaps: 025272d5876d3b32604e5c080dc25eaf68764693
|
||||||
|
|||||||
@ -7,7 +7,6 @@ import 'package:star_lock/network/api_repository.dart';
|
|||||||
import 'package:star_lock/tools/baseGetXController.dart';
|
import 'package:star_lock/tools/baseGetXController.dart';
|
||||||
import 'package:star_lock/tools/showTFView.dart';
|
import 'package:star_lock/tools/showTFView.dart';
|
||||||
import 'package:star_lock/tools/toast.dart';
|
import 'package:star_lock/tools/toast.dart';
|
||||||
import 'package:fluwx_no_pay_rz/fluwx_no_pay_rz.dart';
|
|
||||||
|
|
||||||
import '../../../../appRouters.dart';
|
import '../../../../appRouters.dart';
|
||||||
import '../../../../app_settings/app_colors.dart';
|
import '../../../../app_settings/app_colors.dart';
|
||||||
@ -38,10 +37,10 @@ class _PasswordKeyDetailPageState extends State<PasswordKeyDetailPage> {
|
|||||||
// _initFluwx();
|
// _initFluwx();
|
||||||
}
|
}
|
||||||
|
|
||||||
_initFluwx() async {
|
// _initFluwx() async {
|
||||||
await registerWxApi(
|
// await registerWxApi(
|
||||||
appId: "", doOnAndroid: true, doOnIOS: true, universalLink: "");
|
// appId: "", doOnAndroid: true, doOnIOS: true, universalLink: "");
|
||||||
}
|
// }
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
|
|||||||
@ -47,8 +47,8 @@ class SafeVerifyLogic extends BaseGetXController {
|
|||||||
|
|
||||||
//删除账号请求
|
//删除账号请求
|
||||||
Future<void> deleteAccountRequest() async {
|
Future<void> deleteAccountRequest() async {
|
||||||
LoginEntity entity = await ApiRepository.to
|
LoginEntity entity =
|
||||||
.deleteAccount("", "", state.verificationCode.value);
|
await ApiRepository.to.deleteAccount("1", state.verificationCode.value);
|
||||||
if (entity.errorCode!.codeIsSuccessful) {
|
if (entity.errorCode!.codeIsSuccessful) {
|
||||||
Toast.show(msg: '验证成功,账号已删除');
|
Toast.show(msg: '验证成功,账号已删除');
|
||||||
//删除账号成功,
|
//删除账号成功,
|
||||||
|
|||||||
@ -45,17 +45,6 @@ class PersonInfoEditAccountLogic extends BaseGetXController {
|
|||||||
} else {}
|
} else {}
|
||||||
}
|
}
|
||||||
|
|
||||||
//删除账号请求
|
|
||||||
Future<void> deleteAccountRequest() async {
|
|
||||||
LoginEntity entity = await ApiRepository.to
|
|
||||||
.deleteAccount("", "", state.verificationCode.value);
|
|
||||||
if (entity.errorCode!.codeIsSuccessful) {
|
|
||||||
Toast.show(msg: '验证成功,账号已删除');
|
|
||||||
//删除账号成功,
|
|
||||||
Get.offNamedUntil(Routers.starLockLoginPage, (route) => false);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void checkNext(TextEditingController controller) {
|
void checkNext(TextEditingController controller) {
|
||||||
changeInput(controller);
|
changeInput(controller);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1139,14 +1139,11 @@ class ApiProvider extends BaseProvider {
|
|||||||
|
|
||||||
//删除账号
|
//删除账号
|
||||||
Future<Response> deleteAccount(
|
Future<Response> deleteAccount(
|
||||||
String operatorUid, String uniqueid, String verificationCode) =>
|
String channel, String verificationCode) =>
|
||||||
post(
|
post(
|
||||||
deleteAccountURL.toUrl,
|
deleteAccountURL.toUrl,
|
||||||
jsonEncode({
|
jsonEncode(
|
||||||
'operatorUid': operatorUid,
|
{'channel': channel, 'verificationCode': verificationCode}));
|
||||||
'uniqueid': uniqueid,
|
|
||||||
'verificationCode': verificationCode
|
|
||||||
}));
|
|
||||||
|
|
||||||
// 获取个人信息
|
// 获取个人信息
|
||||||
Future<Response> getUserInfo(String operatorUid) =>
|
Future<Response> getUserInfo(String operatorUid) =>
|
||||||
|
|||||||
@ -1134,9 +1134,8 @@ class ApiRepository {
|
|||||||
|
|
||||||
//删除账号
|
//删除账号
|
||||||
Future<LoginEntity> deleteAccount(
|
Future<LoginEntity> deleteAccount(
|
||||||
String operatorUid, String uniqueid, String verificationCode) async {
|
String channel, String verificationCode) async {
|
||||||
final res = await apiProvider.deleteAccount(
|
final res = await apiProvider.deleteAccount(channel, verificationCode);
|
||||||
operatorUid, uniqueid, verificationCode);
|
|
||||||
return LoginEntity.fromJson(res.body);
|
return LoginEntity.fromJson(res.body);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -111,7 +111,6 @@ dependencies:
|
|||||||
#网络图片缓存
|
#网络图片缓存
|
||||||
cached_network_image: ^3.2.0
|
cached_network_image: ^3.2.0
|
||||||
webview_flutter: ^4.2.3
|
webview_flutter: ^4.2.3
|
||||||
fluwx_no_pay_rz: ^3.4.4+1
|
|
||||||
|
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
flutter_test:
|
flutter_test:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user