refactor(factory): 重构工厂结构体移除银行相关字段
- 移除了 Bank、BankAccount 和 BankAddress 字段 - 更新了 Factory 结构体定义 - 简化了相关数据结构,提升代码简洁性
This commit is contained in:
@@ -46,9 +46,6 @@ type FactoryItem struct {
|
||||
CreditRank string `json:"creditRank"`
|
||||
TeamRank string `json:"teamRank"`
|
||||
PayWay string `json:"payWay"`
|
||||
Bank string `json:"bank"`
|
||||
BankAccount string `json:"bankAccount"`
|
||||
BankAddress string `json:"bankAddress"`
|
||||
TaxNumber string `json:"taxNumber"`
|
||||
Info string `json:"info"`
|
||||
LegalPerson string `json:"legalPerson"`
|
||||
@@ -109,9 +106,6 @@ type FactoryAdd struct {
|
||||
CreditRank string // 信用等级
|
||||
TeamRank string // 合作等级
|
||||
PayWay string // 结算方式
|
||||
Bank string // 开户银行
|
||||
BankAccount string // 银行账号
|
||||
BankAddress string // 银行地址
|
||||
TaxNumber string // 工厂税号
|
||||
Info string // 备注说明
|
||||
LegalPerson string // 法人
|
||||
@@ -157,9 +151,6 @@ type ReplyFactoryInfo struct {
|
||||
CreditRank string `json:"creditRank"`
|
||||
TeamRank string `json:"teamRank"`
|
||||
PayWay string `json:"payWay"`
|
||||
Bank string `json:"bank"`
|
||||
BankAccount string `json:"bankAccount"`
|
||||
BankAddress string `json:"bankAddress"`
|
||||
TaxNumber string `json:"taxNumber"`
|
||||
Info string `json:"info"`
|
||||
LegalPerson string `json:"legalPerson"`
|
||||
|
||||
@@ -2,4 +2,5 @@ package factory
|
||||
|
||||
type Factory struct {
|
||||
Contact contact
|
||||
Bank bank
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user