Commit f7dfc786 by huangchengyi

更新征信

parents da4483cb 4d158f9a
package main
import "fmt"
//公司信息计算
func CompanyInfo() {
fmt.Print(1)
}
\ No newline at end of file
package main
//企业征信
\ No newline at end of file
package main
//历史交易
\ No newline at end of file
package main
import (
"fmt"
"github.com/bilibili/kratos/pkg/conf/paladin"
"github.com/bilibili/kratos/pkg/database/sql"
)
//当前静态算法内的pid和typeID
const CPID = 1
const CTYPE = 1
func main() {
var (
dc struct {
Demo *sql.Config
}
)
fmt.Print((paladin.Get("mysql.toml").UnmarshalTOML(&dc)))
}
//获取需要计算的用户
func getUser() {
}
//获取计算需要的用户详情
func getUserDetail() {
}
\ No newline at end of file
package main
//个人征信
\ No newline at end of file
package model
type ComCredits struct {
Id int64 `json:"id"` //'模型条目ID'
ComCreditsId int64 `json:"com_credits_id"` //'关联信用分id'
ComName string `json:"com_name"` //'公司名称'
ComOrganization string `json:"com_organization"` //'组织结构代码'
EstanlishmentTime int64 `json:"establishment_time"` //'公司成立时间'
ComLeader string `json:"com_leader"` //'公司负责人'
RegisteredCapital string `json:"registered_capital"` //'注册资本'
CustomerProperty int64 `json:"customer_property"` //'客户性质'
ScoreTime int64 `json:"score_time"` //'评分时间'
ComAddress string `json:"com_address"` //'公司地址'
LegalRepresentative string `json:"legal_representative"` //'法定代表人'
LegalFixedTelephone string `json:"legal_fixed_telephone"` //'法定代表人固定电话'
LegalMobilePhone string `json:"legal_mobile_phone"` //'法定代表人移动电话'
ActualController string `json:"actual_controller"` //'实控人'
ActualFixTelephone string `json:"actual_fix_telephone"` //'企业实控人固定电话'
ActualMobilePhone string `json:"actual_mobile_phone"` //'企业实控人移动电话'
ComContact string `json:"com_contact"` //'企业联系人'
ContactFixTelephone string `json:"contact_fix_telephone"` //'企业联系人固定电话'
ContactMobilePhone string `json:"contact_mobile_phone"` //'企业联系人移动电话'
}
/*
`id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
`com_credits_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '关联信用分id',
`com_name` varchar(80) NOT NULL DEFAULT '' COMMENT '公司名称',
`com_organization` varchar(30) NOT NULL DEFAULT '' COMMENT '组织结构代码',
`establishment_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '公司成立时间',
`com_leader` varchar(60) NOT NULL DEFAULT '' COMMENT '公司负责人',
`registered_capital` decimal(14,4) unsigned NOT NULL DEFAULT '0.0000' COMMENT '注册资本',
`customer_property` varchar(50) NOT NULL DEFAULT '' COMMENT '客户性质',
`score_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '评分时间',
`com_address` varchar(100) NOT NULL DEFAULT '' COMMENT '公司地址',
`legal_representative` varchar(50) NOT NULL DEFAULT '' COMMENT '法定代表人',
`legal_fixed_telephone` varchar(15) NOT NULL DEFAULT '' COMMENT '法定代表人固定电话',
`legal_mobile_phone` char(11) NOT NULL DEFAULT '' COMMENT '法定代表人移动电话',
`actual_controller` varchar(50) NOT NULL DEFAULT '' COMMENT '实控人',
`actual_fix_telephone` varchar(15) NOT NULL DEFAULT '' COMMENT '企业实控人固定电话',
`actual_mobile_phone` char(11) NOT NULL DEFAULT '' COMMENT '企业实控人移动电话',
`com_contact` varchar(50) NOT NULL DEFAULT '' COMMENT '企业联系人',
`contact_fix_telephone` varchar(15) NOT NULL DEFAULT '' COMMENT '企业联系人',
`contact_mobile_phone` char(11) NOT NULL DEFAULT '' COMMENT '企业联系人移动电话',*/
\ No newline at end of file
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