Commit b2dd7a7c36d21b8c01046f8f6702433d8a364704

Authored by liangchengyou
1 parent 15987941

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

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