sync: 同步 v1.0.4 开源代码并脱敏

This commit is contained in:
MiFaZhan
2026-10-29 14:59:32 +08:00
parent 14f4bb64e1
commit 3e5a7453b8
74 changed files with 3297 additions and 248 deletions
+19
View File
@@ -0,0 +1,19 @@
-- 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);