-- Public protocol configuration for the built-in templates. -- Run after the corresponding template rows exist. SET NAMES utf8mb4; INSERT INTO t_sim_channel_template (temp_key, temp_name, temp_model, temp_config, temp_status, tenant_id, created_dept, created_by, updated_by) VALUES ('sim_yd_v5', 'China Mobile OneLink v5', 'direct', '{"api":{"baseUrl":"https://api.iot.10086.cn/v5/","timeout":"10s"},"token":{"path":"/ec/get/token"}}', 1, '000000', 103, 1, 1), ('sim_yd_mock_v5', 'China Mobile OneLink mock v5', 'direct', '{"api":{"baseUrl":"http://iotlcm.example.com/onelink-mock/v5/"}}', 1, '000000', 103, 1, 1), ('sim_dx_v1', 'China Telecom API v1', 'direct', '{"api":{"baseUrl":"https://cmp-api.ctwing.cn:20164"}}', 1, '000000', 103, 1, 1) ON DUPLICATE KEY UPDATE temp_model = VALUES(temp_model), temp_config = VALUES(temp_config), temp_status = VALUES(temp_status), updated_by = VALUES(updated_by);