|
|
@@ -102,7 +102,7 @@ if (isGetCookie = typeof $request !== `undefined`) {
|
|
|
$.MBCUserAgent = $.info2['MBCUserAgent'];
|
|
|
$.ALBody = $.info2['Body'];
|
|
|
console.log(`\n===== 账号[${$.info?.USR_TEL || $.index}]开始签到 =====\n`);
|
|
|
- if (!$.info ? .MID || !$.DeviceId || !$.MBCUserAgent || !$.ALBody) {
|
|
|
+ if (!$.info?.MID || !$.DeviceId || !$.MBCUserAgent || !$.ALBody) {
|
|
|
message += `🎉 账号 [${$.info?.USR_TEL ? hideSensitiveData($.info?.USR_TEL, 3, 4) : $.index}] 缺少参数,请重新获取Cookie。\n`;
|
|
|
continue;
|
|
|
}
|
|
|
@@ -246,7 +246,7 @@ async function main() {
|
|
|
let opt = {
|
|
|
url: `https://yunbusiness.ccb.com/clp_coupon/txCtrl?txcode=A3341A115`,
|
|
|
headers: {
|
|
|
- "MID": $.info ? .MID,
|
|
|
+ "MID": $.info?.MID,
|
|
|
"Content-Type": "application/json;charset=utf-8",
|
|
|
"User-Agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 16_1_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148/CloudMercWebView/UnionPay/1.0 CCBLoongPay",
|
|
|
"Accept": "application/json,text/javascript,*/*",
|
|
|
@@ -316,7 +316,7 @@ async function getGift() {
|
|
|
let opt = {
|
|
|
url: `https://yunbusiness.ccb.com/clp_coupon/txCtrl?txcode=A3341C082`,
|
|
|
headers: {
|
|
|
- "MID": $.info ? .MID,
|
|
|
+ "MID": $.info?.MID,
|
|
|
"Content-Type": "application/json;charset=utf-8",
|
|
|
"User-Agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 16_1_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148/CloudMercWebView/UnionPay/1.0 CCBLoongPay",
|
|
|
"Accept": "application/json,text/javascript,*/*"
|