This commit is contained in:
1 parent
f43fbef5db
commit
21abd01593
11 files changed
+450
-104
No files matched your search
@@ -69,6 +69,11 @@ var noAuthAPI = map[string][]string{
|
||||
// 鉴权,路由级 IP 限流承担防滥用;checkin-page(登录态)不在此列。
|
||||
"/api/v1/training/wecom/checkin-auth": {"GET"},
|
||||
"/api/v1/training/wecom/checkin-session": {"POST"},
|
||||
// 工号扫码签到(2026-11-25 调整,可信域名未就绪期间的免登替代主流程):
|
||||
// 身份由「未过期签到码 token + 名单内工号」承载,nonce 防重放,
|
||||
// 自动登录可由规则项 employee_checkin_autologin 关闭。
|
||||
"/api/v1/training/wecom/checkin-page-anon": {"POST"},
|
||||
"/api/v1/training/wecom/checkin-by-employee": {"POST"},
|
||||
// IM platforms (Feishu, Slack, etc.) commonly issue a HEAD request
|
||||
// before GET to validate Content-Type / Content-Length when rendering
|
||||
// image previews — both verbs must be allowed for image links to work.
|
||||
|
||||
Reference in new issue
Block a user