From d9ae196daf4f7f6ae95693007a2db482a885e3fd Mon Sep 17 00:00:00 2001 From: tianyongbao Date: Wed, 19 Nov 2025 18:45:10 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=BE=AE=E4=BF=A1=E7=99=BB=E5=BD=95?= =?UTF-8?q?=E9=AA=8C=E8=AF=81=E7=A0=81=E5=8F=8A=E9=85=8D=E7=BD=AE=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/application-dev.yml | 6 +++--- .../src/main/resources/application.yml | 20 +++++++++++-------- .../tdengine/DeviceSensorDataMapper.xml | 6 +++--- .../src/main/resources/application.yml | 16 +++++++-------- 4 files changed, 26 insertions(+), 22 deletions(-) diff --git a/intc-admin/src/main/resources/application-dev.yml b/intc-admin/src/main/resources/application-dev.yml index 643a963..fd2f02d 100644 --- a/intc-admin/src/main/resources/application-dev.yml +++ b/intc-admin/src/main/resources/application-dev.yml @@ -182,10 +182,10 @@ sms: # 框架定义的厂商名称标识,标定此配置是哪个厂商,详细请看厂商标识介绍部分 supplier: alibaba # 有些称为accessKey有些称之为apiKey,也有称为sdkKey或者appId。 - access-key-id: 您的accessKey + access-key-id: LTAI5tRnPowmTLjH181nSbsR # 称为accessSecret有些称之为apiSecret - access-key-secret: 您的accessKeySecret - signature: 您的短信签名 + access-key-secret: Vh2LoAM1t3XuMUVy2wTWSACJ97kOUW + signature: 【鱼测云】 sdk-app-id: 您的sdkAppId config2: # 厂商标识,标定此配置是哪个厂商,详细请看厂商标识介绍部分 diff --git a/intc-modules/intc-iot/src/main/resources/application.yml b/intc-modules/intc-iot/src/main/resources/application.yml index f81482f..5fcf077 100644 --- a/intc-modules/intc-iot/src/main/resources/application.yml +++ b/intc-modules/intc-iot/src/main/resources/application.yml @@ -2,24 +2,28 @@ aliyun: living-iot: # 阿里云 AccessKey ID(必填) - access-key-id: LTAI5txxxxxxxxxxxxxxxxxx + access-key-id: LTAI5tRnPowmTLjH181nSbsR # 阿里云 AccessKey Secret(必填) - access-key-secret: your_access_key_secret_here_32_chars + access-key-secret: Vh2LoAM1t3XuMUVy2wTWSACJ97kOUW # 地域节点(必填,如:cn-shanghai) region-id: cn-shanghai # 飞燕平台项目ID(Project ID,必填) - project-id: a1xxxxxx + project-id: a123nMibvh0q4UnU + # 控制器key + controller-product-key: a1Xj9dagTIx, + # 检测仪key + detector-product-key: a15hA3oBPmB, # App Key(必填) - app-key: your_app_key_here + app-key: 334224397 # App Secret(必填) - app-secret: your_app_secret_here_32_characters + app-secret: 70de3018ec39423e9ca1e1b6a6a84ad6 # 品类Key(选填) - category-key: - + category-key: + # MQTT 配置(可选) mqtt: # MQTT Broker 地址(格式:ssl://实例ID.iot-as-mqtt.cn-shanghai.aliyuncs.com:1883) - broker-url: ssl://a1xxxxxx.iot-as-mqtt.cn-shanghai.aliyuncs.com:1883 + broker-url: ssl://1572610294777992.iot-amqp.cn-shanghai.aliyuncs.com # 客户端ID(格式:{ClientID}|securemode=2,signmethod=hmacsha1|) client-id: your_client_id|securemode=2,signmethod=hmacsha1| # 用户名(设备名称&产品Key) diff --git a/intc-modules/intc-tdengine/src/main/resources/mapper/tdengine/DeviceSensorDataMapper.xml b/intc-modules/intc-tdengine/src/main/resources/mapper/tdengine/DeviceSensorDataMapper.xml index 518988c..3e943f2 100644 --- a/intc-modules/intc-tdengine/src/main/resources/mapper/tdengine/DeviceSensorDataMapper.xml +++ b/intc-modules/intc-tdengine/src/main/resources/mapper/tdengine/DeviceSensorDataMapper.xml @@ -42,7 +42,7 @@ insert into - `fishery`.t_#{serialNum} + `fishery`.t_#{data.serialNum} using fishery.device_sensor_data @@ -55,7 +55,7 @@