|
|
|
@ -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及用户电话 参数1、appID 2、openID |
|
|
|
@ -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, |
|
|
|
}) |
|
|
|
} |
|
|
|
}) |
|
|
|
|