Commit 41711a4b by Joneq

判断sql插入限制

parent a0d2a0a4
Showing with 1 additions and 1 deletions
...@@ -120,7 +120,7 @@ func HttpGet(companyName string)(returnDatas map[string]string) { ...@@ -120,7 +120,7 @@ func HttpGet(companyName string)(returnDatas map[string]string) {
} }
fmt.Println(returnData["tianyancha_json"]) fmt.Println(returnData["tianyancha_json"])
if len(returnData["tianyancha_json"]) > 70000{ if len(returnData["tianyancha_json"]) > 40000{
returnData["tianyancha_json"] = "字符串过长" returnData["tianyancha_json"] = "字符串过长"
} }
......
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