Prechádzať zdrojové kódy

去除其他的国家,切换为正式环境,安卓305版本上线

liukai 1 týždeň pred
rodič
commit
62d25693d4

+ 2 - 2
app/android/app/build.gradle

@@ -52,8 +52,8 @@ android {
         applicationId "com.guadou.yyemployer"
         minSdkVersion 21
         targetSdkVersion 34
-        versionCode 304
-        versionName "3.0.4"
+        versionCode 305
+        versionName "3.0.5"
 
         multiDexEnabled true
 

+ 58 - 58
packages/cpt_auth/lib/modules/select_country/select_country_page.dart

@@ -124,66 +124,66 @@ class SelectCountryPage extends BaseStatelessPage<SelectCountryController> {
                       }),
 
                       //英国的选项
-                      Container(
-                        width: double.infinity,
-                        margin: const EdgeInsets.only(top: 13.5, left: 20, right: 20),
-                        padding: const EdgeInsets.symmetric(vertical: 13, horizontal: 17),
-                        decoration: BoxDecoration(
-                          color: const Color(0xFF4DCFF6).withOpacity(0.2), // 设置背景颜色和不透明度
-                          borderRadius: BorderRadius.circular(5.0), // 设置圆角
-                        ),
-                        child: Row(
-                          children: [
-                            const MyAssetImage(Assets.cptAuthUkIcon, width: 50, height: 33),
-                            MyTextView(
-                              "United Kingdom".tr,
-                              marginLeft: 17,
-                              textColor: ColorConstants.white,
-                              isFontMedium: true,
-                              fontSize: 18,
-                            ).expanded(),
-                            Obx(() {
-                              return Visibility(
-                                visible: ConfigService.to.selectCountry.value == 2,
-                                child: const MyAssetImage(Assets.cptAuthCheckedIcon, width: 22, height: 22),
-                              );
-                            }),
-                          ],
-                        ),
-                      ).onTap(() {
-                        ConfigService.to.selectCountry.value = 2;
-                      }),
+                      // Container(
+                      //   width: double.infinity,
+                      //   margin: const EdgeInsets.only(top: 13.5, left: 20, right: 20),
+                      //   padding: const EdgeInsets.symmetric(vertical: 13, horizontal: 17),
+                      //   decoration: BoxDecoration(
+                      //     color: const Color(0xFF4DCFF6).withOpacity(0.2), // 设置背景颜色和不透明度
+                      //     borderRadius: BorderRadius.circular(5.0), // 设置圆角
+                      //   ),
+                      //   child: Row(
+                      //     children: [
+                      //       const MyAssetImage(Assets.cptAuthUkIcon, width: 50, height: 33),
+                      //       MyTextView(
+                      //         "United Kingdom".tr,
+                      //         marginLeft: 17,
+                      //         textColor: ColorConstants.white,
+                      //         isFontMedium: true,
+                      //         fontSize: 18,
+                      //       ).expanded(),
+                      //       Obx(() {
+                      //         return Visibility(
+                      //           visible: ConfigService.to.selectCountry.value == 2,
+                      //           child: const MyAssetImage(Assets.cptAuthCheckedIcon, width: 22, height: 22),
+                      //         );
+                      //       }),
+                      //     ],
+                      //   ),
+                      // ).onTap(() {
+                      //   ConfigService.to.selectCountry.value = 2;
+                      // }),
 
                       //越南
-                      Container(
-                        width: double.infinity,
-                        margin: const EdgeInsets.only(top: 13.5, left: 20, right: 20),
-                        padding: const EdgeInsets.symmetric(vertical: 13, horizontal: 17),
-                        decoration: BoxDecoration(
-                          color: const Color(0xFF4DCFF6).withOpacity(0.2), // 设置背景颜色和不透明度
-                          borderRadius: BorderRadius.circular(5.0), // 设置圆角
-                        ),
-                        child: Row(
-                          children: [
-                            const MyAssetImage(Assets.cptAuthVnIcon, width: 50, height: 33),
-                            MyTextView(
-                              "Vietnam".tr,
-                              marginLeft: 17,
-                              textColor: ColorConstants.white,
-                              isFontMedium: true,
-                              fontSize: 18,
-                            ).expanded(),
-                            Obx(() {
-                              return Visibility(
-                                visible: ConfigService.to.selectCountry.value == 0,
-                                child: const MyAssetImage(Assets.cptAuthCheckedIcon, width: 22, height: 22),
-                              );
-                            }),
-                          ],
-                        ),
-                      ).onTap(() {
-                        ConfigService.to.selectCountry.value = 0;
-                      }),
+                      // Container(
+                      //   width: double.infinity,
+                      //   margin: const EdgeInsets.only(top: 13.5, left: 20, right: 20),
+                      //   padding: const EdgeInsets.symmetric(vertical: 13, horizontal: 17),
+                      //   decoration: BoxDecoration(
+                      //     color: const Color(0xFF4DCFF6).withOpacity(0.2), // 设置背景颜色和不透明度
+                      //     borderRadius: BorderRadius.circular(5.0), // 设置圆角
+                      //   ),
+                      //   child: Row(
+                      //     children: [
+                      //       const MyAssetImage(Assets.cptAuthVnIcon, width: 50, height: 33),
+                      //       MyTextView(
+                      //         "Vietnam".tr,
+                      //         marginLeft: 17,
+                      //         textColor: ColorConstants.white,
+                      //         isFontMedium: true,
+                      //         fontSize: 18,
+                      //       ).expanded(),
+                      //       Obx(() {
+                      //         return Visibility(
+                      //           visible: ConfigService.to.selectCountry.value == 0,
+                      //           child: const MyAssetImage(Assets.cptAuthCheckedIcon, width: 22, height: 22),
+                      //         );
+                      //       }),
+                      //     ],
+                      //   ),
+                      // ).onTap(() {
+                      //   ConfigService.to.selectCountry.value = 0;
+                      // }),
 
                       //Next按钮
                       Stack(

+ 2 - 2
packages/cs_domain/lib/constants/api_constants.dart

@@ -2,10 +2,10 @@
 
 class ApiConstants {
   //当前服务器环境
-  static const isServerRelease = false;
+  static const isServerRelease = true;
 
   //新加坡的域名
-  static const sgBaseUrl = isServerRelease ? 'http://singapore.casualabour.com' : 'http://singapore-dev.casualabour.com';
+  static const sgBaseUrl = isServerRelease ? 'https://casualabour.com/' : 'http://singapore-dev.casualabour.com';
 
   //英国的域名
   static const ukBaseUrl = isServerRelease ? 'https://uk.casualabour.com' : 'http://vietnam-dev.casualabour.com';