@iflyrpa/actions 1.2.16 → 1.2.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/common/FansTool/index.d.ts +3 -9
- package/dist/actions/common/sessionCheck/index.d.ts +16 -0
- package/dist/actions/getBaijiaohaoConfig/index.d.ts +1 -0
- package/dist/actions/getWeixinConfig/index.d.ts +16 -0
- package/dist/actions/searchAccountInfo/getBjhInfo.d.ts +3 -0
- package/dist/actions/searchAccountInfo/getTTInfo.d.ts +3 -0
- package/dist/actions/searchAccountInfo/getWxInfo.d.ts +3 -0
- package/dist/actions/searchAccountInfo/getXhsInfo.d.ts +3 -0
- package/dist/actions/searchAccountInfo/index.d.ts +8 -0
- package/dist/actions/searchAccountInfo/types.d.ts +44 -0
- package/dist/actions/searchPublishInfo/handleBjhData.d.ts +3 -0
- package/dist/actions/searchPublishInfo/handleTTData.d.ts +3 -0
- package/dist/actions/searchPublishInfo/handleWXData.d.ts +3 -0
- package/dist/actions/searchPublishInfo/handleXhsData.d.ts +3 -0
- package/dist/actions/searchPublishInfo/index.d.ts +15 -0
- package/dist/actions/searchPublishInfo/types.d.ts +52 -0
- package/dist/bundle.js +1495 -16
- package/dist/bundle.js.map +1 -1
- package/dist/index.d.ts +15 -6
- package/dist/index.js +1481 -13
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1481 -13
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -10,6 +10,672 @@ import * as __WEBPACK_EXTERNAL_MODULE_form_data_cf000082__ from "form-data";
|
|
|
10
10
|
import * as __WEBPACK_EXTERNAL_MODULE_node_buffer_fb286294__ from "node:buffer";
|
|
11
11
|
import * as __WEBPACK_EXTERNAL_MODULE_node_crypto_9ba42079__ from "node:crypto";
|
|
12
12
|
var __webpack_modules__ = {
|
|
13
|
+
"./src/utils/XhsXsCommonEnc.js": function(module) {
|
|
14
|
+
var encrypt_lookup = [
|
|
15
|
+
"Z",
|
|
16
|
+
"m",
|
|
17
|
+
"s",
|
|
18
|
+
"e",
|
|
19
|
+
"r",
|
|
20
|
+
"b",
|
|
21
|
+
"B",
|
|
22
|
+
"o",
|
|
23
|
+
"H",
|
|
24
|
+
"Q",
|
|
25
|
+
"t",
|
|
26
|
+
"N",
|
|
27
|
+
"P",
|
|
28
|
+
"+",
|
|
29
|
+
"w",
|
|
30
|
+
"O",
|
|
31
|
+
"c",
|
|
32
|
+
"z",
|
|
33
|
+
"a",
|
|
34
|
+
"/",
|
|
35
|
+
"L",
|
|
36
|
+
"p",
|
|
37
|
+
"n",
|
|
38
|
+
"g",
|
|
39
|
+
"G",
|
|
40
|
+
"8",
|
|
41
|
+
"y",
|
|
42
|
+
"J",
|
|
43
|
+
"q",
|
|
44
|
+
"4",
|
|
45
|
+
"2",
|
|
46
|
+
"K",
|
|
47
|
+
"W",
|
|
48
|
+
"Y",
|
|
49
|
+
"j",
|
|
50
|
+
"0",
|
|
51
|
+
"D",
|
|
52
|
+
"S",
|
|
53
|
+
"f",
|
|
54
|
+
"d",
|
|
55
|
+
"i",
|
|
56
|
+
"k",
|
|
57
|
+
"x",
|
|
58
|
+
"3",
|
|
59
|
+
"V",
|
|
60
|
+
"T",
|
|
61
|
+
"1",
|
|
62
|
+
"6",
|
|
63
|
+
"I",
|
|
64
|
+
"l",
|
|
65
|
+
"U",
|
|
66
|
+
"A",
|
|
67
|
+
"F",
|
|
68
|
+
"M",
|
|
69
|
+
"9",
|
|
70
|
+
"7",
|
|
71
|
+
"h",
|
|
72
|
+
"E",
|
|
73
|
+
"C",
|
|
74
|
+
"v",
|
|
75
|
+
"u",
|
|
76
|
+
"R",
|
|
77
|
+
"X",
|
|
78
|
+
"5"
|
|
79
|
+
];
|
|
80
|
+
let esm_typeof = {};
|
|
81
|
+
esm_typeof.A = function(t) {
|
|
82
|
+
return typeof t;
|
|
83
|
+
};
|
|
84
|
+
function encrypt_b64Encode(t) {
|
|
85
|
+
var e = 664, r = 634, n = 448, o = 599, i = 315, a = 416, u = 512, s = 361, c = 406, l = 487, f = 496, p = 333, h = 630, d = 639, v = 548, g = 582, m = 447, y = 468, w = 375, b = 331, _ = 149, E = 382, x = 265, k = 625, T = 570, S = 551, A = 582, L = 581, I = 638, R = 618, O = 606, C = 429, N = 651, P = 667, B = 817, M = 333, j = 567, F = 747, D = 561, q = 570, U = 676, G = 840, H = 240, V = {
|
|
86
|
+
udFrB: function(t, e) {
|
|
87
|
+
return t % e;
|
|
88
|
+
},
|
|
89
|
+
cCZFe: function(t, e) {
|
|
90
|
+
return t === e;
|
|
91
|
+
},
|
|
92
|
+
jevwl: function(t, e) {
|
|
93
|
+
return t - e;
|
|
94
|
+
},
|
|
95
|
+
aqlTy: function(t, e) {
|
|
96
|
+
return t + e;
|
|
97
|
+
},
|
|
98
|
+
rceYY: function(t, e) {
|
|
99
|
+
return t >> e;
|
|
100
|
+
},
|
|
101
|
+
OwjMq: function(t, e) {
|
|
102
|
+
return t & e;
|
|
103
|
+
},
|
|
104
|
+
kSGXO: function(t, e) {
|
|
105
|
+
return t << e;
|
|
106
|
+
},
|
|
107
|
+
veNiI: function(t, e) {
|
|
108
|
+
return t === e;
|
|
109
|
+
},
|
|
110
|
+
QLthP: function(t, e) {
|
|
111
|
+
return t + e;
|
|
112
|
+
},
|
|
113
|
+
wDtJz: function(t, e) {
|
|
114
|
+
return t + e;
|
|
115
|
+
},
|
|
116
|
+
nYqUQ: function(t, e) {
|
|
117
|
+
return t & e;
|
|
118
|
+
},
|
|
119
|
+
TCArD: function(t, e) {
|
|
120
|
+
return t << e;
|
|
121
|
+
},
|
|
122
|
+
RHteb: function(t, e) {
|
|
123
|
+
return t - e;
|
|
124
|
+
},
|
|
125
|
+
mZPJZ: function(t, e) {
|
|
126
|
+
return t < e;
|
|
127
|
+
},
|
|
128
|
+
zDETq: function(t, e, r, n) {
|
|
129
|
+
return t(e, r, n);
|
|
130
|
+
},
|
|
131
|
+
YlZGp: function(t, e) {
|
|
132
|
+
return t > e;
|
|
133
|
+
}
|
|
134
|
+
};
|
|
135
|
+
function W(t, e) {
|
|
136
|
+
return a0_0x10f4ac(e, t - -H);
|
|
137
|
+
}
|
|
138
|
+
for(var X = (W(-413, -442) + W(-e, -r) + "7")[W(-n, -o)]("|"), z = 0;;){
|
|
139
|
+
switch(X[z++]){
|
|
140
|
+
case "0":
|
|
141
|
+
var Y;
|
|
142
|
+
continue;
|
|
143
|
+
case "1":
|
|
144
|
+
var K = [];
|
|
145
|
+
continue;
|
|
146
|
+
case "2":
|
|
147
|
+
var J = V[W(-i, -a)]($, 3);
|
|
148
|
+
continue;
|
|
149
|
+
case "3":
|
|
150
|
+
var $ = t[W(-350, -u)];
|
|
151
|
+
continue;
|
|
152
|
+
case "4":
|
|
153
|
+
V[W(-s, -c)](J, 1) ? (Y = t[V[W(-l, -f)]($, 1)], K[W(-p, -346)](V[W(-h, -d)](encrypt_lookup[V[W(-503, -v)](Y, 2)] + encrypt_lookup[V[W(-g, -741)](V[W(-331, -m)](Y, 4), 63)], "=="))) : V[W(-y, -w)](J, 2) && (Y = V[W(-b, -_)](t[$ - 2], 8) + t[V[W(-l, -E)]($, 1)], K[W(-333, -x)](V[W(-k, -505)](V[W(-T, -S)](encrypt_lookup[Y >> 10], encrypt_lookup[V[W(-A, -L)](Y >> 4, 63)]) + encrypt_lookup[V[W(-I, -R)](V[W(-O, -C)](Y, 2), 63)], "=")));
|
|
154
|
+
continue;
|
|
155
|
+
case "5":
|
|
156
|
+
var Q = 16383;
|
|
157
|
+
continue;
|
|
158
|
+
case "6":
|
|
159
|
+
for(var Z = 0, tt = V[W(-509, -N)]($, J); V[W(-P, -B)](Z, tt); Z += Q)K[W(-M, -153)](V[W(-j, -F)](encrypt_encodeChunk, t, Z, V[W(-D, -413)](Z + Q, tt) ? tt : V[W(-q, -501)](Z, Q)));
|
|
160
|
+
continue;
|
|
161
|
+
case "7":
|
|
162
|
+
return K[W(-U, -G)]("");
|
|
163
|
+
}
|
|
164
|
+
break;
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
function encrypt_encodeUtf8(t) {
|
|
168
|
+
var e = 185, r = 410, n = 480, o = 222, i = 194, a = 165, u = 147, s = 290, c = 460, l = 472, f = 497, p = 462, h = 286, d = 209, v = 223, g = 590, m = {
|
|
169
|
+
bIGxm: function(t, e) {
|
|
170
|
+
return t(e);
|
|
171
|
+
},
|
|
172
|
+
MahgM: function(t, e) {
|
|
173
|
+
return t < e;
|
|
174
|
+
},
|
|
175
|
+
czxKn: function(t, e) {
|
|
176
|
+
return t === e;
|
|
177
|
+
},
|
|
178
|
+
clYIu: function(t, e) {
|
|
179
|
+
return t + e;
|
|
180
|
+
}
|
|
181
|
+
}, y = m[b(477, 488)](encodeURIComponent, t), w = [];
|
|
182
|
+
function b(t, e) {
|
|
183
|
+
return a0_0x10f4ac(t, e - g);
|
|
184
|
+
}
|
|
185
|
+
for(var _ = 0; m[b(333, e)](_, y[b(r, n)]); _++){
|
|
186
|
+
var E = y[b(o, 290)](_);
|
|
187
|
+
if (m[b(i, a)](E, "%")) {
|
|
188
|
+
var x = y[b(u, s)](m[b(574, 472)](_, 1)) + y[b(c, 290)](m[b(605, l)](_, 2)), k = parseInt(x, 16);
|
|
189
|
+
w[b(592, f)](k), _ += 2;
|
|
190
|
+
} else w[b(p, f)](E[b(217, h) + b(d, v)](0));
|
|
191
|
+
}
|
|
192
|
+
return w;
|
|
193
|
+
}
|
|
194
|
+
function sign_common(h) {
|
|
195
|
+
return encrypt_b64Encode(encrypt_encodeUtf8(JSON.stringify(h)));
|
|
196
|
+
}
|
|
197
|
+
function encrypt_tripletToBase64(t) {
|
|
198
|
+
var e = 11, r = 15, n = 199, o = 34, i = 4, a = 102, u = 276, s = 205, c = 218, l = 11, f = 115, p = 34, h = 161, d = 123, v = 335, g = {};
|
|
199
|
+
function m(t, e) {
|
|
200
|
+
return a0_0x10f4ac(e, t - v);
|
|
201
|
+
}
|
|
202
|
+
g[m(205, 328)] = function(t, e) {
|
|
203
|
+
return t + e;
|
|
204
|
+
}, g[m(e, 53)] = function(t, e) {
|
|
205
|
+
return t >> e;
|
|
206
|
+
}, g[m(r, n)] = function(t, e) {
|
|
207
|
+
return t & e;
|
|
208
|
+
}, g[m(o, i)] = function(t, e) {
|
|
209
|
+
return t >> e;
|
|
210
|
+
}, g[m(-a, -u)] = function(t, e) {
|
|
211
|
+
return t & e;
|
|
212
|
+
};
|
|
213
|
+
var y = g;
|
|
214
|
+
return y[m(s, c)](encrypt_lookup[63 & y[m(l, -75)](t, 18)], encrypt_lookup[y[m(r, f)](y[m(p, h)](t, 12), 63)]) + encrypt_lookup[t >> 6 & 63] + encrypt_lookup[y[m(-a, -d)](t, 63)];
|
|
215
|
+
}
|
|
216
|
+
function encrypt_encodeChunk(t, e, r) {
|
|
217
|
+
var n, o = 165, i = 246, a = 205, u = 353, s = 162, c = 17, l = 351, f = 191, p = 139, h = 79, d = 86, v = 233, g = 270, m = 166, y = {
|
|
218
|
+
hwomB: function(t, e) {
|
|
219
|
+
return t < e;
|
|
220
|
+
},
|
|
221
|
+
iHUeL: function(t, e) {
|
|
222
|
+
return t & e;
|
|
223
|
+
},
|
|
224
|
+
ELxEv: function(t, e) {
|
|
225
|
+
return t << e;
|
|
226
|
+
},
|
|
227
|
+
lBuRH: function(t, e) {
|
|
228
|
+
return t << e;
|
|
229
|
+
},
|
|
230
|
+
SkIJl: function(t, e) {
|
|
231
|
+
return t & e;
|
|
232
|
+
},
|
|
233
|
+
JYxWY: function(t, e) {
|
|
234
|
+
return t + e;
|
|
235
|
+
},
|
|
236
|
+
CxjtF: function(t, e) {
|
|
237
|
+
return t(e);
|
|
238
|
+
}
|
|
239
|
+
}, w = [];
|
|
240
|
+
function b(t, e) {
|
|
241
|
+
return a0_0x10f4ac(t, e - m);
|
|
242
|
+
}
|
|
243
|
+
for(var _ = e; y[b(-63, -o)](_, r); _ += 3)n = y[b(-i, -a)](y[b(-166, -124)](t[_], 16), 16711680) + y[b(-u, -205)](y[b(s, -c)](t[_ + 1], 8), 65280) + y[b(-l, -208)](t[y[b(-350, -f)](_, 2)], 255), w[b(p, 73)](y[b(h, d)](encrypt_tripletToBase64, n));
|
|
244
|
+
return w[b(-v, -g)]("");
|
|
245
|
+
}
|
|
246
|
+
function a0_0x3693(t, e) {
|
|
247
|
+
var r = [
|
|
248
|
+
"xUKNL",
|
|
249
|
+
"jUrZI",
|
|
250
|
+
"rviFu",
|
|
251
|
+
"join",
|
|
252
|
+
"get",
|
|
253
|
+
"LjDtD",
|
|
254
|
+
"ZJHyP",
|
|
255
|
+
"wOmGY",
|
|
256
|
+
"enumera",
|
|
257
|
+
"aONWR",
|
|
258
|
+
"string",
|
|
259
|
+
"kQpMi",
|
|
260
|
+
"mZPJZ",
|
|
261
|
+
"Ysiay",
|
|
262
|
+
"czxKn",
|
|
263
|
+
"|5|6|4|",
|
|
264
|
+
"prototy",
|
|
265
|
+
"jklmnop",
|
|
266
|
+
"MuYbw",
|
|
267
|
+
"diDwk",
|
|
268
|
+
"TRFtx",
|
|
269
|
+
"drDHI",
|
|
270
|
+
"WLARA",
|
|
271
|
+
"xyz0123",
|
|
272
|
+
"asBytes",
|
|
273
|
+
"|6|0|1|",
|
|
274
|
+
"JOtEi",
|
|
275
|
+
"Oialn",
|
|
276
|
+
"OQrEi",
|
|
277
|
+
"uPnXq",
|
|
278
|
+
"VWXYZab",
|
|
279
|
+
"cIbFa",
|
|
280
|
+
"qYuta",
|
|
281
|
+
"QDOZZ",
|
|
282
|
+
"MahgM",
|
|
283
|
+
"iRXZq",
|
|
284
|
+
"22098XlFGYn",
|
|
285
|
+
"mmLKn",
|
|
286
|
+
"jMcIE",
|
|
287
|
+
"stringi",
|
|
288
|
+
"[object",
|
|
289
|
+
"nYqUQ",
|
|
290
|
+
"jSgjk",
|
|
291
|
+
"ucyEo",
|
|
292
|
+
"iewJI",
|
|
293
|
+
"vgTwl",
|
|
294
|
+
"DnNGR",
|
|
295
|
+
"oBytes",
|
|
296
|
+
"Xtwzk",
|
|
297
|
+
"aqlTy",
|
|
298
|
+
"JWnPK",
|
|
299
|
+
"1|0|2|4",
|
|
300
|
+
"qrstuvw",
|
|
301
|
+
"_gg",
|
|
302
|
+
"QLthP",
|
|
303
|
+
"FJIWy",
|
|
304
|
+
"yRnhISG",
|
|
305
|
+
"pjUsr",
|
|
306
|
+
"KAwuh",
|
|
307
|
+
"Thhoa",
|
|
308
|
+
"jarkJ",
|
|
309
|
+
"WjRNN",
|
|
310
|
+
"asStrin",
|
|
311
|
+
"x3VT16I",
|
|
312
|
+
"357835LaQWjW",
|
|
313
|
+
"SkIJl",
|
|
314
|
+
"size",
|
|
315
|
+
"iyorr",
|
|
316
|
+
"iHUeL",
|
|
317
|
+
"tTanW",
|
|
318
|
+
"tNusJ",
|
|
319
|
+
"NiSrP",
|
|
320
|
+
"eAt",
|
|
321
|
+
"TCArD",
|
|
322
|
+
"a2r1ZQo",
|
|
323
|
+
"iamspam",
|
|
324
|
+
"bOnfu",
|
|
325
|
+
"UNSKg",
|
|
326
|
+
"HIJKLMN",
|
|
327
|
+
"ZfMKC",
|
|
328
|
+
"bJhXU",
|
|
329
|
+
"zwAAc",
|
|
330
|
+
"JYxWY",
|
|
331
|
+
"lUAFM97",
|
|
332
|
+
"mwaRe",
|
|
333
|
+
"EzYWD",
|
|
334
|
+
"replace",
|
|
335
|
+
"uOtUJ",
|
|
336
|
+
"__esMod",
|
|
337
|
+
"ViQWI",
|
|
338
|
+
"aCMFL",
|
|
339
|
+
"EAKSd",
|
|
340
|
+
"ule",
|
|
341
|
+
"pqnFP",
|
|
342
|
+
"qYDsL",
|
|
343
|
+
"270726pnaYfG",
|
|
344
|
+
"glBZG",
|
|
345
|
+
"OwjMq",
|
|
346
|
+
"YGrjc",
|
|
347
|
+
"ZhAcd",
|
|
348
|
+
"JDqFL",
|
|
349
|
+
"456789+",
|
|
350
|
+
"kEjQs",
|
|
351
|
+
"lWhbD",
|
|
352
|
+
"OaLTI",
|
|
353
|
+
"dXlgm",
|
|
354
|
+
"cVte9UJ",
|
|
355
|
+
"ctor",
|
|
356
|
+
"hwomB",
|
|
357
|
+
"wDtJz",
|
|
358
|
+
"constru",
|
|
359
|
+
"ABHuC",
|
|
360
|
+
"zDETq",
|
|
361
|
+
"SYNeA",
|
|
362
|
+
"BGbij",
|
|
363
|
+
"ionFq",
|
|
364
|
+
"QzaNS",
|
|
365
|
+
"7|3|5|4",
|
|
366
|
+
"YlZGp",
|
|
367
|
+
"Bjniw",
|
|
368
|
+
"ZITuN",
|
|
369
|
+
"KPTzH",
|
|
370
|
+
"HrBeq",
|
|
371
|
+
"xobsT",
|
|
372
|
+
"kXJkC",
|
|
373
|
+
"QSrEZ",
|
|
374
|
+
"ENXtO",
|
|
375
|
+
"FYbRJ",
|
|
376
|
+
"wOcza/L",
|
|
377
|
+
"_hh",
|
|
378
|
+
"dVXMb",
|
|
379
|
+
"ppkua",
|
|
380
|
+
"WgamZ",
|
|
381
|
+
"HuwCW",
|
|
382
|
+
"362424fnLCuh",
|
|
383
|
+
"charCod",
|
|
384
|
+
"HhPqg",
|
|
385
|
+
"ODunI",
|
|
386
|
+
"eJzqq",
|
|
387
|
+
"charAt",
|
|
388
|
+
"JGAgI",
|
|
389
|
+
"ZmserbB",
|
|
390
|
+
"TURcG",
|
|
391
|
+
"WyrqF",
|
|
392
|
+
"iYJzH",
|
|
393
|
+
"VIwfH",
|
|
394
|
+
"tzzOB",
|
|
395
|
+
"YgiCH",
|
|
396
|
+
"byyMQ",
|
|
397
|
+
"ELxEv",
|
|
398
|
+
"0DSfdik",
|
|
399
|
+
"HRihr",
|
|
400
|
+
"_ii",
|
|
401
|
+
"aDsrp",
|
|
402
|
+
"ble",
|
|
403
|
+
"jTGtW",
|
|
404
|
+
"configu",
|
|
405
|
+
"cXiYW",
|
|
406
|
+
"56kSpAsC",
|
|
407
|
+
"158KIldlA",
|
|
408
|
+
"oHQtNP+",
|
|
409
|
+
"BHavO",
|
|
410
|
+
"PCIlh",
|
|
411
|
+
"QatIf",
|
|
412
|
+
"IKyqh",
|
|
413
|
+
"Words",
|
|
414
|
+
"Qwnrg",
|
|
415
|
+
"44lQAgNu",
|
|
416
|
+
"cdefghi",
|
|
417
|
+
"nTwxD",
|
|
418
|
+
"RHteb",
|
|
419
|
+
"coqPr",
|
|
420
|
+
"rJwmI",
|
|
421
|
+
"aBoeK",
|
|
422
|
+
"default",
|
|
423
|
+
"exports",
|
|
424
|
+
"rceYY",
|
|
425
|
+
"isArray",
|
|
426
|
+
"mdKKO",
|
|
427
|
+
"kzxWE",
|
|
428
|
+
"DeBtm",
|
|
429
|
+
"tjjUn",
|
|
430
|
+
"vJEcD",
|
|
431
|
+
"LpfE8xz",
|
|
432
|
+
"bin",
|
|
433
|
+
"HKazo",
|
|
434
|
+
"rable",
|
|
435
|
+
"call",
|
|
436
|
+
"wordsTo",
|
|
437
|
+
"zBiyt",
|
|
438
|
+
"GrsGL",
|
|
439
|
+
"fqulF",
|
|
440
|
+
"jevwl",
|
|
441
|
+
"mxfLj",
|
|
442
|
+
"xlUnt",
|
|
443
|
+
"q42KWYj",
|
|
444
|
+
"endian",
|
|
445
|
+
"eEqDc",
|
|
446
|
+
"oyGAZ",
|
|
447
|
+
"bytesTo",
|
|
448
|
+
"OzjuJ",
|
|
449
|
+
"IfwWq",
|
|
450
|
+
"ize",
|
|
451
|
+
"6648810piiNEz",
|
|
452
|
+
"lTHdy",
|
|
453
|
+
"vDLZJ",
|
|
454
|
+
"stringT",
|
|
455
|
+
"A4NjFqY",
|
|
456
|
+
"GkjTz",
|
|
457
|
+
"eooJA",
|
|
458
|
+
"substr",
|
|
459
|
+
"veNiI",
|
|
460
|
+
"LYfDp",
|
|
461
|
+
"ljKsP",
|
|
462
|
+
"jJYWG",
|
|
463
|
+
"bcYAf",
|
|
464
|
+
"srikB",
|
|
465
|
+
"utf8",
|
|
466
|
+
"qTbeY",
|
|
467
|
+
"yqRzd",
|
|
468
|
+
"|3|5",
|
|
469
|
+
"bjbAy",
|
|
470
|
+
" Array]",
|
|
471
|
+
"rMbXP",
|
|
472
|
+
"u5wPHsO",
|
|
473
|
+
"test",
|
|
474
|
+
"gMIMC",
|
|
475
|
+
"Deyqv",
|
|
476
|
+
" argume",
|
|
477
|
+
"ABCDEFG",
|
|
478
|
+
"undefin",
|
|
479
|
+
"split",
|
|
480
|
+
"QTlsj",
|
|
481
|
+
"_isBuff",
|
|
482
|
+
"OPQRSTU",
|
|
483
|
+
"Illegal",
|
|
484
|
+
"loSen",
|
|
485
|
+
"navigat",
|
|
486
|
+
"ObwNo",
|
|
487
|
+
"qPbcq",
|
|
488
|
+
"7182692QogvXX",
|
|
489
|
+
"tvqSn",
|
|
490
|
+
"DGptJ",
|
|
491
|
+
"HhTfW",
|
|
492
|
+
"avIYx",
|
|
493
|
+
"defineP",
|
|
494
|
+
"PFQbW",
|
|
495
|
+
"CjFyM",
|
|
496
|
+
"toStrin",
|
|
497
|
+
"yMWXS",
|
|
498
|
+
"yMyOy",
|
|
499
|
+
"0XTdDgM",
|
|
500
|
+
"eXkru",
|
|
501
|
+
"_blocks",
|
|
502
|
+
"indexOf",
|
|
503
|
+
"mbBQr",
|
|
504
|
+
"lBuRH",
|
|
505
|
+
"HzGjH",
|
|
506
|
+
"HNErV",
|
|
507
|
+
"mEokX",
|
|
508
|
+
"userAge",
|
|
509
|
+
"UpmtD",
|
|
510
|
+
"sgomx",
|
|
511
|
+
"KDfKS",
|
|
512
|
+
"OTbSq",
|
|
513
|
+
"lxMGW",
|
|
514
|
+
"0|3|2|1",
|
|
515
|
+
"dfWyB",
|
|
516
|
+
"lWzAd",
|
|
517
|
+
"eyXTL",
|
|
518
|
+
"5624qreyZK",
|
|
519
|
+
"pow",
|
|
520
|
+
"IJstz",
|
|
521
|
+
"LMlMB",
|
|
522
|
+
"INlwI",
|
|
523
|
+
"lRulU",
|
|
524
|
+
"TCgZh",
|
|
525
|
+
"_digest",
|
|
526
|
+
"UBhIl",
|
|
527
|
+
"fLtZZ",
|
|
528
|
+
"FYSKq",
|
|
529
|
+
"2|8|0",
|
|
530
|
+
"IoCeZ",
|
|
531
|
+
" Object",
|
|
532
|
+
"UuTvI",
|
|
533
|
+
"lNKLD",
|
|
534
|
+
"String",
|
|
535
|
+
"Bytes",
|
|
536
|
+
"rBVvW",
|
|
537
|
+
"KblCWi+",
|
|
538
|
+
"pRaIH",
|
|
539
|
+
"roperty",
|
|
540
|
+
"vTINI",
|
|
541
|
+
"atLE",
|
|
542
|
+
"functio",
|
|
543
|
+
"Udqoy",
|
|
544
|
+
"nt ",
|
|
545
|
+
"htSWx",
|
|
546
|
+
"hEwRK",
|
|
547
|
+
"encodin",
|
|
548
|
+
"sCSVK",
|
|
549
|
+
"VuAZF",
|
|
550
|
+
"xeIIy",
|
|
551
|
+
"RBjMb",
|
|
552
|
+
"taTrq",
|
|
553
|
+
"vDLFJ",
|
|
554
|
+
"bPkya",
|
|
555
|
+
"HzimH",
|
|
556
|
+
"nCffO",
|
|
557
|
+
"BWbtU",
|
|
558
|
+
"2|8",
|
|
559
|
+
"slice",
|
|
560
|
+
"lxMGQ",
|
|
561
|
+
"tTiwe",
|
|
562
|
+
"JDhJB",
|
|
563
|
+
"rCode",
|
|
564
|
+
"gNDzY",
|
|
565
|
+
"wJkyu",
|
|
566
|
+
"cCZFe",
|
|
567
|
+
"RNGSl",
|
|
568
|
+
"floor",
|
|
569
|
+
"clYIu",
|
|
570
|
+
"vLiwz",
|
|
571
|
+
"BiNSE",
|
|
572
|
+
"MtYWB",
|
|
573
|
+
"fromCha",
|
|
574
|
+
"StNOc",
|
|
575
|
+
"|7|5|3|",
|
|
576
|
+
"9|1|4|6",
|
|
577
|
+
"length",
|
|
578
|
+
"UNYAE",
|
|
579
|
+
"pngG8yJ",
|
|
580
|
+
"hasOwnP",
|
|
581
|
+
"pYeWu",
|
|
582
|
+
"wTjkk",
|
|
583
|
+
"Bvk6/7=",
|
|
584
|
+
"KTmgk",
|
|
585
|
+
"bIGxm",
|
|
586
|
+
"readFlo",
|
|
587
|
+
"LFZch",
|
|
588
|
+
"_ff",
|
|
589
|
+
"1|3|4|2",
|
|
590
|
+
"binary",
|
|
591
|
+
"LLdJZ",
|
|
592
|
+
"ZofOU",
|
|
593
|
+
"6399uFPxTQ",
|
|
594
|
+
"push",
|
|
595
|
+
"YntPT",
|
|
596
|
+
"kSGXO",
|
|
597
|
+
"random",
|
|
598
|
+
"HfpCU",
|
|
599
|
+
"hECvuRX",
|
|
600
|
+
"getTime",
|
|
601
|
+
"iwSyV",
|
|
602
|
+
"alert",
|
|
603
|
+
"LKMcb",
|
|
604
|
+
"DJVdg",
|
|
605
|
+
"Hex",
|
|
606
|
+
"URzKO",
|
|
607
|
+
"CxjtF",
|
|
608
|
+
"ZVOCs",
|
|
609
|
+
"isBuffe",
|
|
610
|
+
"vGpbT",
|
|
611
|
+
"rotl",
|
|
612
|
+
"udFrB",
|
|
613
|
+
"CnbsH",
|
|
614
|
+
"crLST"
|
|
615
|
+
];
|
|
616
|
+
return r[t -= 131];
|
|
617
|
+
}
|
|
618
|
+
function a0_0x10f4ac(t, e) {
|
|
619
|
+
return a0_0x3693(e - -570, t);
|
|
620
|
+
}
|
|
621
|
+
var encrypt_mcr = function(t) {
|
|
622
|
+
var e = 67, r = 15, n = 164, o = 126, i = 137, a = 39, u = 176, s = 72, c = 56, l = 21, f = 35, p = 34, h = 35, d = 18, v = 25, g = 185, m = 1149, y = 744, w = 1295, b = 1248, _ = 1310, E = 1096, x = 1166, k = 1095, T = 1196, S = 1180, A = 1039, L = 976, R = 1347, I = 1117, O = 1168, C = 1233, N = 1157, P = 1006, B = 1122, M = 1277, j = 1288, F = 1271, D = 986, q = 162, U = {};
|
|
623
|
+
function H(t, e) {
|
|
624
|
+
return a0_0x10f4ac(e, t - q);
|
|
625
|
+
}
|
|
626
|
+
U[H(-73, -66)] = function(t, e) {
|
|
627
|
+
return t === e;
|
|
628
|
+
}, U[H(e, 186)] = function(t, e) {
|
|
629
|
+
return t < e;
|
|
630
|
+
}, U[H(-r, -n)] = function(t, e) {
|
|
631
|
+
return t ^ e;
|
|
632
|
+
}, U[H(r, -o)] = function(t, e) {
|
|
633
|
+
return t & e;
|
|
634
|
+
}, U[H(-i, -a)] = function(t, e) {
|
|
635
|
+
return t < e;
|
|
636
|
+
}, U[H(-175, -u)] = function(t, e) {
|
|
637
|
+
return t ^ e;
|
|
638
|
+
}, U[H(-59, s)] = function(t, e) {
|
|
639
|
+
return t ^ e;
|
|
640
|
+
}, U[H(-c, -l)] = function(t, e) {
|
|
641
|
+
return t >>> e;
|
|
642
|
+
}, U[H(f, p)] = function(t, e) {
|
|
643
|
+
return t >>> e;
|
|
644
|
+
};
|
|
645
|
+
for(var G, V, W = U, z = 3988292384, X = 256, Y = []; X--; Y[X] = W[H(h, -66)](G, 0))for(V = 8, G = X; V--;)G = W[H(r, d)](G, 1) ? W[H(35, v)](G, 1) ^ z : W[H(h, g)](G, 1);
|
|
646
|
+
return function(t) {
|
|
647
|
+
function e(t, e) {
|
|
648
|
+
return H(e - 1181, t);
|
|
649
|
+
}
|
|
650
|
+
if (W[e(m, 1108)]((0, esm_typeof.A)(t), e(y, 914))) {
|
|
651
|
+
for(var r = 0, n = -1; W[e(w, b)](r, t[e(_, 1233)]); ++r)n = W[e(E, x)](Y[W[e(k, T)](n, 255) ^ t[e(S, A) + e(1022, L)](r)], n >>> 8);
|
|
652
|
+
return W[e(R, 1166)](n, -1) ^ z;
|
|
653
|
+
}
|
|
654
|
+
for(r = 0, n = -1; W[e(I, 1044)](r, t[e(O, C)]); ++r)n = W[e(N, P)](Y[W[e(1229, B)](W[e(M, T)](n, 255), t[r])], W[e(j, 1125)](n, 8));
|
|
655
|
+
return W[e(F, B)](W[e(D, 1122)](n, -1), z);
|
|
656
|
+
};
|
|
657
|
+
}();
|
|
658
|
+
function GenXSCommon(a1cookie, x_t, x_s) {
|
|
659
|
+
let b1 = 'I38rHdgsjopgIvesdVwgIC+oIELmBZ5e3VwXLgFTIxS3bqwErFeexd0ekncAzMFYnqthIhJeSnMDKutRI3KsYorWHPtGrbV0P9WfIi/eWc6eYqtyQApPI37ekmR1QL+5Ii6sdnoeSfqYHqwl2qt5B0DoIvMzOZQqZVw7IxOeTqwr4qtiIkrOIi/skccxICLdI3Oe0utl2ADZsLveDSKsSPw5IEvsiutJOqw8BVwfPpdeTDWOIx4VIiu6ZPwbPut5IvlaLbgs3qtxIxes1VwHIkumIkIyejgsY/WTge7sjutKrZgedWI9gfKeYWZGI36eWPwyIEJefut0ocVAPBLLI3Aeiqt3cZ7sVom4IESyIhEqQd4AICY24F4gIiifpVwAICZVJo3sWWJs1qwiIvdef97e0ekKIi/e1piS8qwUIE7s1fds6WAeiVwqed5sdut3IxILbd6sdqtDbgKs0PwgIv8aI3z5rqwGBVtwzfTsKD7sdBdskut+Iioed/As1SiiIkKs0F6s3nVuIkge1Pt0IkVkwPwwNVtMI3/e1qtdIkKs1VwVIEesdutA+qwKsuw7IvrRIxDgJfIj2IJexVtVIhiKIi6eDVw/bz4zLadsYjmfIkWo4VtPmVw5IvAe3qtk+LJeTl5sTSEyIEJekdgs3PtsnPwqI35sSPt0Ih/sV04TIk0ejjNsfqw7Iv3sVut04B8qIkWyIvKsxFOekzNsdAKsYPtKIiMFI3MurVtKIvzjIh6s6lFut//sWqtaI3IYbuwl';
|
|
660
|
+
let h = {
|
|
661
|
+
s0: 3,
|
|
662
|
+
s1: "",
|
|
663
|
+
x0: "1",
|
|
664
|
+
x1: "3.6.8",
|
|
665
|
+
x2: "Mac OS",
|
|
666
|
+
x3: "xhs-pc-web",
|
|
667
|
+
x4: "4.20.1",
|
|
668
|
+
x5: a1cookie,
|
|
669
|
+
x6: x_t,
|
|
670
|
+
x7: x_s,
|
|
671
|
+
x8: b1,
|
|
672
|
+
x9: encrypt_mcr(x_t + x_s + b1),
|
|
673
|
+
x10: 1
|
|
674
|
+
};
|
|
675
|
+
return sign_common(h);
|
|
676
|
+
}
|
|
677
|
+
module.exports = GenXSCommon;
|
|
678
|
+
},
|
|
13
679
|
"./src/utils/ttABEncrypt.js": function(module, __unused_webpack_exports, __webpack_require__) {
|
|
14
680
|
module = __webpack_require__.nmd(module);
|
|
15
681
|
const a0_0x45db08 = a0_0x4b0d;
|
|
@@ -1123,7 +1789,9 @@ class Http {
|
|
|
1123
1789
|
};
|
|
1124
1790
|
}
|
|
1125
1791
|
constructor(config){
|
|
1126
|
-
this.apiClient = __WEBPACK_EXTERNAL_MODULE_axios__["default"].create(
|
|
1792
|
+
this.apiClient = __WEBPACK_EXTERNAL_MODULE_axios__["default"].create({
|
|
1793
|
+
...config
|
|
1794
|
+
});
|
|
1127
1795
|
}
|
|
1128
1796
|
addResponseInterceptor(findError) {
|
|
1129
1797
|
this.apiClient.interceptors.response.use((response)=>{
|
|
@@ -1378,7 +2046,8 @@ const errnoMap = {
|
|
|
1378
2046
|
401100032: "异常,请检查图片(如:格式、版权、合规性等)。",
|
|
1379
2047
|
20040034: "封面图片推荐jpg、png格式,不支持gif格式。",
|
|
1380
2048
|
20040124: "服务器异常,请稍后重试!",
|
|
1381
|
-
20040001: "当前用户未登录,请登陆后重试!"
|
|
2049
|
+
20040001: "当前用户未登录,请登陆后重试!",
|
|
2050
|
+
401100025: "该应用不支持此媒资类型"
|
|
1382
2051
|
};
|
|
1383
2052
|
const mockAction = async (task, params)=>{
|
|
1384
2053
|
const { baijiahaoSingleCover, baijiahaoMultCover, baijiahaoCoverType } = params.settingInfo;
|
|
@@ -1624,7 +2293,7 @@ const rpaAction = async (task, params)=>{
|
|
|
1624
2293
|
const findActivity = activityFormItem.locator(".cheetah-form-item-control").getByText(name, {
|
|
1625
2294
|
exact: true
|
|
1626
2295
|
});
|
|
1627
|
-
if (await findActivity.count() > 0) findActivity.first().locator("..").click();
|
|
2296
|
+
if (await findActivity.count() > 0) await findActivity.first().locator("..").click();
|
|
1628
2297
|
}
|
|
1629
2298
|
}
|
|
1630
2299
|
const { articleId, message } = await new Promise(async (resolve)=>{
|
|
@@ -1641,7 +2310,7 @@ const rpaAction = async (task, params)=>{
|
|
|
1641
2310
|
};
|
|
1642
2311
|
page.on("response", handleResponse);
|
|
1643
2312
|
const operatorContainer = page.locator(".editor-component-operator");
|
|
1644
|
-
if ("draft" === params.saveType) operatorContainer.locator(".op-btn-outter-content").filter({
|
|
2313
|
+
if ("draft" === params.saveType) await operatorContainer.locator(".op-btn-outter-content").filter({
|
|
1645
2314
|
hasText: "存草稿"
|
|
1646
2315
|
}).locator("button").click();
|
|
1647
2316
|
else if (params.settingInfo.timer) {
|
|
@@ -1706,7 +2375,7 @@ const rpaAction = async (task, params)=>{
|
|
|
1706
2375
|
await page.locator(".cheetah-modal-confirm-btns button").filter({
|
|
1707
2376
|
hasText: "定时发布"
|
|
1708
2377
|
}).click();
|
|
1709
|
-
} else operatorContainer.locator(".op-btn-outter-content").filter({
|
|
2378
|
+
} else await operatorContainer.locator(".op-btn-outter-content").filter({
|
|
1710
2379
|
hasText: /^发布/
|
|
1711
2380
|
}).locator("button").click();
|
|
1712
2381
|
});
|
|
@@ -1811,12 +2480,20 @@ const getBaijiahaoConfig = async (_task, params)=>{
|
|
|
1811
2480
|
type: "news"
|
|
1812
2481
|
}
|
|
1813
2482
|
});
|
|
1814
|
-
|
|
2483
|
+
const data = res?.data?.article.activity_list.map((_item)=>({
|
|
1815
2484
|
id: _item.id,
|
|
1816
2485
|
name: _item.name,
|
|
1817
2486
|
detail: _item.detail,
|
|
1818
2487
|
is_enable: _item.is_enable
|
|
1819
|
-
})) ?? []
|
|
2488
|
+
})) ?? [];
|
|
2489
|
+
data.push({
|
|
2490
|
+
id: "bjh_publish_num_left",
|
|
2491
|
+
name: "账号剩余发文数",
|
|
2492
|
+
detail: "",
|
|
2493
|
+
is_enable: 1,
|
|
2494
|
+
publish_num_left: res.data.ability.publish_num_left
|
|
2495
|
+
});
|
|
2496
|
+
return (0, __WEBPACK_EXTERNAL_MODULE__iflyrpa_share_f7afdc8c__.success)(data, "获取百家号配置项成功!");
|
|
1820
2497
|
};
|
|
1821
2498
|
const searchToutiaoTopicList = async (_task, params)=>{
|
|
1822
2499
|
const http = new Http({
|
|
@@ -1983,7 +2660,7 @@ class XsEncrypt {
|
|
|
1983
2660
|
this.iv = __WEBPACK_EXTERNAL_MODULE_node_buffer_fb286294__.Buffer.from("4uzjr7mbsibcaldp", "utf8");
|
|
1984
2661
|
}
|
|
1985
2662
|
}
|
|
1986
|
-
const
|
|
2663
|
+
const searchXiaohongshuTopicList_xsEncrypt = new XsEncrypt();
|
|
1987
2664
|
const searchXiaohongshuTopicList = async (_task, params)=>{
|
|
1988
2665
|
const http = new Http({
|
|
1989
2666
|
headers: {
|
|
@@ -2011,9 +2688,9 @@ const searchXiaohongshuTopicList = async (_task, params)=>{
|
|
|
2011
2688
|
page: 1
|
|
2012
2689
|
}
|
|
2013
2690
|
};
|
|
2014
|
-
const topicDataStr =
|
|
2691
|
+
const topicDataStr = searchXiaohongshuTopicList_xsEncrypt.dumps(topicData);
|
|
2015
2692
|
const fatchTopic = `/web_api/sns/v1/search/topic${topicDataStr}`;
|
|
2016
|
-
const xs = await
|
|
2693
|
+
const xs = await searchXiaohongshuTopicList_xsEncrypt.encryptXs(fatchTopic, a1Cookie, xt);
|
|
2017
2694
|
const result = await http.api({
|
|
2018
2695
|
method: "post",
|
|
2019
2696
|
url: "https://edith.xiaohongshu.com/web_api/sns/v1/search/topic",
|
|
@@ -2563,6 +3240,770 @@ const BjhFansExport = async (_task, params)=>{
|
|
|
2563
3240
|
}, "获取粉丝数失败,请检查登陆有效性!");
|
|
2564
3241
|
}
|
|
2565
3242
|
};
|
|
3243
|
+
const TTSessionCheck = async (_task, params)=>{
|
|
3244
|
+
const http = new Http({
|
|
3245
|
+
headers: {
|
|
3246
|
+
cookie: params.cookies.map((it)=>`${it.name}=${it.value}`).join(";"),
|
|
3247
|
+
referer: "https://mp.toutiao.com/profile_v4/graphic/publish"
|
|
3248
|
+
}
|
|
3249
|
+
});
|
|
3250
|
+
try {
|
|
3251
|
+
const res = await http.api({
|
|
3252
|
+
method: "get",
|
|
3253
|
+
url: "https://mp.toutiao.com/mp/agw/creator_center/user_info",
|
|
3254
|
+
defaultErrorMsg: `头条号登录状态失效。`
|
|
3255
|
+
});
|
|
3256
|
+
return (0, __WEBPACK_EXTERNAL_MODULE__iflyrpa_share_f7afdc8c__.success)(0 === res.code ? {
|
|
3257
|
+
isValidSession: true
|
|
3258
|
+
} : {
|
|
3259
|
+
isValidSession: false
|
|
3260
|
+
}, "头条账号有效性检测完成!");
|
|
3261
|
+
} catch (error) {
|
|
3262
|
+
return (0, __WEBPACK_EXTERNAL_MODULE__iflyrpa_share_f7afdc8c__.success)({
|
|
3263
|
+
isValidSession: false
|
|
3264
|
+
}, "头条账号有效性检测失败!");
|
|
3265
|
+
}
|
|
3266
|
+
};
|
|
3267
|
+
const WxSessionCheck = async (_task, params)=>{
|
|
3268
|
+
const http = new Http({
|
|
3269
|
+
headers: {
|
|
3270
|
+
cookie: params.cookies.map((it)=>`${it.name}=${it.value}`).join(";")
|
|
3271
|
+
}
|
|
3272
|
+
});
|
|
3273
|
+
const fingerprint = "4695500bc93ab4ce8fb2692da6564e04";
|
|
3274
|
+
try {
|
|
3275
|
+
const res = await http.api({
|
|
3276
|
+
method: "get",
|
|
3277
|
+
url: "https://mp.weixin.qq.com/cgi-bin/appmsgpublish",
|
|
3278
|
+
params: {
|
|
3279
|
+
fingerprint,
|
|
3280
|
+
sub: "list",
|
|
3281
|
+
begin: 0,
|
|
3282
|
+
count: 10,
|
|
3283
|
+
query: "",
|
|
3284
|
+
type: 1011102103,
|
|
3285
|
+
show_type: "",
|
|
3286
|
+
free_publish_type: 1102103,
|
|
3287
|
+
sub_action: "list_ex",
|
|
3288
|
+
search_card: 0,
|
|
3289
|
+
token: params.token,
|
|
3290
|
+
lang: "zh_CN",
|
|
3291
|
+
f: "json",
|
|
3292
|
+
ajax: 1
|
|
3293
|
+
}
|
|
3294
|
+
});
|
|
3295
|
+
return (0, __WEBPACK_EXTERNAL_MODULE__iflyrpa_share_f7afdc8c__.success)(0 === res.base_resp.ret ? {
|
|
3296
|
+
isValidSession: true
|
|
3297
|
+
} : {
|
|
3298
|
+
isValidSession: false
|
|
3299
|
+
}, "微信账号有效性检测完成!");
|
|
3300
|
+
} catch (error) {
|
|
3301
|
+
return (0, __WEBPACK_EXTERNAL_MODULE__iflyrpa_share_f7afdc8c__.success)({
|
|
3302
|
+
isValidSession: false
|
|
3303
|
+
}, "微信账号有效性检测失败!");
|
|
3304
|
+
}
|
|
3305
|
+
};
|
|
3306
|
+
const XhsSessionCheck = async (_task, params)=>{
|
|
3307
|
+
const http = new Http({
|
|
3308
|
+
headers: {
|
|
3309
|
+
cookie: params.cookies.map((it)=>`${it.name}=${it.value}`).join(";"),
|
|
3310
|
+
referer: "https://creator.xiaohongshu.com/new/home?source=official"
|
|
3311
|
+
}
|
|
3312
|
+
});
|
|
3313
|
+
try {
|
|
3314
|
+
const res = await http.api({
|
|
3315
|
+
method: "get",
|
|
3316
|
+
url: "https://creator.xiaohongshu.com/api/galaxy/user/info"
|
|
3317
|
+
});
|
|
3318
|
+
return (0, __WEBPACK_EXTERNAL_MODULE__iflyrpa_share_f7afdc8c__.success)(0 === res.result ? {
|
|
3319
|
+
isValidSession: true
|
|
3320
|
+
} : {
|
|
3321
|
+
isValidSession: false
|
|
3322
|
+
}, "小红书账号有效性检测完成!");
|
|
3323
|
+
} catch (error) {
|
|
3324
|
+
return (0, __WEBPACK_EXTERNAL_MODULE__iflyrpa_share_f7afdc8c__.success)({
|
|
3325
|
+
isValidSession: false
|
|
3326
|
+
}, "小红书账号有效性检测完成!");
|
|
3327
|
+
}
|
|
3328
|
+
};
|
|
3329
|
+
const BjhSessionCheck = async (_task, params)=>{
|
|
3330
|
+
const http = new Http({
|
|
3331
|
+
headers: {
|
|
3332
|
+
cookie: params.cookies.map((it)=>`${it.name}=${it.value}`).join(";"),
|
|
3333
|
+
referer: "https://baijiahao.baidu.com/builder/rc/home"
|
|
3334
|
+
}
|
|
3335
|
+
});
|
|
3336
|
+
try {
|
|
3337
|
+
const res = await http.api({
|
|
3338
|
+
method: "get",
|
|
3339
|
+
url: "https://baijiahao.baidu.com/pcui/home/index",
|
|
3340
|
+
defaultErrorMsg: `百家号登录状态失效。`
|
|
3341
|
+
});
|
|
3342
|
+
return (0, __WEBPACK_EXTERNAL_MODULE__iflyrpa_share_f7afdc8c__.success)(0 === res.errno ? {
|
|
3343
|
+
isValidSession: true
|
|
3344
|
+
} : {
|
|
3345
|
+
isValidSession: false
|
|
3346
|
+
}, "百家号账号有效性检测完成!");
|
|
3347
|
+
} catch (error) {
|
|
3348
|
+
return (0, __WEBPACK_EXTERNAL_MODULE__iflyrpa_share_f7afdc8c__.success)({
|
|
3349
|
+
isValidSession: false
|
|
3350
|
+
}, "百家号账号有效性检测失败!");
|
|
3351
|
+
}
|
|
3352
|
+
};
|
|
3353
|
+
const types_errorResponse = (message, code = 500)=>({
|
|
3354
|
+
code,
|
|
3355
|
+
message,
|
|
3356
|
+
data: null
|
|
3357
|
+
});
|
|
3358
|
+
async function getBaijiahaoData(params) {
|
|
3359
|
+
try {
|
|
3360
|
+
const { token } = params;
|
|
3361
|
+
if (!token) return types_errorResponse("缺少token", 200);
|
|
3362
|
+
const http = new Http({
|
|
3363
|
+
headers: {
|
|
3364
|
+
cookie: params.cookies.map((it)=>`${it.name}=${it.value}`).join(";"),
|
|
3365
|
+
token: String(token),
|
|
3366
|
+
Referer: "https://baijiahao.baidu.com/builder/rc/home"
|
|
3367
|
+
}
|
|
3368
|
+
});
|
|
3369
|
+
const yesterday = TimeFormatter.format(new Date().setDate(new Date().getDate() - 1), "yyyyMMdd");
|
|
3370
|
+
const [fansData, readData, incomeData, yesterdayData] = await Promise.all([
|
|
3371
|
+
http.api({
|
|
3372
|
+
method: "get",
|
|
3373
|
+
url: "https://baijiahao.baidu.com/pcui/home/index"
|
|
3374
|
+
}),
|
|
3375
|
+
http.api({
|
|
3376
|
+
method: "get",
|
|
3377
|
+
url: "https://baijiahao.baidu.com/author/eco/statistic/getauthorhistory"
|
|
3378
|
+
}),
|
|
3379
|
+
http.api({
|
|
3380
|
+
method: "get",
|
|
3381
|
+
url: "https://baijiahao.baidu.com/author/eco/income4/homepageincome"
|
|
3382
|
+
}),
|
|
3383
|
+
http.api({
|
|
3384
|
+
method: "get",
|
|
3385
|
+
url: "https://baijiahao.baidu.com/author/eco/statistics/appStatistic",
|
|
3386
|
+
params: {
|
|
3387
|
+
type: "all",
|
|
3388
|
+
is_yesterday: false,
|
|
3389
|
+
start_day: yesterday,
|
|
3390
|
+
end_day: yesterday,
|
|
3391
|
+
stat: 0
|
|
3392
|
+
}
|
|
3393
|
+
})
|
|
3394
|
+
]);
|
|
3395
|
+
const bjhData = {
|
|
3396
|
+
fansNum: fansData.data.coreData.fansCount,
|
|
3397
|
+
fansNumYesterday: -1 == yesterdayData.data.data.fans_increase ? null : yesterdayData.data.data.fans_increase,
|
|
3398
|
+
readNum: readData.data.total.view_count,
|
|
3399
|
+
incomeNum: incomeData.data.all_income.total_income,
|
|
3400
|
+
incomeNumYesterday: -1 == incomeData.data.all_income.yesterday_income ? null : incomeData.data.all_income.yesterday_income,
|
|
3401
|
+
recommendNumYesterday: -1 == yesterdayData.data.data.recommend_count ? null : yesterdayData.data.data.recommend_count,
|
|
3402
|
+
readNumYesterday: -1 == yesterdayData.data.data.view_count ? null : yesterdayData.data.data.view_count,
|
|
3403
|
+
likeNumYesterday: -1 == yesterdayData.data.data.likes_count ? null : yesterdayData.data.data.likes_count,
|
|
3404
|
+
commentNumYesterday: -1 == yesterdayData.data.data.comment_count ? null : yesterdayData.data.data.comment_count
|
|
3405
|
+
};
|
|
3406
|
+
return (0, __WEBPACK_EXTERNAL_MODULE__iflyrpa_share_f7afdc8c__.success)(bjhData, "百家号平台数据获取成功!");
|
|
3407
|
+
} catch (error) {
|
|
3408
|
+
return types_errorResponse(error instanceof Error ? error.message : "百家号平台数据获取失败");
|
|
3409
|
+
}
|
|
3410
|
+
}
|
|
3411
|
+
async function getToutiaoData(params) {
|
|
3412
|
+
const { cookies } = params;
|
|
3413
|
+
try {
|
|
3414
|
+
const http = new Http({
|
|
3415
|
+
headers: {
|
|
3416
|
+
cookie: params.cookies.map((it)=>`${it.name}=${it.value}`).join(";"),
|
|
3417
|
+
referer: "https://mp.toutiao.com/profile_v4/graphic/publish"
|
|
3418
|
+
}
|
|
3419
|
+
});
|
|
3420
|
+
const [totalData, contentDataYesterday] = await Promise.all([
|
|
3421
|
+
http.api({
|
|
3422
|
+
method: "get",
|
|
3423
|
+
url: "https://mp.toutiao.com/mp/fe_api/home/merge_v2",
|
|
3424
|
+
params: {
|
|
3425
|
+
app_id: 1231
|
|
3426
|
+
}
|
|
3427
|
+
}),
|
|
3428
|
+
http.api({
|
|
3429
|
+
method: "get",
|
|
3430
|
+
url: "https://mp.toutiao.com/mp/agw/statistic/v2/content_stat",
|
|
3431
|
+
params: {
|
|
3432
|
+
type: 0,
|
|
3433
|
+
app_id: 1231
|
|
3434
|
+
}
|
|
3435
|
+
})
|
|
3436
|
+
]);
|
|
3437
|
+
const isReday = void 0 !== totalData.data.statistic.data.yesterday_read_count;
|
|
3438
|
+
const ttData = {
|
|
3439
|
+
fansNum: Number(totalData.data.statistic.data.total_subscribe_count),
|
|
3440
|
+
fansNumYesterday: void 0 !== totalData.data.statistic.data.yesterday_fans ? Number(totalData.data.statistic.data.yesterday_fans) : null,
|
|
3441
|
+
readNum: Number(totalData.data.statistic.data.total_read_play_count),
|
|
3442
|
+
incomeNum: totalData.data.statistic.data.total_income,
|
|
3443
|
+
incomeNumYesterday: totalData.data.statistic.data.is_yesterday_income_ready ? totalData.data.statistic.data.yesterday_income : null,
|
|
3444
|
+
showNumYesterday: isReday ? contentDataYesterday.author_stat.consume_data.impression_count : null,
|
|
3445
|
+
readNumYesterday: isReday ? contentDataYesterday.author_stat.consume_data.go_detail_count : null,
|
|
3446
|
+
likeNumYesterday: isReday ? contentDataYesterday.author_stat.interaction_data.digg_count : null,
|
|
3447
|
+
commentNumYesterday: isReday ? contentDataYesterday.author_stat.interaction_data.comment_count : null
|
|
3448
|
+
};
|
|
3449
|
+
return (0, __WEBPACK_EXTERNAL_MODULE__iflyrpa_share_f7afdc8c__.success)(ttData, "头条号粉丝数据获取成功!");
|
|
3450
|
+
} catch (error) {
|
|
3451
|
+
return types_errorResponse(error instanceof Error ? error.message : "头条号数据获取失败");
|
|
3452
|
+
}
|
|
3453
|
+
}
|
|
3454
|
+
async function getWeixinData(params) {
|
|
3455
|
+
const { token } = params;
|
|
3456
|
+
if (!token) return {
|
|
3457
|
+
code: 200,
|
|
3458
|
+
message: "缺少token",
|
|
3459
|
+
data: null
|
|
3460
|
+
};
|
|
3461
|
+
try {
|
|
3462
|
+
const { token } = params;
|
|
3463
|
+
if (!token) return types_errorResponse("缺少token", 200);
|
|
3464
|
+
const http = new Http({
|
|
3465
|
+
headers: {
|
|
3466
|
+
cookie: params.cookies.map((it)=>`${it.name}=${it.value}`).join(";")
|
|
3467
|
+
}
|
|
3468
|
+
});
|
|
3469
|
+
const userInfo = {
|
|
3470
|
+
originalCount: 0,
|
|
3471
|
+
totalUsers: 0,
|
|
3472
|
+
userIncrease: 0,
|
|
3473
|
+
yesterday: {
|
|
3474
|
+
read: 0,
|
|
3475
|
+
share: 0,
|
|
3476
|
+
subscribe: 0
|
|
3477
|
+
}
|
|
3478
|
+
};
|
|
3479
|
+
const userInfoHtml = await http.api({
|
|
3480
|
+
method: "get",
|
|
3481
|
+
url: "https://mp.weixin.qq.com/cgi-bin/home",
|
|
3482
|
+
params: {
|
|
3483
|
+
t: "home/index",
|
|
3484
|
+
token,
|
|
3485
|
+
lang: "zh_CN"
|
|
3486
|
+
}
|
|
3487
|
+
});
|
|
3488
|
+
const originalMatch = userInfoHtml.trim().match(/原创内容[\s\S]*?<mp-thousandth[^>]*>([\d,]+)<\/mp-thousandth>/i);
|
|
3489
|
+
if (originalMatch) userInfo.originalCount = parseInt(originalMatch[1].replace(/,/g, ''), 10);
|
|
3490
|
+
const totalUsersMatch = userInfoHtml.match(/总用户数[\s\S]*?<div[^>]*class=["']weui-desktop-user_sum["'][^>]*>[\s\S]*?<mp-thousandth[^>]*>([\d,]+)<\/mp-thousandth>/i);
|
|
3491
|
+
if (totalUsersMatch) userInfo.totalUsers = parseInt(totalUsersMatch[1].replace(/,/g, ''), 10);
|
|
3492
|
+
const increaseMatch = userInfoHtml.match(/weui-desktop-user_increase_num[^>]*>\s*([+-]?)\s*<mp-thousandth[^>]*>([\d,]+)<\/mp-thousandth>/i);
|
|
3493
|
+
if (increaseMatch) {
|
|
3494
|
+
const sign = '-' === increaseMatch[1] ? -1 : 1;
|
|
3495
|
+
userInfo.userIncrease = sign * parseInt(increaseMatch[2].replace(/,/g, ''), 10);
|
|
3496
|
+
}
|
|
3497
|
+
const readMatch = userInfoHtml.match(/昨日阅读[\s\S]*?<mp-thousandth[^>]*>([\d,]+)<\/mp-thousandth>/i);
|
|
3498
|
+
if (readMatch) userInfo.yesterday.read = parseInt(readMatch[1].replace(/,/g, ''), 10);
|
|
3499
|
+
const shareMatch = userInfoHtml.match(/昨日分享[\s\S]*?<mp-thousandth[^>]*>([\d,]+)<\/mp-thousandth>/i);
|
|
3500
|
+
if (shareMatch) userInfo.yesterday.share = parseInt(shareMatch[1].replace(/,/g, ''), 10);
|
|
3501
|
+
const subscribeMatch = userInfoHtml.match(/昨日新增关注[\s\S]*?<mp-thousandth[^>]*>([\d,]+)<\/mp-thousandth>/i);
|
|
3502
|
+
if (subscribeMatch) userInfo.yesterday.subscribe = parseInt(subscribeMatch[1].replace(/,/g, ''), 10);
|
|
3503
|
+
const wxData = {
|
|
3504
|
+
fansNum: userInfo.totalUsers,
|
|
3505
|
+
fansNumYesterday: userInfo.yesterday.subscribe,
|
|
3506
|
+
readNumYesterday: userInfo.yesterday.read,
|
|
3507
|
+
shareNumYesterday: userInfo.yesterday.share
|
|
3508
|
+
};
|
|
3509
|
+
return (0, __WEBPACK_EXTERNAL_MODULE__iflyrpa_share_f7afdc8c__.success)(wxData, "微信平台数据获取成功!");
|
|
3510
|
+
} catch (error) {
|
|
3511
|
+
return types_errorResponse(error instanceof Error ? error.message : "微信平台数据获取失败");
|
|
3512
|
+
}
|
|
3513
|
+
}
|
|
3514
|
+
async function getXiaohongshuData(params) {
|
|
3515
|
+
try {
|
|
3516
|
+
const a1Cookie = params.cookies.find((it)=>"a1" === it.name)?.value;
|
|
3517
|
+
if (!a1Cookie) return types_errorResponse("账号数据异常,请重新绑定账号后重试。", 200);
|
|
3518
|
+
const http = new Http({
|
|
3519
|
+
headers: {
|
|
3520
|
+
cookie: params.cookies.map((it)=>`${it.name}=${it.value}`).join(";"),
|
|
3521
|
+
referer: "https://creator.xiaohongshu.com",
|
|
3522
|
+
origin: "https://creator.xiaohongshu.com"
|
|
3523
|
+
}
|
|
3524
|
+
});
|
|
3525
|
+
const xsEncrypt = new XsEncrypt();
|
|
3526
|
+
const xt = Date.now().toString();
|
|
3527
|
+
const sevenDataUrl = "/api/galaxy/v2/creator/datacenter/account/base";
|
|
3528
|
+
const xs = await xsEncrypt.encryptXs(sevenDataUrl, a1Cookie, xt);
|
|
3529
|
+
const [overAllData, sevenData] = await Promise.all([
|
|
3530
|
+
http.api({
|
|
3531
|
+
method: "get",
|
|
3532
|
+
url: "https://creator.xiaohongshu.com/api/galaxy/creator/home/personal_info"
|
|
3533
|
+
}),
|
|
3534
|
+
http.api({
|
|
3535
|
+
method: "get",
|
|
3536
|
+
baseURL: "https://creator.xiaohongshu.com",
|
|
3537
|
+
url: sevenDataUrl,
|
|
3538
|
+
headers: {
|
|
3539
|
+
"x-s": xs,
|
|
3540
|
+
"x-t": xt
|
|
3541
|
+
}
|
|
3542
|
+
})
|
|
3543
|
+
]);
|
|
3544
|
+
const xhsData = {
|
|
3545
|
+
fansNum: overAllData.data.fans_count,
|
|
3546
|
+
favedNum: overAllData.data.faved_count,
|
|
3547
|
+
watchNumLastWeek: sevenData.data.seven.view_count,
|
|
3548
|
+
likeNumLastWeek: sevenData.data.seven.like_count,
|
|
3549
|
+
collectNumLastWeek: sevenData.data.seven.collect_count,
|
|
3550
|
+
commentNumLastWeek: sevenData.data.seven.comment_count,
|
|
3551
|
+
fansNumLastWeek: sevenData.data.seven.rise_fans_count,
|
|
3552
|
+
fansNumYesterday: sevenData.data.seven.rise_fans_list[0].count
|
|
3553
|
+
};
|
|
3554
|
+
return (0, __WEBPACK_EXTERNAL_MODULE__iflyrpa_share_f7afdc8c__.success)(xhsData, "小红书平台数据获取成功!");
|
|
3555
|
+
} catch (error) {
|
|
3556
|
+
return types_errorResponse(error instanceof Error ? error.message : "小红书平台数据获取失败");
|
|
3557
|
+
}
|
|
3558
|
+
}
|
|
3559
|
+
const SearchAccountInfo = async (_task, params)=>{
|
|
3560
|
+
const { platform } = params;
|
|
3561
|
+
switch(platform){
|
|
3562
|
+
case "toutiao":
|
|
3563
|
+
return getToutiaoData(params);
|
|
3564
|
+
case "xiaohongshu":
|
|
3565
|
+
return getXiaohongshuData(params);
|
|
3566
|
+
case "weixin":
|
|
3567
|
+
return getWeixinData(params);
|
|
3568
|
+
case "baijiahao":
|
|
3569
|
+
return getBaijiahaoData(params);
|
|
3570
|
+
default:
|
|
3571
|
+
return (0, __WEBPACK_EXTERNAL_MODULE__iflyrpa_share_f7afdc8c__.success)(null, "暂不支持该平台");
|
|
3572
|
+
}
|
|
3573
|
+
};
|
|
3574
|
+
const searchPublishInfo_types_errorResponse = (message, code = 500)=>({
|
|
3575
|
+
code,
|
|
3576
|
+
message,
|
|
3577
|
+
data: null
|
|
3578
|
+
});
|
|
3579
|
+
async function handleToutiaoData(params) {
|
|
3580
|
+
try {
|
|
3581
|
+
const { cookies, pageNum = 1, pageSize = 10, showOriginalData = false, onlySuccess = false } = params;
|
|
3582
|
+
const http = new Http({
|
|
3583
|
+
headers: {
|
|
3584
|
+
cookie: cookies.map((it)=>`${it.name}=${it.value}`).join(";")
|
|
3585
|
+
}
|
|
3586
|
+
});
|
|
3587
|
+
const visitedUid = await http.api({
|
|
3588
|
+
url: "https://mp.toutiao.com/mp/agw/creator_center/user_info?",
|
|
3589
|
+
method: "get",
|
|
3590
|
+
params: {
|
|
3591
|
+
app_id: 1231
|
|
3592
|
+
}
|
|
3593
|
+
});
|
|
3594
|
+
const articleInfo = await http.api({
|
|
3595
|
+
method: "get",
|
|
3596
|
+
url: "https://mp.toutiao.com/api/feed/mp_provider/v1/",
|
|
3597
|
+
params: {
|
|
3598
|
+
provider_type: "mp_provider",
|
|
3599
|
+
aid: "13",
|
|
3600
|
+
app_name: "news_article",
|
|
3601
|
+
category: "mp_all",
|
|
3602
|
+
channel: "",
|
|
3603
|
+
stream_api_version: "88",
|
|
3604
|
+
genre_type_switch: '{"repost":1,"small_video":1,"toutiao_graphic":1,"weitoutiao":1,"xigua_video":1}',
|
|
3605
|
+
device_platform: "pc",
|
|
3606
|
+
platform_id: "0",
|
|
3607
|
+
visited_uid: visitedUid.user_id_str,
|
|
3608
|
+
offset: (pageNum - 1) * pageSize,
|
|
3609
|
+
count: pageSize,
|
|
3610
|
+
keyword: "",
|
|
3611
|
+
client_extra_params: `{"category":"mp_all","real_app_id":"1231","need_forward":"true","offset_mode":"1","page_index":"1","status":${onlySuccess ? "2" : "8"},"source":"0"}`,
|
|
3612
|
+
app_id: "1231"
|
|
3613
|
+
}
|
|
3614
|
+
});
|
|
3615
|
+
const articleCell = articleInfo.data.map((item)=>({
|
|
3616
|
+
title: item.assembleCell.itemCell.articleBase.title,
|
|
3617
|
+
imageUrl: item.assembleCell.itemCell.imageList.staggerFeedCover[0].url,
|
|
3618
|
+
createTime: item.assembleCell.itemCell.articleBase.publishTime,
|
|
3619
|
+
redirectUrl: item.assembleCell.itemCell.articleBase.articleURL,
|
|
3620
|
+
showNum: item.assembleCell.itemCell.itemCounter.showCount,
|
|
3621
|
+
readNum: item.assembleCell.itemCell.itemCounter.readCount,
|
|
3622
|
+
likeNum: item.assembleCell.itemCell.itemCounter.diggCount,
|
|
3623
|
+
commentNum: item.assembleCell.itemCell.itemCounter.commentCount,
|
|
3624
|
+
...showOriginalData ? {
|
|
3625
|
+
originalData: item
|
|
3626
|
+
} : {}
|
|
3627
|
+
}));
|
|
3628
|
+
const api_base_info_json = JSON.parse(articleInfo.api_base_info.app_extra_params);
|
|
3629
|
+
return (0, __WEBPACK_EXTERNAL_MODULE__iflyrpa_share_f7afdc8c__.success)({
|
|
3630
|
+
articleCell,
|
|
3631
|
+
...onlySuccess ? {
|
|
3632
|
+
pagination: {
|
|
3633
|
+
total: api_base_info_json.total_count,
|
|
3634
|
+
pageNum,
|
|
3635
|
+
pageSize
|
|
3636
|
+
}
|
|
3637
|
+
} : null
|
|
3638
|
+
}, "头条号文章文章获取成功");
|
|
3639
|
+
} catch (error) {
|
|
3640
|
+
return searchPublishInfo_types_errorResponse(error instanceof Error ? error.message : "头条号文章数据获取失败");
|
|
3641
|
+
}
|
|
3642
|
+
}
|
|
3643
|
+
async function handleWeixinData(params) {
|
|
3644
|
+
try {
|
|
3645
|
+
const { cookies, token, pageNum = 1, pageSize = 10, showOriginalData = false, onlySuccess = false, cursor, lastPage } = params;
|
|
3646
|
+
if (!token) return {
|
|
3647
|
+
code: 200,
|
|
3648
|
+
message: "缺少token",
|
|
3649
|
+
data: null
|
|
3650
|
+
};
|
|
3651
|
+
const http = new Http({
|
|
3652
|
+
headers: {
|
|
3653
|
+
cookie: cookies.map((it)=>`${it.name}=${it.value}`).join(";")
|
|
3654
|
+
}
|
|
3655
|
+
});
|
|
3656
|
+
const ParsePublishPage = (body)=>{
|
|
3657
|
+
const match = body.match(/publish_page\s*=\s*({[\s\S]*?});/);
|
|
3658
|
+
if (!match) throw new Error('无法提取 publish_page 字段');
|
|
3659
|
+
let parsedData = JSON.parse(match[1]);
|
|
3660
|
+
const decodeEntities = function(str, decode = false) {
|
|
3661
|
+
const encodeMap = [
|
|
3662
|
+
"&",
|
|
3663
|
+
"&",
|
|
3664
|
+
"<",
|
|
3665
|
+
"<",
|
|
3666
|
+
">",
|
|
3667
|
+
">",
|
|
3668
|
+
" ",
|
|
3669
|
+
" ",
|
|
3670
|
+
'"',
|
|
3671
|
+
""",
|
|
3672
|
+
"'",
|
|
3673
|
+
"'"
|
|
3674
|
+
];
|
|
3675
|
+
const decodeMap = [
|
|
3676
|
+
"'",
|
|
3677
|
+
"'",
|
|
3678
|
+
""",
|
|
3679
|
+
'"',
|
|
3680
|
+
" ",
|
|
3681
|
+
" ",
|
|
3682
|
+
">",
|
|
3683
|
+
">",
|
|
3684
|
+
"<",
|
|
3685
|
+
"<",
|
|
3686
|
+
"&",
|
|
3687
|
+
"&",
|
|
3688
|
+
"<",
|
|
3689
|
+
"<",
|
|
3690
|
+
">",
|
|
3691
|
+
">"
|
|
3692
|
+
];
|
|
3693
|
+
const map = decode ? decodeMap : encodeMap;
|
|
3694
|
+
let result = str;
|
|
3695
|
+
for(let i = 0; i < map.length; i += 2)result = result.replace(new RegExp(map[i], "g"), map[i + 1]);
|
|
3696
|
+
return result;
|
|
3697
|
+
};
|
|
3698
|
+
const finalData = {
|
|
3699
|
+
...parsedData,
|
|
3700
|
+
publish_list: parsedData.publish_list.map((item)=>{
|
|
3701
|
+
const decoded = decodeEntities(item.publish_info, true);
|
|
3702
|
+
const parsedInfo = JSON.parse(decoded);
|
|
3703
|
+
return {
|
|
3704
|
+
publish_type: item.publish_type,
|
|
3705
|
+
publish_info: parsedInfo
|
|
3706
|
+
};
|
|
3707
|
+
})
|
|
3708
|
+
};
|
|
3709
|
+
return finalData;
|
|
3710
|
+
};
|
|
3711
|
+
async function fetchArticles(begin, pageSize, token) {
|
|
3712
|
+
return http.api({
|
|
3713
|
+
method: "get",
|
|
3714
|
+
url: 'https://mp.weixin.qq.com/cgi-bin/appmsgpublish',
|
|
3715
|
+
params: {
|
|
3716
|
+
sub: "list",
|
|
3717
|
+
begin: begin,
|
|
3718
|
+
count: pageSize,
|
|
3719
|
+
token: token,
|
|
3720
|
+
lang: "zh_CN"
|
|
3721
|
+
}
|
|
3722
|
+
});
|
|
3723
|
+
}
|
|
3724
|
+
let size = onlySuccess ? 10 : pageSize > 20 ? 20 : pageSize;
|
|
3725
|
+
let begin = (lastPage ?? pageNum) - 1;
|
|
3726
|
+
let rawArticlesInfo = await fetchArticles(begin * size, size, token);
|
|
3727
|
+
let articlesInfo = ParsePublishPage(rawArticlesInfo);
|
|
3728
|
+
let articleCell = [];
|
|
3729
|
+
if (!onlySuccess && pageSize > 20) {
|
|
3730
|
+
let totalFetched = articlesInfo.publish_list.length;
|
|
3731
|
+
let nextPage = pageNum + 1;
|
|
3732
|
+
while(totalFetched < pageSize){
|
|
3733
|
+
const remaining = pageSize - totalFetched;
|
|
3734
|
+
const currentPageSize = remaining > 20 ? 20 : remaining;
|
|
3735
|
+
let _rawArticlesInfo = await fetchArticles((nextPage - 1) * 20, currentPageSize, token);
|
|
3736
|
+
let parsed = ParsePublishPage(_rawArticlesInfo);
|
|
3737
|
+
articlesInfo.publish_list = articlesInfo.publish_list.concat(parsed.publish_list);
|
|
3738
|
+
totalFetched = articlesInfo.publish_list.length;
|
|
3739
|
+
if (parsed.publish_list.length < currentPageSize) break;
|
|
3740
|
+
nextPage++;
|
|
3741
|
+
}
|
|
3742
|
+
}
|
|
3743
|
+
let nextPage = false;
|
|
3744
|
+
if (onlySuccess) {
|
|
3745
|
+
let filteredList = articlesInfo.publish_list.filter((item)=>-1 == item.publish_info.appmsg_info[0].content_url.indexOf("tempkey")).map((item)=>item.publish_info);
|
|
3746
|
+
if (cursor) {
|
|
3747
|
+
const cursorIndex = filteredList.findIndex((item)=>item.msgid === cursor);
|
|
3748
|
+
if (-1 !== cursorIndex) filteredList = filteredList.slice(cursorIndex + 1);
|
|
3749
|
+
}
|
|
3750
|
+
let totalFetched = filteredList.length;
|
|
3751
|
+
while(totalFetched < pageSize && begin * size < articlesInfo.total_count){
|
|
3752
|
+
begin += 1;
|
|
3753
|
+
let nextRawArticlesInfo = await fetchArticles(begin * size, size, token);
|
|
3754
|
+
let nextArticlesInfo = ParsePublishPage(nextRawArticlesInfo);
|
|
3755
|
+
const newFiltered = nextArticlesInfo.publish_list.filter((item)=>-1 == item.publish_info.appmsg_info[0].content_url.indexOf("tempkey")).map((item)=>item.publish_info);
|
|
3756
|
+
filteredList = filteredList.concat(newFiltered);
|
|
3757
|
+
totalFetched = filteredList.length;
|
|
3758
|
+
}
|
|
3759
|
+
filteredList = filteredList.slice(0, pageSize);
|
|
3760
|
+
totalFetched = filteredList.length;
|
|
3761
|
+
if (totalFetched >= pageSize && begin * size < articlesInfo.total_count) {
|
|
3762
|
+
let nextRawArticlesInfo = await fetchArticles((begin + 1) * size, size, token);
|
|
3763
|
+
let nextArticlesInfo = ParsePublishPage(nextRawArticlesInfo);
|
|
3764
|
+
nextPage = nextArticlesInfo.publish_list.length > 0 && nextArticlesInfo.publish_list.some((item)=>-1 == item.publish_info.appmsg_info[0].content_url.indexOf("tempkey"));
|
|
3765
|
+
}
|
|
3766
|
+
const lastMsgId = filteredList.length > 0 ? filteredList[filteredList.length - 1].msgid : void 0;
|
|
3767
|
+
articleCell = filteredList.map((item)=>({
|
|
3768
|
+
title: item.appmsg_info[0].title,
|
|
3769
|
+
imageUrl: item.appmsg_info[0].cover,
|
|
3770
|
+
createTime: item.appmsg_info[0].line_info.send_time,
|
|
3771
|
+
redirectUrl: item.appmsg_info[0].content_url,
|
|
3772
|
+
readNum: item.appmsg_info[0].read_num,
|
|
3773
|
+
likeNum: item.appmsg_info[0].old_like_num,
|
|
3774
|
+
shareNum: item.appmsg_info[0].share_num,
|
|
3775
|
+
recommendNum: item.appmsg_info[0].like_num,
|
|
3776
|
+
...showOriginalData ? {
|
|
3777
|
+
originalData: item
|
|
3778
|
+
} : {}
|
|
3779
|
+
}));
|
|
3780
|
+
return (0, __WEBPACK_EXTERNAL_MODULE__iflyrpa_share_f7afdc8c__.success)({
|
|
3781
|
+
articleCell,
|
|
3782
|
+
pagination: {
|
|
3783
|
+
nextPage,
|
|
3784
|
+
pageNum,
|
|
3785
|
+
pageSize,
|
|
3786
|
+
lastPage: begin + 1,
|
|
3787
|
+
cursor: lastMsgId
|
|
3788
|
+
}
|
|
3789
|
+
}, "微信文章文章获取成功");
|
|
3790
|
+
}
|
|
3791
|
+
articleCell = articlesInfo.publish_list.map((item)=>({
|
|
3792
|
+
title: item.publish_info.appmsg_info[0].title,
|
|
3793
|
+
imageUrl: item.publish_info.appmsg_info[0].cover,
|
|
3794
|
+
createTime: item.publish_info.appmsg_info[0].line_info.send_time,
|
|
3795
|
+
redirectUrl: item.publish_info.appmsg_info[0].content_url,
|
|
3796
|
+
readNum: item.publish_info.appmsg_info[0].read_num,
|
|
3797
|
+
likeNum: item.publish_info.appmsg_info[0].old_like_num,
|
|
3798
|
+
shareNum: item.publish_info.appmsg_info[0].share_num,
|
|
3799
|
+
recommendNum: item.publish_info.appmsg_info[0].like_num,
|
|
3800
|
+
...showOriginalData ? {
|
|
3801
|
+
originalData: item
|
|
3802
|
+
} : {}
|
|
3803
|
+
}));
|
|
3804
|
+
return (0, __WEBPACK_EXTERNAL_MODULE__iflyrpa_share_f7afdc8c__.success)({
|
|
3805
|
+
articleCell
|
|
3806
|
+
}, "微信文章文章获取成功");
|
|
3807
|
+
} catch (error) {
|
|
3808
|
+
return searchPublishInfo_types_errorResponse(error instanceof Error ? error.message : "微信文章数据获取失败");
|
|
3809
|
+
}
|
|
3810
|
+
}
|
|
3811
|
+
async function handleBaijiahaoData(params) {
|
|
3812
|
+
try {
|
|
3813
|
+
const { cookies, token, pageNum = 1, pageSize = 10, showOriginalData = false, onlySuccess = false } = params;
|
|
3814
|
+
if (!token) return {
|
|
3815
|
+
code: 200,
|
|
3816
|
+
message: "缺少token",
|
|
3817
|
+
data: null
|
|
3818
|
+
};
|
|
3819
|
+
const http = new Http({
|
|
3820
|
+
headers: {
|
|
3821
|
+
cookie: cookies.map((it)=>`${it.name}=${it.value}`).join(";"),
|
|
3822
|
+
token: token
|
|
3823
|
+
}
|
|
3824
|
+
});
|
|
3825
|
+
async function fetchArticles(pageNum, pageSize, onlySuccess = false) {
|
|
3826
|
+
return await http.api({
|
|
3827
|
+
method: "get",
|
|
3828
|
+
url: "https://baijiahao.baidu.com/pcui/article/lists",
|
|
3829
|
+
params: {
|
|
3830
|
+
currentPage: pageNum,
|
|
3831
|
+
pageSize: pageSize,
|
|
3832
|
+
search: "",
|
|
3833
|
+
type: "",
|
|
3834
|
+
collection: onlySuccess ? "publish" : "",
|
|
3835
|
+
clearBeforeFetch: false,
|
|
3836
|
+
dynamic: 1
|
|
3837
|
+
}
|
|
3838
|
+
});
|
|
3839
|
+
}
|
|
3840
|
+
const articleInfo = await fetchArticles(pageNum, pageSize, onlySuccess);
|
|
3841
|
+
let filtered = articleInfo.data.list.filter((item)=>"draft" !== item.status);
|
|
3842
|
+
const totalPage = articleInfo.data.page?.totalPage || 1;
|
|
3843
|
+
let currentPage = pageNum + 1;
|
|
3844
|
+
const usedPages = new Set();
|
|
3845
|
+
while(filtered.length < pageSize && currentPage <= totalPage){
|
|
3846
|
+
if (usedPages.has(currentPage)) {
|
|
3847
|
+
currentPage++;
|
|
3848
|
+
continue;
|
|
3849
|
+
}
|
|
3850
|
+
const res = await fetchArticles(currentPage, pageSize, onlySuccess);
|
|
3851
|
+
usedPages.add(currentPage);
|
|
3852
|
+
const validItems = res.data.list.filter((item)=>"draft" !== item.status);
|
|
3853
|
+
filtered.push(...validItems);
|
|
3854
|
+
currentPage++;
|
|
3855
|
+
}
|
|
3856
|
+
const final = filtered.slice(0, pageSize);
|
|
3857
|
+
const articleCell = final.map((item)=>({
|
|
3858
|
+
title: item.title,
|
|
3859
|
+
imageUrl: JSON.parse(item.cover_images)[0].src,
|
|
3860
|
+
createTime: Math.floor(new Date(item.publish_at.replace(/-/g, "/")).getTime() / 1000),
|
|
3861
|
+
redirectUrl: item.url,
|
|
3862
|
+
recommendNum: item.rec_amount | item.forward_num,
|
|
3863
|
+
collectNum: item.collection_amount,
|
|
3864
|
+
readNum: item.read_amount | item.read_num,
|
|
3865
|
+
likeNum: item.like_amount | item.praise_num,
|
|
3866
|
+
commentNum: item.comment_amount | item.comment_num,
|
|
3867
|
+
shareNum: item.share_amount,
|
|
3868
|
+
...showOriginalData ? {
|
|
3869
|
+
originalData: item
|
|
3870
|
+
} : {}
|
|
3871
|
+
}));
|
|
3872
|
+
return (0, __WEBPACK_EXTERNAL_MODULE__iflyrpa_share_f7afdc8c__.success)({
|
|
3873
|
+
articleCell,
|
|
3874
|
+
...onlySuccess ? {
|
|
3875
|
+
pagination: {
|
|
3876
|
+
total: articleInfo.data.page?.totalCount,
|
|
3877
|
+
pageNum,
|
|
3878
|
+
pageSize
|
|
3879
|
+
}
|
|
3880
|
+
} : null
|
|
3881
|
+
}, "百家号文章数据获取成功");
|
|
3882
|
+
} catch (error) {
|
|
3883
|
+
return searchPublishInfo_types_errorResponse(error instanceof Error ? error.message : "百家号文章数据获取失败");
|
|
3884
|
+
}
|
|
3885
|
+
}
|
|
3886
|
+
async function handleXiaohongshuData(params) {
|
|
3887
|
+
try {
|
|
3888
|
+
const { cookies, pageNum = 1, pageSize = 10, showOriginalData = false, onlySuccess = false } = params;
|
|
3889
|
+
const xsEncrypt = new XsEncrypt();
|
|
3890
|
+
const a1Cookie = cookies.find((it)=>"a1" === it.name)?.value;
|
|
3891
|
+
if (!a1Cookie) return {
|
|
3892
|
+
code: 200,
|
|
3893
|
+
message: "账号数据异常",
|
|
3894
|
+
data: null
|
|
3895
|
+
};
|
|
3896
|
+
if (onlySuccess && 10 != pageSize) return {
|
|
3897
|
+
code: 200,
|
|
3898
|
+
message: "小红书pageSize不可修改",
|
|
3899
|
+
data: null
|
|
3900
|
+
};
|
|
3901
|
+
const http = new Http({
|
|
3902
|
+
headers: {
|
|
3903
|
+
cookie: params.cookies.map((it)=>`${it.name}=${it.value}`).join(";"),
|
|
3904
|
+
referer: "https://creator.xiaohongshu.com",
|
|
3905
|
+
origin: "https://creator.xiaohongshu.com"
|
|
3906
|
+
}
|
|
3907
|
+
});
|
|
3908
|
+
async function fetchArticles(pageNum, a1Cookie, onlySuccess = false) {
|
|
3909
|
+
const xt = Date.now().toString();
|
|
3910
|
+
const serveUrl = `/web_api/sns/v5/creator/note/user/posted?tab=${onlySuccess ? 1 : 0}&page=${pageNum - 1}`;
|
|
3911
|
+
const xs = await xsEncrypt.encryptXs(serveUrl, a1Cookie, xt);
|
|
3912
|
+
return await http.api({
|
|
3913
|
+
method: "get",
|
|
3914
|
+
baseURL: "https://edith.xiaohongshu.com",
|
|
3915
|
+
url: serveUrl,
|
|
3916
|
+
headers: {
|
|
3917
|
+
"x-s": xs,
|
|
3918
|
+
"x-t": xt
|
|
3919
|
+
}
|
|
3920
|
+
});
|
|
3921
|
+
}
|
|
3922
|
+
const articleInfo = await fetchArticles(pageNum, a1Cookie, onlySuccess);
|
|
3923
|
+
let hasNextpage = -1 != articleInfo.data.page;
|
|
3924
|
+
let filtered = articleInfo.data.notes;
|
|
3925
|
+
let currentPage = pageNum + 1;
|
|
3926
|
+
const usedPages = new Set();
|
|
3927
|
+
while(filtered.length < pageSize && hasNextpage){
|
|
3928
|
+
if (usedPages.has(currentPage)) {
|
|
3929
|
+
currentPage++;
|
|
3930
|
+
continue;
|
|
3931
|
+
}
|
|
3932
|
+
const res = await fetchArticles(currentPage, a1Cookie, onlySuccess);
|
|
3933
|
+
usedPages.add(currentPage);
|
|
3934
|
+
const validItems = res.data.notes;
|
|
3935
|
+
filtered.push(...validItems);
|
|
3936
|
+
currentPage++;
|
|
3937
|
+
hasNextpage = -1 != res.data.page;
|
|
3938
|
+
}
|
|
3939
|
+
const final = filtered.slice(0, pageSize);
|
|
3940
|
+
const articleCell = final.map((item)=>({
|
|
3941
|
+
title: item.display_title,
|
|
3942
|
+
imageUrl: item.images_list[0].url,
|
|
3943
|
+
createTime: Math.floor(new Date(item.time.replace(/-/g, "/")).getTime() / 1000),
|
|
3944
|
+
redirectUrl: `https://www.xiaohongshu.com/explore/${item.id}?xsec_token=${item.xsec_token}&xsec_source=pc_creatormng`,
|
|
3945
|
+
readNum: item.view_count,
|
|
3946
|
+
likeNum: item.likes,
|
|
3947
|
+
commentNum: item.comments_count,
|
|
3948
|
+
collectNum: item.collected_count,
|
|
3949
|
+
shareNum: item.shared_count,
|
|
3950
|
+
...showOriginalData ? {
|
|
3951
|
+
originalData: item
|
|
3952
|
+
} : {}
|
|
3953
|
+
}));
|
|
3954
|
+
return (0, __WEBPACK_EXTERNAL_MODULE__iflyrpa_share_f7afdc8c__.success)({
|
|
3955
|
+
articleCell,
|
|
3956
|
+
...onlySuccess ? {
|
|
3957
|
+
pagination: {
|
|
3958
|
+
nextPage: hasNextpage,
|
|
3959
|
+
pageNum,
|
|
3960
|
+
pageSize
|
|
3961
|
+
}
|
|
3962
|
+
} : null
|
|
3963
|
+
}, "小红书文章数据获取成功");
|
|
3964
|
+
} catch (error) {
|
|
3965
|
+
return searchPublishInfo_types_errorResponse(error instanceof Error ? error.message : "小红书文章数据获取失败");
|
|
3966
|
+
}
|
|
3967
|
+
}
|
|
3968
|
+
const FetchArticles = async (_task, params)=>{
|
|
3969
|
+
const { platform } = params;
|
|
3970
|
+
switch(platform){
|
|
3971
|
+
case "toutiao":
|
|
3972
|
+
return handleToutiaoData(params);
|
|
3973
|
+
case "weixin":
|
|
3974
|
+
return handleWeixinData(params);
|
|
3975
|
+
case "baijiahao":
|
|
3976
|
+
return handleBaijiahaoData(params);
|
|
3977
|
+
case "xiaohongshu":
|
|
3978
|
+
return handleXiaohongshuData(params);
|
|
3979
|
+
default:
|
|
3980
|
+
return (0, __WEBPACK_EXTERNAL_MODULE__iflyrpa_share_f7afdc8c__.success)(null, "暂不支持该平台");
|
|
3981
|
+
}
|
|
3982
|
+
};
|
|
3983
|
+
const getWeixinConfig = async (_task, params)=>{
|
|
3984
|
+
const http = new Http({
|
|
3985
|
+
headers: {
|
|
3986
|
+
cookie: params.cookies.map((it)=>`${it.name}=${it.value}`).join(";")
|
|
3987
|
+
}
|
|
3988
|
+
});
|
|
3989
|
+
const fingerprint = "4695500bc93ab4ce8fb2692da6564e04";
|
|
3990
|
+
const res = await http.api({
|
|
3991
|
+
method: "get",
|
|
3992
|
+
url: "https://mp.weixin.qq.com/cgi-bin/masssendpage",
|
|
3993
|
+
params: {
|
|
3994
|
+
f: 'json',
|
|
3995
|
+
token: params.token,
|
|
3996
|
+
lang: 'zh_CN',
|
|
3997
|
+
ajax: 1,
|
|
3998
|
+
fingerprint: fingerprint,
|
|
3999
|
+
random: Math.random().toString()
|
|
4000
|
+
}
|
|
4001
|
+
});
|
|
4002
|
+
const filtered = {
|
|
4003
|
+
publishQuota: 0 === res.base_resp.ret ? res.quota_detail_list.filter((item)=>"kQuotaTypeMassSendNormal" === item.quota_type).map((item)=>item.quota_item_list) : []
|
|
4004
|
+
};
|
|
4005
|
+
return (0, __WEBPACK_EXTERNAL_MODULE__iflyrpa_share_f7afdc8c__.success)(filtered, 0 === res.base_resp.ret ? "微信配置信息获取成功!" : "微信配置信息获取失败!");
|
|
4006
|
+
};
|
|
2566
4007
|
const weitoutiaoPublish_mock_mockAction = async (task, params)=>{
|
|
2567
4008
|
const tmpCachePath = task.getTmpPath();
|
|
2568
4009
|
const http = new Http({
|
|
@@ -4084,6 +5525,7 @@ const weixinmpPublish = async (task, params)=>{
|
|
|
4084
5525
|
if ("mockApi" === params.actionType) return weixinmpPublish_mock_mockAction(task, params);
|
|
4085
5526
|
return executeAction(weixinmpPublish_mock_mockAction, weixinmpPublish_rpa_rpaAction)(task, params);
|
|
4086
5527
|
};
|
|
5528
|
+
const GenXSCommon = __webpack_require__("./src/utils/XhsXsCommonEnc.js");
|
|
4087
5529
|
const xiaohongshuPublish_mock_errnoMap = {
|
|
4088
5530
|
915: "所属C端账号手机号被修改,请重新登录",
|
|
4089
5531
|
914: "所属C端账号密码被修改,请重新登录",
|
|
@@ -4308,18 +5750,21 @@ const xiaohongshuPublish_mock_mockAction = async (task, params)=>{
|
|
|
4308
5750
|
const publishDataStr = mock_xsEncrypt.dumps(publishData);
|
|
4309
5751
|
const publishXt = Date.now().toString();
|
|
4310
5752
|
const publishXs = await mock_xsEncrypt.encryptXs(`/web_api/sns/v2/note${publishDataStr}`, a1Cookie, publishXt);
|
|
5753
|
+
const xscommon = GenXSCommon(a1Cookie, publishXt, publishXs);
|
|
4311
5754
|
const publishResult = await http.api({
|
|
4312
5755
|
method: "post",
|
|
4313
5756
|
url: "https://edith.xiaohongshu.com/web_api/sns/v2/note",
|
|
4314
5757
|
data: publishData,
|
|
4315
5758
|
headers: {
|
|
4316
5759
|
"x-s": publishXs,
|
|
4317
|
-
"x-t": publishXt
|
|
5760
|
+
"x-t": publishXt,
|
|
5761
|
+
"x-s-common": xscommon
|
|
4318
5762
|
},
|
|
4319
5763
|
defaultErrorMsg: "文章发布异常,请稍后重试。"
|
|
4320
5764
|
});
|
|
4321
5765
|
return (0, __WEBPACK_EXTERNAL_MODULE__iflyrpa_share_f7afdc8c__.success)(publishResult.data?.id);
|
|
4322
5766
|
};
|
|
5767
|
+
const rpa_GenXSCommon = __webpack_require__("./src/utils/XhsXsCommonEnc.js");
|
|
4323
5768
|
const rpa_xsEncrypt = new XsEncrypt();
|
|
4324
5769
|
const xiaohongshuPublish_rpa_rpaAction = async (task, params)=>{
|
|
4325
5770
|
const commonCookies = {
|
|
@@ -4372,9 +5817,11 @@ const xiaohongshuPublish_rpa_rpaAction = async (task, params)=>{
|
|
|
4372
5817
|
const publishDataStr = rpa_xsEncrypt.dumps(publishData);
|
|
4373
5818
|
return rpa_xsEncrypt.encryptXs(interceptUrls[5] + publishDataStr, a1Cookie, xt);
|
|
4374
5819
|
})() : rpa_xsEncrypt.encryptXs(fetchCoverUrl, a1Cookie, xt));
|
|
5820
|
+
const xscommon = rpa_GenXSCommon(a1Cookie, xt, xs);
|
|
4375
5821
|
const newHeaders = {
|
|
4376
5822
|
...request.headers(),
|
|
4377
|
-
'x-s': xs
|
|
5823
|
+
'x-s': xs,
|
|
5824
|
+
'x-s-common': xscommon
|
|
4378
5825
|
};
|
|
4379
5826
|
await route.continue({
|
|
4380
5827
|
headers: newHeaders
|
|
@@ -4536,7 +5983,7 @@ const xiaohongshuPublish = async (task, params)=>{
|
|
|
4536
5983
|
return executeAction(xiaohongshuPublish_mock_mockAction, xiaohongshuPublish_rpa_rpaAction)(task, params);
|
|
4537
5984
|
};
|
|
4538
5985
|
var package_namespaceObject = {
|
|
4539
|
-
i8: "1.2.
|
|
5986
|
+
i8: "1.2.17"
|
|
4540
5987
|
};
|
|
4541
5988
|
class Action {
|
|
4542
5989
|
constructor(task){
|
|
@@ -4558,6 +6005,24 @@ class Action {
|
|
|
4558
6005
|
} else this.task.logger.info(`${func.name} action success`);
|
|
4559
6006
|
return responseData;
|
|
4560
6007
|
}
|
|
6008
|
+
FetchArticles(params) {
|
|
6009
|
+
return this.bindTask(FetchArticles, params);
|
|
6010
|
+
}
|
|
6011
|
+
SearchAccountInfo(params) {
|
|
6012
|
+
return this.bindTask(SearchAccountInfo, params);
|
|
6013
|
+
}
|
|
6014
|
+
TTSessionCheck(params) {
|
|
6015
|
+
return this.bindTask(TTSessionCheck, params);
|
|
6016
|
+
}
|
|
6017
|
+
WxSessionCheck(params) {
|
|
6018
|
+
return this.bindTask(WxSessionCheck, params);
|
|
6019
|
+
}
|
|
6020
|
+
XhsSessionCheck(params) {
|
|
6021
|
+
return this.bindTask(XhsSessionCheck, params);
|
|
6022
|
+
}
|
|
6023
|
+
BjhSessionCheck(params) {
|
|
6024
|
+
return this.bindTask(BjhSessionCheck, params);
|
|
6025
|
+
}
|
|
4561
6026
|
searchToutiaoTopicList(params) {
|
|
4562
6027
|
return this.bindTask(searchToutiaoTopicList, params);
|
|
4563
6028
|
}
|
|
@@ -4582,6 +6047,9 @@ class Action {
|
|
|
4582
6047
|
getToutiaoConfig(params) {
|
|
4583
6048
|
return this.bindTask(getToutiaoConfig, params);
|
|
4584
6049
|
}
|
|
6050
|
+
getWeixinConfig(params) {
|
|
6051
|
+
return this.bindTask(getWeixinConfig, params);
|
|
6052
|
+
}
|
|
4585
6053
|
getBaijiahaoConfig(params) {
|
|
4586
6054
|
return this.bindTask(getBaijiahaoConfig, params);
|
|
4587
6055
|
}
|