docs(微信订阅): 自测接口的提示指向新的模板登记表与体检接口
This commit is contained in:
@@ -53,7 +53,7 @@ export default defineEventHandler(async (event) => {
|
|||||||
return {
|
return {
|
||||||
ok: false,
|
ok: false,
|
||||||
reason: 'no-template',
|
reason: 'no-template',
|
||||||
hint: '没有可用的模板 ID:内置默认模板见 server/services/wechatSubscribeService.ts 的 DEFAULT_TEMPLATES,也可用环境变量 WECHAT_MINI_SUBSCRIBE_TEMPLATES 配置',
|
hint: '没有可用的模板 ID:内置模板见 server/utils/wechatSubscribeTemplates.ts 的 BUILTIN_TEMPLATES,也可用环境变量 WECHAT_MINI_SUBSCRIBE_TEMPLATES(合法 JSON)覆盖;一键体检用 /api/admin/wechat/diagnose',
|
||||||
configuredKinds: kinds,
|
configuredKinds: kinds,
|
||||||
tokenOk: !!token,
|
tokenOk: !!token,
|
||||||
openid: openid ? openid.slice(0, 6) + '****' : null
|
openid: openid ? openid.slice(0, 6) + '****' : null
|
||||||
|
|||||||
Reference in New Issue
Block a user