Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
孙龙
/
kaopu-server
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
c9667e84
authored
Dec 26, 2019
by
Joneq
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
再一次修改mysql字符范围
parent
45790c35
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
cmd/main.go
internal/logic/tianyancha.go
cmd/main.go
View file @
c9667e84
This diff is collapsed.
Click to expand it.
internal/logic/tianyancha.go
View file @
c9667e84
...
...
@@ -93,7 +93,7 @@ func HttpGet(companyName string)(returnDatas map[string]string) {
respBody
=
BasicHttpGet
(
LAWSUIT
,
companyName
)
json
.
Unmarshal
(
respBody
,
&
totalNum
)
//防止sql执行字符串超长
if
len
(
string
(
respBody
))
<
2
000
{
if
len
(
string
(
respBody
))
<
120
000
{
returnData
[
"tianyancha_json"
]
+=
"||||"
+
string
(
respBody
)
}
if
totalNum
.
Result
.
Total
>
0
{
...
...
@@ -109,7 +109,7 @@ func HttpGet(companyName string)(returnDatas map[string]string) {
json
.
Unmarshal
(
respBody
,
&
totalNum
)
//防止sql执行字符串超长
if
len
(
string
(
respBody
))
<
2
000
{
if
len
(
string
(
respBody
))
<
120
000
{
returnData
[
"tianyancha_json"
]
+=
"||||"
+
string
(
respBody
)
}
var
changeInfoNum
int64
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment