新增前端订阅模块,收敛模板 ID 到唯一来源

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
yuming
2026-08-16 09:25:12 +08:00
parent d8573359a2
commit 1142346e24
4 changed files with 77 additions and 2 deletions
+6 -1
View File
@@ -72,4 +72,9 @@ function person(action, data) {
return request({ url: '/api/person', data: { action, data } })
}
module.exports = { request, login, anniversary, person, BASE_URL }
// 订阅额度:grant 上报授权,get 查询余额与风险
function subscribe(action, data) {
return request({ url: '/api/subscribe', data: { action, data } })
}
module.exports = { request, login, anniversary, person, subscribe, BASE_URL }