-- 供 monitor_jdxaj 库 sys_config 记录「RCS 应推送的 WMS 地址」（电视机后台代码不读也可，仅运维/RCS 配置参考）
-- 请将 http://127.0.0.1:8082/rsf-open-api 换成实际 rsf-open-api 外网地址

INSERT INTO `sys_config` (`name`, `code`, `value`, `type`, `status`, `select_type`)
SELECT 'RCS输送线报警推送(WMS)', 'rcsTvStationErrorPushUrl', 'http://127.0.0.1:8082/rsf-open-api/rcs/callback/tv/station/error', 1, 1, 'system'
WHERE NOT EXISTS (SELECT 1 FROM `sys_config` WHERE `code` = 'rcsTvStationErrorPushUrl');

INSERT INTO `sys_config` (`name`, `code`, `value`, `type`, `status`, `select_type`)
SELECT 'RCS输送线任务号推送(WMS)', 'rcsTvStationTaskNoPushUrl', 'http://127.0.0.1:8082/rsf-open-api/rcs/callback/tv/station/taskNo', 1, 1, 'system'
WHERE NOT EXISTS (SELECT 1 FROM `sys_config` WHERE `code` = 'rcsTvStationTaskNoPushUrl');
