修复SIT短信模板编码
This commit is contained in:
@@ -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;
|
||||||
Reference in New Issue
Block a user