Browse Source

客户列表请求添加

master
chenxuhui 7 years ago
parent
commit
85dcb0d64c
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      pages/login/login.js

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

@ -10,7 +10,7 @@ var isBindWeixinPath = '/MainSystem/B3WeChatMiniProgram/Rpcs/CommonRpc/IsBindWei
var getOpenIdByCode = '/MainSystem/B3WeChatMiniProgram/Rpcs/CommonRpc/GetMiniOpenIdByCode';
var bindPath = "/MainSystem/B3WeChatMiniProgram/Rpcs/CommonRpc/Bind";
var getBindCustomer = '/MainSystem/B3WeChatMiniProgram/Rpcs/CommonRpc/GetBindCustomer';
var getCookie = '/MainSystem/MainSystem/Auth/WeixinLogin';
var getCookie = '/MainSystem/MainSystem/Auth/WeixinLogin'
var getCustomerList = '/MainSystem/B3WeChatMiniProgram/Rpcs/CustomerRpc/GetList';
/**
* 获取绑定客户ID及用户电话 参数1appID 2openID
@ -142,8 +142,9 @@ Page({
let params = [];
network.requestLoading(method, params, function(res) {
if (res.result.length > 0) {
var lastArr = that.data.customerArray.concat(res.result)
that.setData({
customerArray: res.result,
customerArray: lastArr,
})
}
})


Loading…
Cancel
Save