-- Salon Spug 短信模板编码统一修复 -- 版本:0.0.1 -- 说明:将店务端六个短信验证码场景统一映射到当前 Spug 模板 SPUG_SMS_VERIFY_1。 START TRANSACTION; UPDATE t_messagehub_push_config SET template_code = 'SPUG_SMS_VERIFY_1', channel_id = NULL, send_method = 'SPUG', enabled = 1, is_delete = 0, 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' ); COMMIT; SELECT scene_code, template_code, channel_id, send_method, enabled, is_delete FROM t_messagehub_push_config 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' ) ORDER BY scene_code;