|
@@ -106,9 +106,9 @@ const gCommonHeaders = {
|
|
|
let gPageData = {};
|
|
let gPageData = {};
|
|
|
|
|
|
|
|
// 忽略执行的本地领券状态
|
|
// 忽略执行的本地领券状态
|
|
|
-let gIgnoreCouponGotStatus = false;
|
|
|
|
|
|
|
+let gIgnoreCouponGotStatus = true;
|
|
|
// 忽略查询的领券状态
|
|
// 忽略查询的领券状态
|
|
|
-let gIgnoreActivityStatus = false;;
|
|
|
|
|
|
|
+let gIgnoreActivityStatus = true;;
|
|
|
|
|
|
|
|
async function Main() {
|
|
async function Main() {
|
|
|
if (magicJS.isStrictRequest) {
|
|
if (magicJS.isStrictRequest) {
|
|
@@ -859,12 +859,12 @@ async function sendCustomerOffer(activityCode, activityValue, channelSource = 'K
|
|
|
let traceid = 'fixed_innerid_KDAPP-96SS-HDY-1';
|
|
let traceid = 'fixed_innerid_KDAPP-96SS-HDY-1';
|
|
|
let offerAppid = '';
|
|
let offerAppid = '';
|
|
|
let buryData = {
|
|
let buryData = {
|
|
|
- "login_type": `Mozilla/5.0 (iPhone; CPU iPhone OS 16_6_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 iphone 14 pro AladdinHybrid/4.8.77 (PAEBank 6.23.0) AladdinBridge/3.0.0 subContracting/AppStore deviceId/AUUID_918d439ffcef935c2fd84d3a3e593b6523c916fc UnionPay/1.0 PABANK deviceType/1 networkState/WIFI KiwiBridge/1.0.0 device-dpr/3 device-dr/852*393 AppStyle/BZ bz-navbarHeight/309 dzTab-navbarHeight/327 pageActionId/${gPageActionId}`,
|
|
|
|
|
|
|
+ "login_type": `Mozilla/5.0 (iPhone; CPU iPhone OS 16_6_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 iphone 14 pro AladdinHybrid/4.8.77 (PAEBank 6.23.0) AladdinBridge/3.0.0 subContracting/AppStore deviceId/${gDeviceId} UnionPay/1.0 PABANK deviceType/1 networkState/WIFI KiwiBridge/1.0.0 device-dpr/3 device-dr/852*393 AppStyle/BZ bz-navbarHeight/309 dzTab-navbarHeight/327 pageActionId/${gPageActionId}`,
|
|
|
"idfa": "00000000-0000-0000-0000-000000000000",
|
|
"idfa": "00000000-0000-0000-0000-000000000000",
|
|
|
"osVersion": "16.6.1",
|
|
"osVersion": "16.6.1",
|
|
|
"memoryStatus": { "totalMemory": 5644, "usedMemory": 3700 + Math.ceil(160 * Math.random()) },
|
|
"memoryStatus": { "totalMemory": 5644, "usedMemory": 3700 + Math.ceil(160 * Math.random()) },
|
|
|
"language": "zh-Hans-CN",
|
|
"language": "zh-Hans-CN",
|
|
|
- "deviceId": "AUUID_918d439ffcef935c2fd84d3a3e593b6523c916fc",
|
|
|
|
|
|
|
+ "deviceId": gDeviceId,
|
|
|
"deviceType": "1",
|
|
"deviceType": "1",
|
|
|
"sourceIP": "10.4.175.51",
|
|
"sourceIP": "10.4.175.51",
|
|
|
"deviceName": "iPhone",
|
|
"deviceName": "iPhone",
|
|
@@ -882,6 +882,11 @@ async function sendCustomerOffer(activityCode, activityValue, channelSource = 'K
|
|
|
"sourceIPType": "04",
|
|
"sourceIPType": "04",
|
|
|
"subContracting": "AppStore"
|
|
"subContracting": "AppStore"
|
|
|
};
|
|
};
|
|
|
|
|
+ let modifyNoVpn = true;
|
|
|
|
|
+ if (modifyNoVpn) {
|
|
|
|
|
+ buryData.vpn = '0';
|
|
|
|
|
+ buryData.sourceIP = '14.145.199.18';
|
|
|
|
|
+ }
|
|
|
let reqData = {
|
|
let reqData = {
|
|
|
activityCode: activityCode,
|
|
activityCode: activityCode,
|
|
|
activityValue: activityValue,
|
|
activityValue: activityValue,
|