new create admin order,express add company

This commit is contained in:
2026-09-02 18:02:57 +08:00
parent 02819d159a
commit e0a63bbef9
38 changed files with 3023 additions and 265 deletions
+34
View File
@@ -55,3 +55,37 @@ type ExpressStatus struct {
AdminId int64 `json:"admin_id" gorm:"admin_id"` // 操作人ID
AdminName string `json:"admin_name" gorm:"admin_name"` // 操作人姓名
}
type ExpressSend struct {
Id int `gorm:"column:id;type:int(11);primary_key;AUTO_INCREMENT;comment:ID" json:"id"`
Name string `gorm:"column:name;type:varchar(255);comment:名称;NOT NULL" json:"name"`
TransitId uint8 `gorm:"column:transit_id;type:tinyint(4);comment:快递公司,1为顺丰,2为京东,3为。。。;NOT NULL" json:"transit_id"`
AppCode string `gorm:"column:app_code;type:varchar(255);comment:app 代码;NOT NULL" json:"app_code"`
AppSecretKey string `gorm:"column:app_secret_key;type:varchar(255);comment:app 密钥;NOT NULL" json:"app_secret_key"`
AppUrl string `gorm:"column:app_url;type:varchar(255);comment:接口地址;NOT NULL" json:"app_url"`
PdfCode string `gorm:"column:pdf_code;type:varchar(255);comment:pdf文件编码;NOT NULL" json:"pdf_code"`
CardNumber string `gorm:"column:card_number;type:varchar(255);comment:月结卡号;NOT NULL" json:"card_number"`
Province string `gorm:"column:province;type:varchar(255);comment:省;NOT NULL" json:"province"`
City string `gorm:"column:city;type:varchar(255);comment:市;NOT NULL" json:"city"`
Other string `gorm:"column:other;type:text;comment:基它数据" json:"other"`
County string `gorm:"column:county;type:varchar(255);comment:县/区;NOT NULL" json:"county"`
Address string `gorm:"column:address;type:varchar(255);comment:地址;NOT NULL" json:"address"`
CompanyName string `gorm:"column:company_name;type:varchar(255);comment:公司名;NOT NULL" json:"company_name"`
Contact string `gorm:"column:contact;type:varchar(255);comment:联系人;NOT NULL" json:"contact"`
Mobile string `gorm:"column:mobile;type:varchar(255);comment:联系人手机号;NOT NULL" json:"mobile"`
}
type ExpressQueryItems struct {
AcceptAddress string `json:"acceptAddress"`
AcceptTime string `json:"acceptTime"`
FirstStatusCode string `json:"firstStatusCode"`
FirstStatusName string `json:"firstStatusName"`
OpCode string `json:"opCode"`
Remark string `json:"remark"`
SecondaryStatusCode string `json:"secondaryStatusCode"`
SecondaryStatusName string `json:"secondaryStatusName"`
OperatorName string `json:"operatorName"`
OperationTitle string `json:"operationTitle"`
AllInfo string `json:"allInfo"`
LastMd5 string `json:"lastMd5"`
}