From 2c77f012601b7788dc58b0c9fd99aad587983b0d Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@smartai.com> Date: 星期二, 22 十月 2024 21:20:19 +0800 Subject: [PATCH] 完善楼层相关操作 --- client/faces.go | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/client/faces.go b/client/faces.go index 42e3827..690e92c 100644 --- a/client/faces.go +++ b/client/faces.go @@ -2,11 +2,11 @@ import ( "fmt" + "gat1400Exchange/pkg" "encoding/json" "gat1400Exchange/config" "gat1400Exchange/pkg/logger" - "gat1400Exchange/util" "gat1400Exchange/vo" ) @@ -21,7 +21,7 @@ } url := fmt.Sprintf("%s://%s:%s%s", config.ClientConf.Proto, config.ClientConf.ServerAddr, config.ClientConf.ServerPort, FacesUrI) - rsp, err := util.HttpPost(url, headers, msg) + rsp, err := pkg.HttpPost(url, headers, msg) if err != nil { logger.Warn("Post faces failed, %s", err.Error()) return vo.StatusOtherError @@ -44,7 +44,7 @@ } url := fmt.Sprintf("%s://%s:%s%s", config.ClientConf.Proto, config.ClientConf.ServerAddr, config.ClientConf.ServerPort, PersonsUrI) - rsp, err := util.HttpPost(url, headers, msg) + rsp, err := pkg.HttpPost(url, headers, msg) if err != nil { logger.Warn("Post person failed, %s", err.Error()) return vo.StatusOtherError -- Gitblit v1.8.0