Kaynağa Gözat

提交订单添加观影人价格

yinds 6 ay önce
ebeveyn
işleme
29c8dbe879

+ 3 - 1
app/.gitignore

@@ -1 +1,3 @@
-/build
+/build
+/release/
+/debug/

+ 1 - 1
app/build.gradle

@@ -74,7 +74,7 @@ android {
             variant.outputs.all {
                 //在这里修改apk文件名
                 def df = new SimpleDateFormat('yyyyMMdd')
-                outputFileName = "PDA_${variant.name}_${df.format(new Date())}_${variant.versionName}_${variant.versionCode}.apk"
+                outputFileName = "${rootProject.ext.defaultConfig.apklabel}_${variant.name}_${df.format(new Date())}_${variant.versionName}_${variant.versionCode}.apk"
             }
     }
 }

+ 2 - 0
app/src/main/java/com/hw/nativeapp/ui/activity/PurchaseInfoActivity.java

@@ -171,6 +171,8 @@ public class PurchaseInfoActivity extends BaseActivity  {
                 JSONObject viewer = new  JSONObject();
                 viewer.put("name", viewerList.getJSONObject(i).getString("name"));
                 viewer.put("idcard", viewerList.getJSONObject(i).getString("idcard"));
+                viewer.put("salePrice", salePeice);
+                viewer.put("realPrice", salePeice);
                 viewerList1.add(viewer);
             }
         }

+ 1 - 1
config.gradle

@@ -13,7 +13,7 @@ ext {
             targetSdkVersion : 29,
     ]
     defaultConfig = [
-
+            apklabel : 'SELF'
     ]
 
     release = [