Skip to content
This repository has been archived by the owner on Nov 8, 2023. It is now read-only.

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
hezhuozhuo committed Oct 17, 2023
1 parent 79023c1 commit 5af5e41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/tskv_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ func (*TSKVService) MsgProcOther(body []byte, topic string) {

//DeviceOnlineState[device.ID] = values["status"]
// 如果mqtt_server为vernemq,则不需要更新ts_kv_latest表
if viper.GetString("mqtt_server") != "vernemq" {
if viper.GetString("mqtt_server") != "-" {
d := models.TSKVLatest{
EntityType: "DEVICE",
EntityID: device.ID,
Expand Down

0 comments on commit 5af5e41

Please sign in to comment.