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B=Bn&7wn`R724(LmAun(m%HPHwY^&ozGuM
ziyNT*80*0fQwd_-8|3VWsP2pRy4-Uk8N~bQs>_FEL4WJkn5gW^wz_MTrY-
z+eXtncG6uzEyMJ~)GIqHZ!kKW&sLXt&X}?a1NInC7na$asIk&o<&eVI&Fq;BHv-%8$`>O`AsRo?KyTqK1
z9auZg{`5C1`@NmhzLnHmc#}!RzP&P>f4%-&>7!+3NqbxS6QuKR>~i$2Mz;GrzVK-z
z4E1xd((01}$;>;_A)p&~JI=AUlI0CNjYGf_Y>~?8)l1L;x>n^=z
zqeBkaTiIX}a`)F+k}Mi)yENGDyBs|U<4CW!e!FPc*SGO{^TU^YhO0YO{{5+~*5?k(
zn^2uO%M&<{UWC=%$nHFB<`lO2Nn3xRsg2)*6ce)m$IY0g+4o!Sue4~}U-yKoOE2FS
znlW2n+R`9xBWUa9vIEI2EyVcyS4*~A^kZk2R=({>r-}YVwI4=_3_Y5fnqCd24#xhH
zS(tfd<)-?+T}yvDd+_(p>wd8t4TU$JOea6Jq;agq!8m2o4QMbb83SxB+AWZg{|%KH~5mBp_LYmY*S7J$QH6yi`Y
zlzO>Lb|i=2bJh^)O@qAN%j__Ah}cA!zvim&?JrWkHrMLAtRjBK-DQiDLplT3zF1c&
zv|e|&L^RF+V#P(CL2!(|rTPiI3`g^wdVViHetVMhxzqSRylna0f$N`E^@+WC_va?P
nkGH}9+{W?aET6n=`rPj3pH}sm_4S`t^}lwj^-r$e;Ku&~v`=d>
literal 0
HcmV?d00001
diff --git a/utils/ICINPakage/ICINLocker.js b/utils/ICINPakage/ICINLocker.js
index c046bf4..307be74 100644
--- a/utils/ICINPakage/ICINLocker.js
+++ b/utils/ICINPakage/ICINLocker.js
@@ -2653,7 +2653,6 @@ export default class ICINLocker {
)
)
);
- console.log("2656", authCode);
authCodeLen = (authCode.length / 2).toString(16).PadLeft(2, "0");
}
let reqData =
@@ -2668,18 +2667,6 @@ export default class ICINLocker {
endTime +
authCodeLen +
authCode;
- console.log("2672", authUserId+"---",
- keyId+"---",
- userId+"---",
- _pwdNo+"---",
- pwd+"---",
- useCountLimit+"---",
- token+"---",
- startTime+"---",
- endTime+"---",
- authCodeLen+"---",
- authCode);
- console.log("2673", reqData, reqData.length, reqData.length / 2, (reqData.length / 2).toString(16), typeof ((reqData.length / 2).toString(16)));
let reqDataLength = (reqData.length / 2).toString(16).PadLeft(2, "0");
let dataModular = cmdId + subCmdId + reqDataLength + reqData;
let dataModularLength = (dataModular.length / 2)
@@ -3800,7 +3787,6 @@ export default class ICINLocker {
String.prototype.PadLeft = function (len, charStr) {
var s = this + "";
- console.log("3794", s);
return new Array(len - s.length + 1).join(charStr, "") + s;
};
@@ -3855,7 +3841,7 @@ function getIIData() {
function datasubpck(datahex) {
var arrayObj = new Array();
let dataPackageLength = packageSize
- console.log('分包大小', dataPackageLength, datahex)
+ console.log('分包大小', dataPackageLength)
for (var i = 0; i < datahex.length; i += dataPackageLength) {
// 预加 最大包长度,如果依然小于总数据长度,可以取最大包数据大小
if (i + dataPackageLength < datahex.length) {
diff --git a/utils/request.js b/utils/request.js
index 0a20089..f611aaa 100644
--- a/utils/request.js
+++ b/utils/request.js
@@ -1,7 +1,7 @@
const app = getApp()
let subDomain = '' // 子域名,没有就等于
-const API_BASE_URL = 'https://apartmentcloud.xiaozhisz.cn/' // 主域名
-// const API_BASE_URL = 'http://test.zhiweisz.cn/' // 主域名
+// const API_BASE_URL = 'https://apartmentcloud.xiaozhisz.cn/' // 主域名
+const API_BASE_URL = 'http://test.zhiweisz.cn/' // 主域名
// const API_BASE_URL = 'https://yktms-cs.utsz.edu.cn/' // 主域名
import JSEncrypt from '../js_sdk/jsencrypt-Rsa/jsencrypt/jsencrypt.min.js';
function setCode(str, text) {
@@ -11,8 +11,8 @@ function setCode(str, text) {
let data = encryptStr.encrypt(text.toString()); // 进行加密
return data;
}
-// let tenantIdEnter='100'
-let tenantIdEnter='1200'
+let tenantIdEnter='100'
+// let tenantIdEnter='1200'
function setTenantId(tenantId){
tenantIdEnter=tenantId
wx.setStorageSync('tenantId',tenantId)
@@ -507,4 +507,6 @@ module.exports = {
getDeviceOperateUserInfo:(data)=>requestOne('v1/device/isp/operateUserInfo','POST',data),
// bleUnlockRecord: (data) => request('v1/zg/bleUnlockRecord','POST', data),//上传蓝牙开锁记录
// bleRspRecord: (data) => request3('http://192.168.1.34:8900/iot/v1/ble/deviceReport','POST', data),//传输蓝牙返回数据包
+ getItemsPay:(data)=>request('v1/price/get/items','POST',data),//计算待支付金额,生成对应订单
+ getSiteOrder:(data)=>request('v1/price/get/siteOrder','POST',data),//获取计算待支付金额订单
}
\ No newline at end of file