Browse Source

调整。

master
yibo 7 years ago
parent
commit
f2fcec9a12
2 changed files with 2 additions and 4 deletions
  1. +0
    -2
      pages/login/login.js
  2. +2
    -2
      utils/net.js

+ 0
- 2
pages/login/login.js View File

@ -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) {


+ 2
- 2
utils/net.js View File

@ -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,
};


Loading…
Cancel
Save