wangguoyu пре 3 недеља
родитељ
комит
fea3a186ca
7 измењених фајлова са 158 додато и 154 уклоњено
  1. 1 1
      components/payComponents/index.vue
  2. 2 2
      config.js
  3. 151 147
      manifest.json
  4. 1 1
      pages/mall/detailDialog.vue
  5. 1 1
      pages/mall/mallPage.vue
  6. 1 1
      pages/pay/order.vue
  7. 1 1
      pages/pay/svip.vue

+ 1 - 1
components/payComponents/index.vue

@@ -185,7 +185,7 @@
 		console.log('123123');
 		if (!productId.value) {
 			uni.showToast({
-				title: '苹果内购ID缺失,请选择其它支付方式或联系客服',
+				title: '产品错误,请联系客服',
 				icon: "none"
 			});
 			return false;

+ 2 - 2
config.js

@@ -1,8 +1,8 @@
 // 应用全局配置
 export default   {
   //baseUrl: 'https://goosechampion.com/api',
-   // baseUrl: 'https://kf1.mtavip.com/api',
-  baseUrl: 'https://goosechampion.com/api/v20',
+    baseUrl: 'https://kf3.mtavip.com/api',
+  //baseUrl: 'https://goosechampion.com/api/v20',
   // 应用信息
   appInfo: {
     // 应用名称

+ 151 - 147
manifest.json

@@ -1,149 +1,153 @@
 {
-	"name": "鹅状元",
-	"appid": "__UNI__CB9D85D",
-	"description": "",
-	"versionName": "1.1.1",
-	"versionCode": 34,
-	"transformPx": false,
-	/* 5+App特有相关 */
-	"app-plus": {
-		"usingComponents": true,
-		"nvueStyleCompiler": "uni-app",
-		"compilerVersion": 3,
-		"splashscreen": {
-			"alwaysShowBeforeRender": false,
-			"waiting": true,
-			"autoclose": false,
-			"delay": 0
-		},
-		"screenOrientation": [
-			"portrait-primary",
-			"portrait-secondary",
-			"landscape-primary",
-			"landscape-secondary"
-		],
-		/* 禁止左右滑动 */
-		"disableSwipeBack": true,
-		/*底部安全区*/
-		"safearea": {
-			"bottom": {
-				"offset": "none"
-			}
-		},
-		/* 模块配置 */
-		"modules": {
-			"VideoPlayer": {},
-			"OAuth": {},
-			"Payment": {},
-			"Gallery": {}
-		},
-		/* 应用发布信息 */
-		"distribute": {
-			/* 横竖屏设置 */
-			"screenOrientation": ["portrait-primary", "landscape-primary"],
-			"distribute": {
-				"screenOrientation": ["portrait-primary", "landscape-primary"]
-			},
-			/* android打包配置 */
-			"android": {
-				"permissions": [
-					"<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
-					"<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
-					"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
-				],
-				"abiFilters": ["arm64-v8a"],
-				"minSdkVersion": 28,
-				"targetSdkVersion": 30,
-				"excludePermissions": []
-			},
-			/* ios打包配置 */
-			"ios": {
-				"dSYMs": false,
-				"idfa": false,
-				"privacyDescription": {
-					"NSPhotoLibraryUsageDescription": "需要访问相册来选择图片"
-				}
-			},
-			/* SDK配置 */
-			"sdkConfigs": {
-				"oauth": {
-					"weixin": {
-						"appid": "wxd6a8954fa7b0f8a0"
-					},
-					"apple": {}
-				},
-				"payment": {
-					"appleiap": {}
-				},
-				"maps": {}
-			},
-			"splashscreen": {
-				"androidStyle": "common",
-				"iosStyle": "common",
-				"useOriginalMsgbox": true
-			},
-			"icons": {
-				"android": {
-					"hdpi": "unpackage/res/icons/72x72.png",
-					"xhdpi": "unpackage/res/icons/96x96.png",
-					"xxhdpi": "unpackage/res/icons/144x144.png",
-					"xxxhdpi": "unpackage/res/icons/192x192.png"
-				},
-				"ios": {
-					"appstore": "unpackage/res/icons/1024x1024.png",
-					"ipad": {
-						"app": "unpackage/res/icons/76x76.png",
-						"app@2x": "unpackage/res/icons/152x152.png",
-						"notification": "unpackage/res/icons/20x20.png",
-						"notification@2x": "unpackage/res/icons/40x40.png",
-						"proapp@2x": "unpackage/res/icons/167x167.png",
-						"settings": "unpackage/res/icons/29x29.png",
-						"settings@2x": "unpackage/res/icons/58x58.png",
-						"spotlight": "unpackage/res/icons/40x40.png",
-						"spotlight@2x": "unpackage/res/icons/80x80.png"
-					},
-					"iphone": {
-						"app@2x": "unpackage/res/icons/120x120.png",
-						"app@3x": "unpackage/res/icons/180x180.png",
-						"notification@2x": "unpackage/res/icons/40x40.png",
-						"notification@3x": "unpackage/res/icons/60x60.png",
-						"settings@2x": "unpackage/res/icons/58x58.png",
-						"settings@3x": "unpackage/res/icons/87x87.png",
-						"spotlight@2x": "unpackage/res/icons/80x80.png",
-						"spotlight@3x": "unpackage/res/icons/120x120.png"
-					}
-				}
-			}
-		}
-	},
-	/* 快应用特有相关 */
-	"quickapp": {},
-	/* 小程序特有相关 */
-	"mp-weixin": {
-		"appid": "wx3a4f7c01eb080d14",
-		"setting": {
-			"urlCheck": false
-		},
-		"usingComponents": true
-	},
-	"mp-alipay": {
-		"usingComponents": true
-	},
-	"mp-baidu": {
-		"usingComponents": true
-	},
-	"mp-toutiao": {
-		"usingComponents": true
-	},
-	"uniStatistics": {
-		"enable": false
-	},
-	"vueVersion": "3",
-	"h5": {
-		"router": {
-			"base": "/mdist/"
-		},
-		"title": "鹅状元"
-	},
-	"fallbackLocale": "zh-Hans"
+    "name" : "鹅状元",
+    "appid" : "__UNI__CB9D85D",
+    "description" : "",
+    "versionName" : "2.0.0",
+    "versionCode" : 42,
+    "transformPx" : false,
+    /* 5+App特有相关 */
+    "app-plus" : {
+        "compatible" : {
+            "ignoreVersion" : true
+        },
+        "usingComponents" : true,
+        "nvueStyleCompiler" : "uni-app",
+        "compilerVersion" : 3,
+        "splashscreen" : {
+            "alwaysShowBeforeRender" : false,
+            "waiting" : true,
+            "autoclose" : false,
+            "delay" : 0
+        },
+        "screenOrientation" : [
+            "portrait-primary",
+            "portrait-secondary",
+            "landscape-primary",
+            "landscape-secondary"
+        ],
+        /* 禁止左右滑动 */
+        "disableSwipeBack" : true,
+        /*底部安全区*/
+        "safearea" : {
+            "bottom" : {
+                "offset" : "none"
+            }
+        },
+        /* 模块配置 */
+        "modules" : {
+            "VideoPlayer" : {},
+            "OAuth" : {},
+            "Payment" : {},
+            "Gallery" : {},
+			"Camera": {} 
+        },
+        /* 应用发布信息 */
+        "distribute" : {
+            /* 横竖屏设置 */
+            "screenOrientation" : [ "portrait-primary", "landscape-primary" ],
+            "distribute" : {
+                "screenOrientation" : [ "portrait-primary", "landscape-primary" ]
+            },
+            /* android打包配置 */
+            "android" : {
+                "permissions" : [
+                    "<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
+                    "<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
+                    "<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
+                ],
+                "abiFilters" : [ "arm64-v8a" ],
+                "minSdkVersion" : 28,
+                "targetSdkVersion" : 30,
+                "excludePermissions" : []
+            },
+            /* ios打包配置 */
+            "ios" : {
+                "dSYMs" : false,
+                "idfa" : false,
+                "privacyDescription" : {
+                    "NSPhotoLibraryUsageDescription" : "需要访问相册来选择图片"
+                }
+            },
+            /* SDK配置 */
+            "sdkConfigs" : {
+                "oauth" : {
+                    "weixin" : {
+                        "appid" : "wxd6a8954fa7b0f8a0"
+                    },
+                    "apple" : {}
+                },
+                "payment" : {
+                    "appleiap" : {}
+                },
+                "maps" : {}
+            },
+            "splashscreen" : {
+                "androidStyle" : "common",
+                "iosStyle" : "common",
+                "useOriginalMsgbox" : true
+            },
+            "icons" : {
+                "android" : {
+                    "hdpi" : "unpackage/res/icons/72x72.png",
+                    "xhdpi" : "unpackage/res/icons/96x96.png",
+                    "xxhdpi" : "unpackage/res/icons/144x144.png",
+                    "xxxhdpi" : "unpackage/res/icons/192x192.png"
+                },
+                "ios" : {
+                    "appstore" : "unpackage/res/icons/1024x1024.png",
+                    "ipad" : {
+                        "app" : "unpackage/res/icons/76x76.png",
+                        "app@2x" : "unpackage/res/icons/152x152.png",
+                        "notification" : "unpackage/res/icons/20x20.png",
+                        "notification@2x" : "unpackage/res/icons/40x40.png",
+                        "proapp@2x" : "unpackage/res/icons/167x167.png",
+                        "settings" : "unpackage/res/icons/29x29.png",
+                        "settings@2x" : "unpackage/res/icons/58x58.png",
+                        "spotlight" : "unpackage/res/icons/40x40.png",
+                        "spotlight@2x" : "unpackage/res/icons/80x80.png"
+                    },
+                    "iphone" : {
+                        "app@2x" : "unpackage/res/icons/120x120.png",
+                        "app@3x" : "unpackage/res/icons/180x180.png",
+                        "notification@2x" : "unpackage/res/icons/40x40.png",
+                        "notification@3x" : "unpackage/res/icons/60x60.png",
+                        "settings@2x" : "unpackage/res/icons/58x58.png",
+                        "settings@3x" : "unpackage/res/icons/87x87.png",
+                        "spotlight@2x" : "unpackage/res/icons/80x80.png",
+                        "spotlight@3x" : "unpackage/res/icons/120x120.png"
+                    }
+                }
+            }
+        }
+    },
+    /* 快应用特有相关 */
+    "quickapp" : {},
+    /* 小程序特有相关 */
+    "mp-weixin" : {
+        "appid" : "wx3a4f7c01eb080d14",
+        "setting" : {
+            "urlCheck" : false
+        },
+        "usingComponents" : true
+    },
+    "mp-alipay" : {
+        "usingComponents" : true
+    },
+    "mp-baidu" : {
+        "usingComponents" : true
+    },
+    "mp-toutiao" : {
+        "usingComponents" : true
+    },
+    "uniStatistics" : {
+        "enable" : false
+    },
+    "vueVersion" : "3",
+    "h5" : {
+        "router" : {
+            "base" : "/mdist/"
+        },
+        "title" : "鹅状元"
+    },
+    "fallbackLocale" : "zh-Hans"
 }

+ 1 - 1
pages/mall/detailDialog.vue

@@ -288,7 +288,7 @@
 		console.log('123123');
 		if (!productId.value) {
 			uni.showToast({
-				title: '苹果内购ID缺失,请选择其它支付方式或联系客服',
+				title: '产品错误,请联系客服',
 				icon: "none"
 			});
 			return false;

+ 1 - 1
pages/mall/mallPage.vue

@@ -406,7 +406,7 @@
 		console.log('123123');
 		if (!productId.value) {
 			uni.showToast({
-				title: '苹果内购ID缺失,请选择其它支付方式或联系客服',
+				title: '产品错误,请联系客服',
 				icon: "none"
 			});
 			return false;

+ 1 - 1
pages/pay/order.vue

@@ -466,7 +466,7 @@
 		console.log('123123');
 		if (!productId.value) {
 			uni.showToast({
-				title: '苹果内购ID缺失,请选择其它支付方式或联系客服',
+				title: '产品错误,请联系客服',
 				icon: "none"
 			});
 			return false;

+ 1 - 1
pages/pay/svip.vue

@@ -266,7 +266,7 @@
 		console.log('123123');
 		if (!productId.value) {
 			uni.showToast({
-				title: '苹果内购ID缺失,请选择其它支付方式或联系客服',
+				title: '产品错误,请联系客服',
 				icon: "none"
 			});
 			return false;