Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
孙龙
/
golang-queue-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
7d628cbf
authored
Aug 14, 2020
by
朱继来
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
调整类型
parent
c0ecbc68
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
user/company/main.go
user/company/main.go
View file @
7d628cbf
...
...
@@ -98,13 +98,13 @@ func updateData() (err error) {
establishment_time
:=
gjson
.
Get
(
string
(
body
),
"com_basic_info.establishment_time"
)
.
Int
()
// 成立时间
registered_capital
:=
gjson
.
Get
(
string
(
body
),
"com_basic_info.registered_capital"
)
.
Float
()
// 注册资本
com_organization
:=
gjson
.
Get
(
string
(
body
),
"com_basic_info.com_organization"
)
.
String
()
// 组织结构代码
legal_representative
:=
gjson
.
Get
(
string
(
body
),
"com_basic_info.legal_representative"
)
.
Float
()
// 法定代表人
legal_representative
:=
gjson
.
Get
(
string
(
body
),
"com_basic_info.legal_representative"
)
.
String
()
// 法定代表人
five_legal_change
:=
gjson
.
Get
(
string
(
body
),
"com_basic_info.five_legal_change"
)
.
Int
()
// 5年内法人变更次数
two_years_no_lawsuit
:=
gjson
.
Get
(
string
(
body
),
"com_basic_info.two_years_no_lawsuit"
)
.
String
()
// 近两年内有无诉讼
total_credit_score
:=
gjson
.
Get
(
string
(
body
),
"com_credit.total_credit_score"
)
.
Float
()
// 信用评分
ichunt_hunting_core
:=
gjson
.
Get
(
string
(
body
),
"com_credit.ichunt_hunting_core"
)
.
Int
()
// 评分分级
blacklist_hit
:=
gjson
.
Get
(
string
(
body
),
"com_credit.blacklist_hit"
)
.
String
()
// 黑名单命中
risk_type
:=
gjson
.
Get
(
string
(
body
),
"com_credit.risk_type"
)
.
String
()
// 风险分类
risk_type
:=
gjson
.
Get
(
string
(
body
),
"com_credit.risk_type"
)
.
Int
()
// 风险分类
curr_time
:=
time
.
Now
()
.
Unix
()
// 更新发票公司表
...
...
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