Dev #45

Merged
xiaowang merged 5 commits from dev into sit 2026-09-06 17:42:25 +08:00
Showing only changes of commit 285fed64fa - Show all commits
@@ -0,0 +1,30 @@
-- Salon 短信验证码模板编码修复
-- 版本:0.0.1
-- 说明:MessageHub SIT 使用 SPUG_SMS_VERIFY_1,旧编码 SPUG0001 不存在。
START TRANSACTION;
UPDATE t_messagehub_push_config
SET template_code = 'SPUG_SMS_VERIFY_1',
update_time = NOW()
WHERE platform = 'SMS'
AND source_system = 'jayucloud-salon'
AND scene_code IN (
'USER_REGISTER_SMS_CODE',
'USER_LOGIN_SMS_CODE',
'USER_RESET_PASSWORD_SMS_CODE',
'USER_BIND_PHONE_SMS_CODE',
'USER_CHANGE_PHONE_SMS_CODE',
'USER_CHANGE_PASSWORD_SMS_CODE'
)
AND is_delete = 0;
COMMIT;
SELECT scene_code, template_code
FROM t_messagehub_push_config
WHERE platform = 'SMS'
AND source_system = 'jayucloud-salon'
AND scene_code LIKE 'USER_%_SMS_CODE'
AND is_delete = 0
ORDER BY scene_code;