Explorar el Código

抽取调整,实体接口,改为内部IP请求

zhengkun hace 1 año
padre
commit
b8a29f77b0
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      src/jy/extract/extraxtmethod.go

+ 2 - 1
src/jy/extract/extraxtmethod.go

@@ -483,7 +483,8 @@ func EmployPostEntDfa(data map[string]interface{}) map[string]interface{} {
 	info := map[string]interface{}{}
 	client := &http.Client{Timeout: 2 * time.Second}
 	jsonStr, _ := json.Marshal(data)
-	resp, err := client.Post("http://extcity.spdata.jianyu360.com/service/entity/", "application/json", bytes.NewBuffer(jsonStr))
+	//172.17.4.238:9996,extcity.spdata.jianyu360.com
+	resp, err := client.Post("http://172.17.4.238:9996/service/entity/", "application/json", bytes.NewBuffer(jsonStr))
 	if err != nil {
 		return info
 	}