|
@@ -112,7 +112,7 @@ func parseLast(topics []string) (topicInfo *TopicInfo, err error) {
|
|
|
|
|
|
func GetCommandTopic(deviceCode, productKey string) string {
|
|
|
topic := strings.Join([]string{TopicHeadThing, "down", "command", productKey, deviceCode}, "/")
|
|
|
- fmt.Printf("topic:%s", topic)
|
|
|
+ fmt.Printf("topic:%s\r\n", topic)
|
|
|
return topic
|
|
|
}
|
|
|
|