diff --git a/common/api.js b/common/api.js index 9e3b81f..8f42055 100644 --- a/common/api.js +++ b/common/api.js @@ -1,9 +1,9 @@ // appId: 正式 null | 测试 wxeb58570b5e04d147 -export const DEV = "dev"; // dev 测试 | prod 正式 +export const DEV = "prod"; // dev 测试 | prod 正式 export const VERSION = '1.0.0'; // 版本号 -export const DEVURL = 'https://hainan.lanzulive.com'; // 测试服请求地址 +export const DEVURL = 'https://yytx.eugyl.com'; // 测试服请求地址 // export const DEVURL = 'http://hainan.com'; // 测试服请求地址 -export const PRODURL = ''; // 正式服请求地址 +export const PRODURL = 'https://yytx.eugyl.com'; // 正式服请求地址 export const API_WXLOGIN = '/api/login'; //登录 diff --git a/common/http.js b/common/http.js index e613bfd..83617a1 100644 --- a/common/http.js +++ b/common/http.js @@ -95,7 +95,7 @@ function $http(url, data = {}, options = {}){ console.log('当前自动获取的aapid',autoappid) - options.appid = autoappid || 'wxeb58570b5e04d147'; + options.appid = autoappid || 'wx27c51a989127de12'; let user_info = uni.getStorageSync('userinfo') let user_token = user_info.token diff --git a/common/uploadFile.js b/common/uploadFile.js index c096e0e..2c4a6d0 100644 --- a/common/uploadFile.js +++ b/common/uploadFile.js @@ -33,7 +33,7 @@ const uploadFile = function (filePath, successc, failc) { var accountInfo = wx.getAccountInfoSync(); var autoappid = accountInfo.miniProgram.appId; - var uploadappid = autoappid || 'wxeb58570b5e04d147'; + var uploadappid = autoappid || 'wx27c51a989127de12'; uni.uploadFile({ url: url + url_a,//开发者服务器 url diff --git a/manifest.json b/manifest.json index e6bda00..25bbc5f 100644 --- a/manifest.json +++ b/manifest.json @@ -1,5 +1,5 @@ { - "name" : "hainan", + "name" : "EUPAYMENT", "appid" : "__UNI__935D19A", "description" : "", "versionName" : "1.0.0", @@ -50,7 +50,7 @@ "quickapp" : {}, /* 小程序特有相关 */ "mp-weixin" : { - "appid" : "wxb35ef055a4dd8ad4", + "appid" : "wx27c51a989127de12", "setting" : { "urlCheck" : false, "es6" : false, diff --git a/pages/login/index.vue b/pages/login/index.vue index f82a858..7c35ef7 100644 --- a/pages/login/index.vue +++ b/pages/login/index.vue @@ -3,7 +3,7 @@ - + {{ userInfo.nickname || '游客用户' }}