-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.ts
52 lines (49 loc) · 1.15 KB
/
config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
/*
* ----------配置文件-------------
* 每个对象的省市(上墨迹天气看相应的url)
* server酱的码、接收的邮箱(如果isSend选项是false的话,就不发送)
*/
export type IConfig = {
province: string; // 查询天气的省
city: string; // 查询天气的市、区
extraWord: string; // 信息中想说的话
// server酱配置信息
serverChan: {
isSend: boolean;
authCode: string;
};
// 邮件配置信息
email: {
isSend: boolean;
emailBox: string;
};
};
const configList: IConfig[] = [
{
province: "beijing",
city: "haidian-district",
extraWord: "今天,又是充满希望的一天!", //在title想说的话
serverChan: {
isSend: true,
authCode: "123", // 自己的server酱授权码
},
email: {
isSend: true,
emailBox: "[email protected]",
},
},
{
province: "beijing",
city: "haidian-district",
extraWord: "早上好啊,sweet heart~",
serverChan: {
isSend: true,
authCode: "123",
},
email: {
isSend: true,
emailBox: "[email protected]", //调试使用
},
},
];
export default configList;