Skip to content

Commit d816001

Browse files
author
robot
committed
feat: 名单
1 parent 1b5fe52 commit d816001

File tree

5 files changed

+80
-75
lines changed

5 files changed

+80
-75
lines changed

config/blacklist.json

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
[
2+
"7971128",
3+
"hillsonziqiu",
4+
"mozro0327",
5+
"liucy0417",
6+
"evil-lin",
7+
"NchuYJ",
8+
"zc-githubs",
9+
"Placeholder",
10+
"Levix",
11+
"Erika2001",
12+
"LexieLiu01",
13+
"fangyh",
14+
"gitigor107",
15+
"size-of",
16+
"ARe99s",
17+
"zyycode",
18+
"zhangjihu0",
19+
"w-z-hub",
20+
"wanyongtao1988",
21+
"lzdFeiFei",
22+
"wz-hub",
23+
"Lizhao-Liu ",
24+
"LzdFeiFei",
25+
"ningali",
26+
"CoreJa",
27+
"LeiLeiW825",
28+
"yaofaqian",
29+
"XUHUIisxh",
30+
"peterolive",
31+
"dublue24",
32+
"wangyi123456",
33+
"Nicenonecb",
34+
"mokinzhao",
35+
"zhangyong-hub",
36+
37+
"peacejoylove86",
38+
"dmlseeing",
39+
"Endeavor-Gcl",
40+
"S-T-D",
41+
"MellonGuan",
42+
"daidaidashixiong666",
43+
"ImSingee",
44+
"Siomarry",
45+
"sun-unc",
46+
"youyoumx",
47+
"AMANKB",
48+
"luckyyangrun",
49+
"a-enll1",
50+
"kernelSue",
51+
"flashyy",
52+
"caimaoy",
53+
"mosihan",
54+
"prhCSer",
55+
"theonebemine",
56+
"ZZWHU",
57+
"zeningc",
58+
"Christina-Soda",
59+
"terryxing",
60+
"liuyangqiqaq",
61+
"guohui1992",
62+
"lsxlsxxslxsl",
63+
"learnprogram2",
64+
"lvhaohua",
65+
"fangyinghua",
66+
"for123jth",
67+
"sszqdz",
68+
"jenny08"
69+
]

config/index.js

Lines changed: 2 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
const blacklist = require("./blacklist.json");
12
const startTime = new Date("2021-05-09 16:00:00 GMT");
23
function join(s) {
34
return s
@@ -378,79 +379,10 @@ bugMarker
378379
wlsqhydfy
379380
kbfx1234
380381
wlsqhydfy
382+
hamish66889
381383
NorthSeacoder`),
382384
];
383385

384-
const blacklist = [
385-
"7971128",
386-
"hillsonziqiu",
387-
"mozro0327",
388-
"liucy0417",
389-
"evil-lin",
390-
"NchuYJ",
391-
"zc-githubs",
392-
"Placeholder",
393-
"Levix",
394-
"Erika2001",
395-
"LexieLiu01",
396-
"fangyh",
397-
"gitigor107",
398-
"size-of",
399-
"ARe99s",
400-
"zyycode",
401-
"zhangjihu0",
402-
"w-z-hub",
403-
"wanyongtao1988",
404-
"lzdFeiFei",
405-
"wz-hub",
406-
"Lizhao-Liu ",
407-
"LzdFeiFei",
408-
"ningali",
409-
"CoreJa",
410-
"LeiLeiW825",
411-
"yaofaqian",
412-
"XUHUIisxh",
413-
"peterolive",
414-
"dublue24",
415-
"wangyi123456",
416-
"Nicenonecb",
417-
"mokinzhao",
418-
"zhangyong-hub",
419-
420-
"peacejoylove86",
421-
"dmlseeing",
422-
"Endeavor-Gcl",
423-
"S-T-D",
424-
"MellonGuan",
425-
"daidaidashixiong666",
426-
"ImSingee",
427-
"Siomarry",
428-
"sun-unc",
429-
"youyoumx",
430-
"AMANKB",
431-
"luckyyangrun",
432-
"a-enll1",
433-
"kernelSue",
434-
"flashyy",
435-
"caimaoy",
436-
"mosihan",
437-
"prhCSer",
438-
"theonebemine",
439-
"ZZWHU",
440-
"zeningc",
441-
"Christina-Soda",
442-
"terryxing",
443-
"liuyangqiqaq",
444-
"guohui1992",
445-
"lsxlsxxslxsl",
446-
"learnprogram2",
447-
"lvhaohua",
448-
"fangyinghua",
449-
"for123jth",
450-
"sszqdz",
451-
"jenny08",
452-
];
453-
454386
const userList = [
455387
{
456388
login: "azl397985856",

middleware/mockUserInfo.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ module.exports = ({ whitelist = [] }) =>
55
}
66
ctx.session.user = {
77
// login: "lilyzhaoyilu",
8-
login: "YanFaFa",
8+
login: "zliu1413",
99
// login: "shuo0314",
1010
// login: "azl397985856",
1111
avatar_url: "https://avatars.githubusercontent.com/u/12479470?v=4",

static/users/generate.js

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ let incremental = true;
4141
if (getDay() - getDay(meta.users.lastUpdateTime) >= 7) {
4242
incremental = false;
4343
}
44-
run(incremental).then(() =>
45-
fs.writeFileSync(__dirname + "/index.json", JSON.stringify(users))
46-
);
44+
run(incremental).then(() => {
45+
fs.writeFileSync(__dirname + "/index.json", JSON.stringify(users));
46+
fs.writeFileSync(
47+
path.resolve(__dirname, "../meta.json"),
48+
JSON.stringify(meta)
49+
);
50+
});

static/users/index.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)