fix: 电话报警通知逻辑修改。
This commit is contained in:
@@ -3,6 +3,7 @@ package com.intc;
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
import org.springframework.boot.context.metrics.buffering.BufferingApplicationStartup;
|
||||
import org.springframework.scheduling.annotation.EnableScheduling;
|
||||
|
||||
/**
|
||||
* 启动程序
|
||||
@@ -11,6 +12,7 @@ import org.springframework.boot.context.metrics.buffering.BufferingApplicationSt
|
||||
*/
|
||||
|
||||
@SpringBootApplication
|
||||
@EnableScheduling
|
||||
public class IntcUltraApplication {
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
@@ -224,6 +224,19 @@ aliyun:
|
||||
app-key: 334224397
|
||||
# App Secret
|
||||
app-secret: 70de3018ec39423e9ca1e1b6a6a84ad6
|
||||
# VMS 语音通知配置
|
||||
vms:
|
||||
# 是否启用 MNS 回扇消费(true 时自动启动 MNS 消费线程接收 VMS 回扇)
|
||||
mns-enabled: true
|
||||
# VMS 语音服务对应的 AccessKey ID(如果与上面 IoT 平台的 AK 相同可不填)
|
||||
access-key-id: LTAI5tKh6fEKJJESaTdnChkh
|
||||
# VMS 语音服务对应的 AccessKey Secret
|
||||
access-key-secret: 6oa6t91ReT2YYSp3puuLA4FYtOyqDo
|
||||
# MNS 账号 Endpoint(格式:https://{AccountId}.mns.cn-hangzhou.aliyuncs.com/)
|
||||
# 在阿里云控制台 > 语音服务 > 回扇配置 中查看对应的 MNS Endpoint
|
||||
endpoint: https://1943695596114318.mns.cn-hangzhou.aliyuncs.com/
|
||||
# MNS 队列名称(保持默认即可)
|
||||
queue-name: Alicom-Queue-1572610294777992-VoiceReport
|
||||
# AMQP 服务端订阅配置(使用数据同步的 AppKey + AppSecret)
|
||||
amqp:
|
||||
# 是否启用
|
||||
|
||||
Reference in New Issue
Block a user