From 3dbd3655eded7327100705f9fc19cb11423efc95 Mon Sep 17 00:00:00 2001 From: lancer <1905818361@qq.com> Date: Wed, 13 Oct 2021 10:48:58 +0800 Subject: [PATCH] init --- .hbuilderx/launch.json | 19 ++++++++++++++----- config.js | 6 +++--- utils/http.js | 6 +++--- 3 files changed, 20 insertions(+), 11 deletions(-) diff --git a/.hbuilderx/launch.json b/.hbuilderx/launch.json index 501e01c..075b9c5 100644 --- a/.hbuilderx/launch.json +++ b/.hbuilderx/launch.json @@ -2,10 +2,19 @@ // launchtype项可配置值为local或remote, local代表前端连本地云函数,remote代表前端连云端云函数 "version": "0.0", "configurations": [{ - "type": "uniCloud", - "default": { - "launchtype": "remote" - } - } + "default" : + { + "launchtype" : "remote" + }, + "h5" : + { + "launchtype" : "remote" + }, + "mp-weixin" : + { + "launchtype" : "remote" + }, + "type" : "uniCloud" + } ] } diff --git a/config.js b/config.js index 8ce4613..ae730f1 100644 --- a/config.js +++ b/config.js @@ -2,11 +2,11 @@ * 小程序配置文件 */ // 此处主机域名修改成腾讯云解决方案分配的域名 -var host = 'http://121.42.63.138:9091/autoSR/api'; // 测试站 -// var host = 'http://192.168.31.161:8080/autoSR/api'; // 长龙 +// var host = 'http://121.42.63.138:9091/autoSR/api'; // 测试站 +// var host = 'http://192.168.31.160:8080/autoSR/api'; // 长龙 // var host = 'http://192.168.31.127:8080/autoSR/api'; // 佳豪 // var host = 'http://10.2.1.104:8081/autoSR/api'; // 刘敏 - // var host = 'https://zkgj.quhouse.com/api'; // 质控正式 +var host = 'https://zkgj.quhouse.com/api'; // 质控正式 // var host = 'https://hfju.com/api'; // 数智正式 diff --git a/utils/http.js b/utils/http.js index 6c777aa..3ecee47 100644 --- a/utils/http.js +++ b/utils/http.js @@ -1,9 +1,9 @@ -const baseUrl = 'http://121.42.63.138:9091/autoSR/api';// 测试站 -// const baseUrl = 'http://192.168.31.161:8080/autoSR/api'; // 长龙 +// const baseUrl = 'http://121.42.63.138:9091/autoSR/api';// 测试站 +// const baseUrl = 'http://192.168.31.160:8080/autoSR/api'; // 长龙 // const baseUrl = 'http://192.168.31.127:8080/autoSR/api'; // 佳豪 // const baseUrl = 'http://10.2.1.104:8081/autoSR/api'; // 刘敏 - // const baseUrl = 'https://zkgj.quhouse.com/api'; // 质控正式 +const baseUrl = 'https://zkgj.quhouse.com/api'; // 质控正式 // const baseUrl = 'https://hfju.com/api'; // 数智正式 const install = (Vue, vm) => {