-
Notifications
You must be signed in to change notification settings - Fork 70
Expand file tree
/
Copy pathconfig_template.json
More file actions
138 lines (138 loc) · 4.49 KB
/
Copy pathconfig_template.json
File metadata and controls
138 lines (138 loc) · 4.49 KB
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
{
"global": {
"base_url": "http://localhost:8000",
"hash_salt": "default_hash_salt",
"acadamic_year": 2023,
"semester": "Spring",
"tmp_dir": "tmp",
"official_user": "zz00000",
"debug_stuids": []
},
"django": {
"db": {
"NAME": "$DATABASE$",
"USER": "$USER$",
"PASSWORD": "$PASSWORD$",
"HOST": "$HOST$",
"PORT": "3306"
}
},
"log": {
"dir": "log",
"format": "{asctime} [{levelname}] {message}",
"level": "INFO",
"stack_level": 8
},
"weather": {
"api_key": "$API_KEY$"
},
"scheduler": {
"rpc_port": "$SCHEDULER_RPC_PORT$",
"use_scheduler": false
},
"wechat": {
"api_url": "",
"salt": "debug_hasher_salt",
"batch": 500,
"receivers": [],
"blacklist": [],
"use_scheduler": true,
"app2url": {
"default": "",
"message": "",
"promote": ""
},
"unblock_apps": [
"promote"
]
},
"wx_miniapp": {
"appid": "$MINIAPP_APPID$",
"secret": "$MINIAPP_SECRET$",
"jscode2session_url": "https://api.weixin.qq.com/sns/jscode2session",
"token_expire_minutes": 120,
"signed_openid_ttl_minutes": 10,
"binding_max_failed_attempts": 5,
"ticket_ttl_seconds": 60
},
"email": {
"url": "",
"salt": "debug_hasher_salt"
},
"password_reset": {
"token_seconds": 600,
"token_attempts": 5,
"window_seconds": 900,
"lock_seconds": 900,
"retention_seconds": 86400,
"request_limits": {
"account": 3,
"device": 5,
"ip": 10
},
"verify_limits": {
"account": 10,
"device": 10,
"ip": 10
}
},
"underground": {
"token": {
"display": "$TOKEN$"
},
"semester_data": {
"semester_start": "2023-02-20"
}
},
"course": {
"prerequisite_survey": {
"enabled": false,
"rules": [
{"pattern": "^26000.+", "survey": "2026 秋元培在校生追踪问卷(新生版)"}
],
"fallback": "2026 秋元培在校生追踪问卷"
},
"type_name": "书院课程",
"auditors": ["admin"],
"valid_hours": 8,
"yx_election_start": "2022-02-16 10:00:00",
"yx_election_end": "2022-02-16 12:00:00",
"btx_election_start": "2022-02-16 12:00:00",
"btx_election_end": "2022-02-16 14:00:00",
"publish_time": "2022-02-20 20:35:00"
},
"YQPoint": {
"signin_points": [1, 2, 2, [2, 4], 2, 2, [5, 7]],
"activity": {
"invalid_hour": 12,
"per_hour": 1,
"max": 10
},
"feedback": {
"accept": 10
},
"org_name": "元培元气值中心"
},
"library": {
"organization_name": "图书室",
"open_time_start": "07:00",
"open_time_end": "23:00"
},
"max_inform_rank": {},
"help_messages": {
"个人主页": "将其在微信中打开,就可以在聊天/朋友圈中分享你自己啦",
"小组主页": "将其在微信中打开,就可以在聊天/朋友圈中分享你自己啦",
"近期要闻": "",
"通知信箱": "信箱会自动收集和您相关的信息,包括各类通知和回执~常来看看吧",
"我的元气值person": "欢迎来到你的元气值页面!元气值是YPPF的交易系统,用于奖励活跃用户。通过赚取元气值,你可以在元气值商城兑换精美奖品!",
"我的元气值organization": "元气值是<strong>Yuanpei Profile</strong>的意愿点系统。活动的发起团队需要元气值帮助活动报销~",
"我的订阅": "这里展示了你订阅的组织。在你订阅的组织发布活动信息时,你会在企业微信收到活动推送",
"信息与隐私": "直接在框中修改,点击下方的提交按钮就可以修改信息啦",
"修改密码": "",
"信息发送中心": "信息发送中心为团体提供了向订阅用户或者团体成员发送消息到通知信箱和企业微信的功能",
"活动信息": "将其在微信中打开,就可以在聊天/朋友圈中分享你自己啦"
},
"dormitory": {
"routine_qa_survey_title": "default title"
}
}