|
|
@@ -47,26 +47,27 @@ const HbcpreConstKey = {
|
|
|
};
|
|
|
|
|
|
const gUserAgent = `Mozilla/5.0 (iPhone; CPU iPhone OS 16_6_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.6 Mobile/15E148 Safari/604.1`;
|
|
|
+let gAppToken = `02z/K0Xp4ItXMROQyjLv+2PYeo7V55zbL5/ojIRYKE4=`;
|
|
|
const gCommonHeaders = {
|
|
|
- 'If-Modified-Since': `0`,
|
|
|
- 'Connection': `keep-alive`,
|
|
|
- 'Accept-Encoding': `gzip, deflate, br`,
|
|
|
- 'Sec-Fetch-Dest': `empty`,
|
|
|
- 'Content-Type': `application/json`,
|
|
|
- 'Sec-Fetch-Site': `same-site`,
|
|
|
- 'Origin': `https://luanshu.hbcpre.com`,
|
|
|
- 'Cache-Control': `no-cache`,
|
|
|
- 'User-Agent': gUserAgent,
|
|
|
- 'Authorization': ``,
|
|
|
- 'Sec-Fetch-Mode': `cors`,
|
|
|
- 'Host': `lsjk.hbcpre.com`,
|
|
|
- 'Referer': `https://luanshu.hbcpre.com/`,
|
|
|
- 'Pragma': `no-cache`,
|
|
|
- 'Accept': `*/*`,
|
|
|
- 'Accept-Language': `zh-CN,zh-Hans;q=0.9`
|
|
|
+ 'Sec-Fetch-Dest' : `empty`,
|
|
|
+ 'x-cloudbase-phone' : `13430389115`,
|
|
|
+ 'Connection' : `keep-alive`,
|
|
|
+ 'Accept-Encoding' : `gzip, deflate, br`,
|
|
|
+ 'trans-id' : `ea9cf9e9f7cf45adbebd67ce1314dcc5`,
|
|
|
+ 'Content-Type' : `application/json;charset=UTF-8`,
|
|
|
+ 'Sec-Fetch-Site' : `same-site`,
|
|
|
+ 'Origin' : `https://luanshu.hbcpre.com`,
|
|
|
+ 'app-name' : `m`,
|
|
|
+ 'User-Agent' : gUserAgent,
|
|
|
+ 'app-token' : gAppToken,
|
|
|
+ 'Sec-Fetch-Mode' : `cors`,
|
|
|
+ 'Cookie' : `JSESSIONID=${gAppToken}; app-token=${gAppToken}`,
|
|
|
+ 'Host' : `api.hbcpre.com`,
|
|
|
+ 'Referer' : `https://luanshu.hbcpre.com/`,
|
|
|
+ 'Accept-Language' : `zh-CN`,
|
|
|
+ 'Accept' : `application/json, text/plain, */*`
|
|
|
};
|
|
|
|
|
|
-
|
|
|
let gItemCntRwDict = {};
|
|
|
|
|
|
let gRetBody;
|
|
|
@@ -265,10 +266,7 @@ function checkHandleRequest() {
|
|
|
handleAwardRun();
|
|
|
break;
|
|
|
default:
|
|
|
- if (path.indexOf('/api/collection/indexdetail') > -1) {
|
|
|
- // 个人资产-单个产品类别详情
|
|
|
- // handleCollectionIdxDetail();
|
|
|
- } else if (path.indexOf('/mall/order/detail') > -1) {
|
|
|
+ if (path.indexOf('/mall/order/detail') > -1) {
|
|
|
// 订单详情
|
|
|
handleOrderDetail();
|
|
|
} else if (path.indexOf('/mall/works/info') > -1) {
|