mirror of
https://gitee.com/XM-GO/PandaX.git
synced 2026-04-23 02:48:34 +08:00
[优化]文件上传
This commit is contained in:
@@ -199,7 +199,7 @@ func GetEventFromTopic(reg, topic string) (identifier string) {
|
||||
}
|
||||
|
||||
// eventType 事件类型 info alarm
|
||||
func CreateEvent(msgType, eventType, content string, deviceAuth *model.DeviceAuth) *DeviceEventInfo {
|
||||
func CreateEventInfo(msgType, eventType, content string, deviceAuth *model.DeviceAuth) *DeviceEventInfo {
|
||||
ts := time.Now().Format("2006-01-02 15:04:05.000")
|
||||
ci := &tdengine.Events{
|
||||
DeviceId: deviceAuth.DeviceId,
|
||||
|
||||
Reference in New Issue
Block a user