From bc7c1ff2401c3d4c59ad9809b4b1ebebdb4afcfa Mon Sep 17 00:00:00 2001 From: lzx_win <2602107437@qq.com> Date: Sun, 13 Apr 2025 22:01:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manifest.json | 138 ++++++++++++++++++++++++++++---------------------------- utils/getUrl.js | 6 +-- 2 files changed, 71 insertions(+), 73 deletions(-) diff --git a/manifest.json b/manifest.json index 794197d..055404f 100644 --- a/manifest.json +++ b/manifest.json @@ -1,71 +1,69 @@ { - "name": "uni-vuu3", - "appid": "__UNI__BCA90DD", - "description": "", - "versionName": "1.0.0", - "versionCode": "100", - "transformPx": false, - "app-plus": { - /* 5+App特有相关 */ - "usingComponents": true, - "nvueCompiler": "uni-app", - "nvueStyleCompiler": "uni-app", - "splashscreen": { - "alwaysShowBeforeRender": true, - "waiting": true, - "autoclose": true, - "delay": 0 - }, - "modules": {}, - /* 模块配置 */ - "distribute": { - /* 应用发布信息 */ - "android": { - /* android打包配置 */ - "permissions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ] - }, - "ios": {}, - /* ios打包配置 */ - "sdkConfigs": {} - } - }, - /* SDK配置 */ - "quickapp": {}, - /* 快应用特有相关 */ - "mp-weixin": { - /* 小程序特有相关 */ - "appid": "wx01f0f43759922fda", - "setting": { - "urlCheck": false, - "postcss": true, - "minified": true - }, - "usingComponents": true, - "mergeVirtualHostAttributes": true, - "permission": { - "scope.userLocation": { - "desc": "获取用户地址" - } - }, - "requiredPrivateInfos": [ - "chooseLocation" - ] - }, - "vueVersion": "3" -} \ No newline at end of file + "name" : "uni-vuu3", + "appid" : "__UNI__08423D1", + "description" : "", + "versionName" : "1.0.0", + "versionCode" : "100", + "transformPx" : false, + "app-plus" : { + /* 5+App特有相关 */ + "usingComponents" : true, + "nvueCompiler" : "uni-app", + "nvueStyleCompiler" : "uni-app", + "splashscreen" : { + "alwaysShowBeforeRender" : true, + "waiting" : true, + "autoclose" : true, + "delay" : 0 + }, + "modules" : {}, + /* 模块配置 */ + "distribute" : { + /* 应用发布信息 */ + "android" : { + /* android打包配置 */ + "permissions" : [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ] + }, + "ios" : {}, + /* ios打包配置 */ + "sdkConfigs" : {} + } + }, + /* SDK配置 */ + "quickapp" : {}, + /* 快应用特有相关 */ + "mp-weixin" : { + /* 小程序特有相关 */ + "appid" : "wx01f0f43759922fda", + "setting" : { + "urlCheck" : false, + "postcss" : true, + "minified" : true + }, + "usingComponents" : true, + "mergeVirtualHostAttributes" : true, + "permission" : { + "scope.userLocation" : { + "desc" : "获取用户地址" + } + }, + "requiredPrivateInfos" : [ "chooseLocation" ] + }, + "vueVersion" : "3" +} diff --git a/utils/getUrl.js b/utils/getUrl.js index 76ae5a0..9022810 100644 --- a/utils/getUrl.js +++ b/utils/getUrl.js @@ -1,11 +1,11 @@ -let current = "trial"; +let current = "release"; const accountInfo = wx.getAccountInfoSync(); // current = accountInfo.miniProgram.envVersion; const api = { develop: "http://youyi-test.natapp1.cc/prod-api", // 开发 - trial: "http://h5.xzaiyp.top/prod-api", //测试 - release: "http://h5.xzaiyp.top/prod-api", // 线上 + trial: "https://pet-admin.hhlm1688.com/prod-api", //测试 + release: "https://pet-admin.hhlm1688.com/api/prod-api", // 线上 } const currentUrl = api[current];