更新密码找回uniapp

This commit is contained in:
hero920103 committed 2026-11-16 17:22:50 +08:00
1 parent 7f9a66da0f
commit 3fdda89833
1304 files changed
+3503 -26132

No files matched your search

@@ -1,15 +1,3 @@
-- ============================================================
-- 小程序订阅消息:模板配置 + 授权记录
-- yz_platform_wechat_mini_template 订阅消息模板(按小程序 + 场景码)
-- yz_platform_wechat_mini_subscribe 用户授权记录(一次性订阅的剩余发送次数)
--
-- 模板 ID 需要在小程序后台「功能 → 订阅消息 → 公共模板库」选用后填入平台端。
-- fields 为 JSON:微信模板字段键 → 语义变量名,例如
-- {"thing1":"title","phrase2":"content","time3":"time"}
--
-- 幂等脚本:重复执行不会产生重复数据。
-- 执行:mysql -h <host> -P <port> -u <user> -p <db> < create_wechat_mini_template.sql
-- ============================================================
CREATE TABLE IF NOT EXISTS yz_platform_wechat_mini_template (
id bigint unsigned NOT NULL AUTO_INCREMENT,
@@ -40,6 +28,5 @@ CREATE TABLE IF NOT EXISTS yz_platform_wechat_mini_subscribe (
UNIQUE KEY uk_mini_sub_identity_tpl (identity_id, app_id, template_id)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='小程序订阅消息授权记录';
-- 结果校验
SELECT id, app_id, code, template_id, title, page, enabled FROM yz_platform_wechat_mini_template
WHERE delete_time IS NULL;