From 2c77f012601b7788dc58b0c9fd99aad587983b0d Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@smartai.com>
Date: 星期二, 22 十月 2024 21:20:19 +0800
Subject: [PATCH] 完善楼层相关操作

---
 service/device.go |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/service/device.go b/service/device.go
index c552a4c..8c3ca96 100644
--- a/service/device.go
+++ b/service/device.go
@@ -3,11 +3,11 @@
 import (
 	"encoding/json"
 	"fmt"
+	"gat1400Exchange/pkg"
 	"time"
 
 	"gat1400Exchange/config"
 	"gat1400Exchange/models"
-	"gat1400Exchange/util"
 )
 
 type DevReportData struct {
@@ -85,7 +85,7 @@
 		}
 
 		headers := map[string]string{"Content-Type": "application/json; charset=UTF-8"}
-		_, err = util.HttpPost(config.ForwardConf.ReportServer, headers, data)
+		_, err = pkg.HttpPost(config.ForwardConf.ReportServer, headers, data)
 		if err != nil {
 			return err
 		}

--
Gitblit v1.8.0