From f2fcec9a12cec1c18bcea34392378f66eb01b3ed Mon Sep 17 00:00:00 2001 From: yibo <361071264@qq.com> Date: Thu, 13 Dec 2018 09:07:06 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/login/login.js | 2 -- utils/net.js | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/pages/login/login.js b/pages/login/login.js index a141372..1644588 100644 --- a/pages/login/login.js +++ b/pages/login/login.js @@ -26,8 +26,6 @@ var GetDriverByIdCard = "/MainSystem/B3MiniProgramRpc/XuRpcs/Driver/AccountRpc/G var GetDriverByOpenId = '/MainSystem/B3MiniProgramRpc/XuRpcs/Driver/AccountRpc/GetDriverByOpenId' // 没有使用的接口? // var isBindedPath = '/MainSystem/B3MiniProgramRpc/XuRpcs/Driver/AccountRpc/IsBinded'; -var GetBindDriverName = '/MainSystem/B3MiniProgramRpc/XuRpcs/Driver/AccountRpc/GetBindDriverName' - //获取openID 参数1、app.globalData.AppId 2、code function getOpenId(successaction) { diff --git a/utils/net.js b/utils/net.js index a0d299c..dd029d3 100644 --- a/utils/net.js +++ b/utils/net.js @@ -15,7 +15,7 @@ function requestLoading(method, params, successaction) { 'method': method, 'params': params }; - var baseUrl = app.globalData.baseUrl + "?appid=" + app.globalData.AppId + "&phone=" + app.globalData.Phone; + var baseUrl = app.globalData.baseUrl ;//+ "?appid=" + app.globalData.AppId + "&phone=" + app.globalData.Phone; wx.request({ url: baseUrl, data: data, @@ -56,7 +56,7 @@ function transfer_request(method, params, successaction) { var newData = { "DecryptCookie": "", "CustomerId": app.globalData.CustomerId, - "AppendUrlString": "?appid=" + app.globalData.AppId + "&phone=" + app.globalData.Phone, + //"AppendUrlString": "?appid=" + app.globalData.AppId + "&phone=" + app.globalData.Phone, "Method": method, "Data": params, };