MCPcopy Create free account
hub / github.com/smallfawn/QLScriptPublic / signIn2

Method signIn2

wxapp/wx_midea.js:100–167  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

98 }
99
100 async signIn2() {
101 try {
102 let options = {
103 fn: "签到2",
104 method: "post",
105 url: `https://mvip.midea.cn/mscp_mscp/api/cms_api/activity-center-im-service/im-svr/im/game/page/sign`,
106 headers: {
107 'User-Agent': 'Mozilla/5.0 (Linux; Android 10; MI 8 Lite Build/QKQ1.190910.002; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/130.0.6723.103 Mobile Safari/537.36 XWEB/1300333 MMWEBSDK/20240404 MMWEBID/2585 MicroMessenger/8.0.49.2600(0x2800315A) WeChat/arm64 Weixin NetType/WIFI Language/zh_CN ABI/arm64 miniProgram/wx03925a39ca94b161',
108 'Accept': 'application/json, text/plain, */*',
109 'Accept-Encoding': 'gzip, deflate, br, zstd',
110 'Content-Type': 'application/json',
111 'sec-ch-ua-platform': '"Android"',
112 'sec-ch-ua': '"Chromium";v="130", "Android WebView";v="130", "Not?A_Brand";v="99"',
113 'ucAccessToken': '' + this.at,
114 'sec-ch-ua-mobile': '?1',
115 'intercept': '1',
116 'apiKey': '3660663068894a0d9fea574c2673f3c0',
117 'Origin': 'https://mvip.midea.cn',
118 'X-Requested-With': 'com.tencent.mm',
119 'Sec-Fetch-Site': 'same-origin',
120 'Sec-Fetch-Mode': 'cors',
121 'Sec-Fetch-Dest': 'empty',
122 'Referer': 'https://mvip.midea.cn/mscp_weixin/apps/h5-pro-wx-interaction-marketing/',
123 'Accept-Language': 'zh-CN,zh;q=0.9,en-US;q=0.8,en;q=0.7',
124 },
125 body: JSON.stringify({
126 "headParams": {
127 "language": "CN",
128 "originSystem": "MCSP",
129 "timeZone": "",
130 "userCode": "",
131 "tenantCode": "",
132 "userKey": "TEST_",
133 "transactionId": ""
134 },
135 "pagination": null,
136 "restParams": {
137 "gameId": 22,
138 "actvId": "401671388248692763",
139 "rootCode": "MDHY",
140 "appCode": "MDHY_XCX",
141 "imUserId": "",
142 "uid": "",
143 "openId": "",
144 "unionId": ""
145 }
146 })
147 }
148
149 let result = await httpRequest(options);
150 //console.log(options);
151 //result = JSON.parse(result);
152 //console.log(result);
153 console.log(`✅${options.fn}成功🎉`);
154 msg += `✅${options.fn}成功🎉\n` + JSON.stringify(result);
155 console.log(JSON.stringify(result));
156 /*if (result["errcode"] == 0) {
157 console.log(`✅${options.fn}成功🎉`);

Callers 1

mainMethod · 0.95

Calls 2

httpRequestFunction · 0.70
logMethod · 0.45

Tested by

no test coverage detected