diff --git a/business/partner/printer/trendit/trendit.go b/business/partner/printer/trendit/trendit.go
index 07eefb863..3da8f14bd 100644
--- a/business/partner/printer/trendit/trendit.go
+++ b/business/partner/printer/trendit/trendit.go
@@ -203,7 +203,6 @@ func (c *PrinterHandler) getOrderContentV2(order *model.GoodsOrder, storeTel str
--------------------------------
客户备注:%s
--------------------------------
-商品列表
商品名` + trenditapi.StrRepeat(" ", 20) + `数量
` + trenditapi.StrRepeat("-", 32) + `
`
diff --git a/business/partner/purchase/im/im_model.go b/business/partner/purchase/im/im_model.go
index 3eb6bfa28..49a984ea3 100644
--- a/business/partner/purchase/im/im_model.go
+++ b/business/partner/purchase/im/im_model.go
@@ -12,8 +12,6 @@ import (
"sync"
"time"
- "git.rosy.net.cn/jx-callback/globals"
-
"git.rosy.net.cn/baseapi/platformapi/mtwmapi"
"git.rosy.net.cn/jx-callback/globals/api"
"github.com/gazeboxu/mapstructure"
@@ -311,13 +309,6 @@ func GenFullUrl(appID float64) (fullUrl string) {
retVal := mtwmapi.GetConnTokenResp{}
err = mapstructure.Decode(resp, &retVal)
fullUrl = MTIMPushUrl + "/" + retVal.AppKey + "/" + retVal.ConnectionToken
-
- //todo 测试
- tete := api.MtwmAPI.GetAppID()
- globals.SugarLogger.Debugf("GenFullUrl appID=%s", tete)
- //todo
-
- fmt.Printf("GenFullUrl:%s", fullUrl)
return fullUrl
}
@@ -342,13 +333,6 @@ func GenFullUrl2() *UrlInfo {
urlInfo.ClientIDSub = r1.AppKey + ":" + r1.ConnectionToken
}
}
-
- //todo 测试
- tete := api.MtwmAPI.GetAppID()
- globals.SugarLogger.Debugf("GenFullUrl appID=%s", tete)
- //todo
-
- fmt.Printf("GenFullUrl:urlMain=%s, urlSub=%s", urlInfo.UrlMain, urlInfo.UrlSub)
return urlInfo
}
diff --git a/business/partner/purchase/im/im_server.go b/business/partner/purchase/im/im_server.go
index 2c0e1ef11..d635146dc 100644
--- a/business/partner/purchase/im/im_server.go
+++ b/business/partner/purchase/im/im_server.go
@@ -82,9 +82,9 @@ func PingTimer() {
ticker := time.NewTicker(heartbeatInterval)
defer ticker.Stop()
//测试用
- i := 0
+ //i := 0
for {
- i++
+ //i++
<-ticker.C
for clientId, conn := range Manager.AllClient() {
if conn.ClientType == ClientTypeJx {
@@ -101,7 +101,7 @@ func PingTimer() {
MtInit()
}
}
- globals.SugarLogger.Debugf("发送心跳 clientId=%s,i=%d", clientId, i)
+ //globals.SugarLogger.Debugf("发送心跳 clientId=%s,i=%d", clientId, i)
}
}
}()