Commit 7d628cbf by 朱继来

调整类型

parent c0ecbc68
Showing with 2 additions and 2 deletions
...@@ -98,13 +98,13 @@ func updateData() (err error) { ...@@ -98,13 +98,13 @@ func updateData() (err error) {
establishment_time := gjson.Get(string(body), "com_basic_info.establishment_time").Int() // 成立时间 establishment_time := gjson.Get(string(body), "com_basic_info.establishment_time").Int() // 成立时间
registered_capital := gjson.Get(string(body), "com_basic_info.registered_capital").Float() // 注册资本 registered_capital := gjson.Get(string(body), "com_basic_info.registered_capital").Float() // 注册资本
com_organization := gjson.Get(string(body), "com_basic_info.com_organization").String() // 组织结构代码 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年内法人变更次数 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() // 近两年内有无诉讼 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() // 信用评分 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() // 评分分级 ichunt_hunting_core := gjson.Get(string(body), "com_credit.ichunt_hunting_core").Int() // 评分分级
blacklist_hit := gjson.Get(string(body), "com_credit.blacklist_hit").String() // 黑名单命中 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() curr_time := time.Now().Unix()
// 更新发票公司表 // 更新发票公司表
......
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