Browse Source

修改气味工作手机通道为测试环境

boweniac 1 week ago
parent
commit
6423477d60
2 changed files with 2 additions and 2 deletions
  1. 1 1
      hook/init.go
  2. 1 1
      internal/logic/WorkPhone/qw_refresh_logic.go

+ 1 - 1
hook/init.go

@@ -43,7 +43,7 @@ func NewWecomHook(serverIp string, adminPort string, WxPort string) *Hook {
 		SetCommonRetryBackoffInterval(1*time.Second, 5*time.Second).
 		SetCommonRetryFixedInterval(2 * time.Second).SetTimeout(30 * time.Second)
 
-	wecomUrl := url.URL{Scheme: "ws", Host: "wecom.gkscrm.com:15088"}
+	wecomUrl := url.URL{Scheme: "ws", Host: "wecom-debug.gkscrm.com:15088"}
 
 	return &Hook{
 		ServerIp:     serverIp,

+ 1 - 1
internal/logic/WorkPhone/qw_refresh_logic.go

@@ -36,7 +36,7 @@ func (l *QwRefreshLogic) QwRefresh() (resp *types.BaseMsgResp, err error) {
 	client.SetCommonRetryCount(2).
 		SetCommonRetryBackoffInterval(1*time.Second, 5*time.Second).
 		SetCommonRetryFixedInterval(2 * time.Second).SetTimeout(30 * time.Second)
-	res, err := client.R().SetSuccessResult(&result).Post("http://wecom.gkscrm.com:15086/pc/GetWeChatsReq?id=19")
+	res, err := client.R().SetSuccessResult(&result).Post("http://wecom-debug.gkscrm.com:15086/pc/GetWeChatsReq?id=19")
 
 	if err != nil {
 		return nil, err