Ver Fonte

改为白名单模式

lichangdong há 1 dia atrás
pai
commit
edf2791f3a
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      internal/pkg/wechat_ws/wechat_ws_client.go

+ 2 - 2
internal/pkg/wechat_ws/wechat_ws_client.go

@@ -300,8 +300,8 @@ func (c *WechatWsClient) DeviceAuth() error {
 		"AccessToken": "",
 		"MsgType":     "DeviceAuthReq",
 		"Content": map[string]interface{}{
-			"AuthType":   2,
-			"Credential": "bGNka2Y6clFSd0NTT21wbFgzVHRMSg==",
+			"AuthType":   3,
+			"Credential": "",
 		},
 	}
 	transportMessageJSON, err := json.Marshal(message)