Commit c9667e84 by Joneq

再一次修改mysql字符范围

parent 45790c35
...@@ -93,7 +93,7 @@ func HttpGet(companyName string)(returnDatas map[string]string) { ...@@ -93,7 +93,7 @@ func HttpGet(companyName string)(returnDatas map[string]string) {
respBody = BasicHttpGet(LAWSUIT,companyName) respBody = BasicHttpGet(LAWSUIT,companyName)
json.Unmarshal(respBody,&totalNum) json.Unmarshal(respBody,&totalNum)
//防止sql执行字符串超长 //防止sql执行字符串超长
if len(string(respBody)) < 2000 { if len(string(respBody)) < 120000 {
returnData["tianyancha_json"] += "||||"+string(respBody) returnData["tianyancha_json"] += "||||"+string(respBody)
} }
if totalNum.Result.Total > 0 { if totalNum.Result.Total > 0 {
...@@ -109,7 +109,7 @@ func HttpGet(companyName string)(returnDatas map[string]string) { ...@@ -109,7 +109,7 @@ func HttpGet(companyName string)(returnDatas map[string]string) {
json.Unmarshal(respBody,&totalNum) json.Unmarshal(respBody,&totalNum)
//防止sql执行字符串超长 //防止sql执行字符串超长
if len(string(respBody)) < 2000 { if len(string(respBody)) < 120000 {
returnData["tianyancha_json"] += "||||"+string(respBody) returnData["tianyancha_json"] += "||||"+string(respBody)
} }
var changeInfoNum int64 var changeInfoNum int64
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment