Commit b2dd7a7c36d21b8c01046f8f6702433d8a364704

Authored by liangchengyou
1 parent 15987941

feat:修改版本号+密码md5加密隐藏

ios/Runner.xcodeproj/project.pbxproj
@@ -495,7 +495,7 @@ @@ -495,7 +495,7 @@
495 ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 495 ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
496 CLANG_ENABLE_MODULES = YES; 496 CLANG_ENABLE_MODULES = YES;
497 CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; 497 CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
498 - CURRENT_PROJECT_VERSION = 6; 498 + CURRENT_PROJECT_VERSION = 1;
499 DEVELOPMENT_TEAM = T8P9KW8GWH; 499 DEVELOPMENT_TEAM = T8P9KW8GWH;
500 ENABLE_BITCODE = NO; 500 ENABLE_BITCODE = NO;
501 INFOPLIST_FILE = Runner/Info.plist; 501 INFOPLIST_FILE = Runner/Info.plist;
@@ -503,7 +503,7 @@ @@ -503,7 +503,7 @@
503 "$(inherited)", 503 "$(inherited)",
504 "@executable_path/Frameworks", 504 "@executable_path/Frameworks",
505 ); 505 );
506 - MARKETING_VERSION = 1.0; 506 + MARKETING_VERSION = 1.0.1;
507 PRODUCT_BUNDLE_IDENTIFIER = com.kouyuxingqiu.wowenglish; 507 PRODUCT_BUNDLE_IDENTIFIER = com.kouyuxingqiu.wowenglish;
508 PRODUCT_NAME = "$(TARGET_NAME)"; 508 PRODUCT_NAME = "$(TARGET_NAME)";
509 SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; 509 SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
@@ -680,7 +680,7 @@ @@ -680,7 +680,7 @@
680 ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 680 ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
681 CLANG_ENABLE_MODULES = YES; 681 CLANG_ENABLE_MODULES = YES;
682 CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; 682 CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
683 - CURRENT_PROJECT_VERSION = 6; 683 + CURRENT_PROJECT_VERSION = 1;
684 DEVELOPMENT_TEAM = T8P9KW8GWH; 684 DEVELOPMENT_TEAM = T8P9KW8GWH;
685 ENABLE_BITCODE = NO; 685 ENABLE_BITCODE = NO;
686 INFOPLIST_FILE = Runner/Info.plist; 686 INFOPLIST_FILE = Runner/Info.plist;
@@ -688,7 +688,7 @@ @@ -688,7 +688,7 @@
688 "$(inherited)", 688 "$(inherited)",
689 "@executable_path/Frameworks", 689 "@executable_path/Frameworks",
690 ); 690 );
691 - MARKETING_VERSION = 1.0; 691 + MARKETING_VERSION = 1.0.1;
692 PRODUCT_BUNDLE_IDENTIFIER = com.kouyuxingqiu.wowenglish; 692 PRODUCT_BUNDLE_IDENTIFIER = com.kouyuxingqiu.wowenglish;
693 PRODUCT_NAME = "$(TARGET_NAME)"; 693 PRODUCT_NAME = "$(TARGET_NAME)";
694 SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; 694 SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
@@ -709,7 +709,7 @@ @@ -709,7 +709,7 @@
709 ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 709 ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
710 CLANG_ENABLE_MODULES = YES; 710 CLANG_ENABLE_MODULES = YES;
711 CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; 711 CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
712 - CURRENT_PROJECT_VERSION = 6; 712 + CURRENT_PROJECT_VERSION = 1;
713 DEVELOPMENT_TEAM = T8P9KW8GWH; 713 DEVELOPMENT_TEAM = T8P9KW8GWH;
714 ENABLE_BITCODE = NO; 714 ENABLE_BITCODE = NO;
715 INFOPLIST_FILE = Runner/Info.plist; 715 INFOPLIST_FILE = Runner/Info.plist;
@@ -717,7 +717,7 @@ @@ -717,7 +717,7 @@
717 "$(inherited)", 717 "$(inherited)",
718 "@executable_path/Frameworks", 718 "@executable_path/Frameworks",
719 ); 719 );
720 - MARKETING_VERSION = 1.0; 720 + MARKETING_VERSION = 1.0.1;
721 PRODUCT_BUNDLE_IDENTIFIER = com.kouyuxingqiu.wowenglish; 721 PRODUCT_BUNDLE_IDENTIFIER = com.kouyuxingqiu.wowenglish;
722 PRODUCT_NAME = "$(TARGET_NAME)"; 722 PRODUCT_NAME = "$(TARGET_NAME)";
723 SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; 723 SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
lib/pages/login/loginpage/bloc/login_bloc.dart
@@ -71,7 +71,7 @@ class LoginBloc extends Bloc<LoginEvent, LoginState> { @@ -71,7 +71,7 @@ class LoginBloc extends Bloc<LoginEvent, LoginState> {
71 var checkKey = _isSmsLoginType ? 'smsCode' : 'password'; 71 var checkKey = _isSmsLoginType ? 'smsCode' : 'password';
72 var type = _isSmsLoginType ? 'sms_code' : 'pwd'; 72 var type = _isSmsLoginType ? 'sms_code' : 'pwd';
73 if (type == 'pwd') {//md5加密 73 if (type == 'pwd') {//md5加密
74 - checkNumber = EncryptUtil.encodeMd5(checkNumber); 74 + // checkNumber = EncryptUtil.encodeMd5(checkNumber);
75 } 75 }
76 76
77 try { 77 try {
lib/pages/login/setpwd/bloc/set_pwd_bloc.dart
@@ -129,7 +129,8 @@ class SetPwdBloc extends Bloc<SetPwdEvent, SetPwdState> { @@ -129,7 +129,8 @@ class SetPwdBloc extends Bloc<SetPwdEvent, SetPwdState> {
129 129
130 /// 设置密码,调接口 130 /// 设置密码,调接口
131 void _setPassword(SetPasswordEvent event, Emitter<SetPwdState> emitter) async { 131 void _setPassword(SetPasswordEvent event, Emitter<SetPwdState> emitter) async {
132 - var password = EncryptUtil.encodeMd5(passwordText); 132 + // var password = EncryptUtil.encodeMd5(passwordText);
  133 + var password = passwordText;
133 try { 134 try {
134 await loading(() async { 135 await loading(() async {
135 switch (pageType) { 136 switch (pageType) {
pubspec.yaml
@@ -16,7 +16,7 @@ publish_to: &#39;none&#39; # Remove this line if you wish to publish to pub.dev @@ -16,7 +16,7 @@ publish_to: &#39;none&#39; # Remove this line if you wish to publish to pub.dev
16 # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html 16 # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
17 # In Windows, build-name is used as the major, minor, and patch parts 17 # In Windows, build-name is used as the major, minor, and patch parts
18 # of the product and file versions while build-number is used as the build suffix. 18 # of the product and file versions while build-number is used as the build suffix.
19 -version: 1.0.0+1 19 +version: 1.0.1+1
20 20
21 environment: 21 environment:
22 sdk: '>=3.0.0 <4.0.0' 22 sdk: '>=3.0.0 <4.0.0'