order apis

This commit is contained in:
2026-08-26 17:32:54 +08:00
parent eabdc8772e
commit 299191749b
32 changed files with 1321 additions and 251 deletions
+55
View File
@@ -0,0 +1,55 @@
package dao
type Express struct {
Id int64 `json:"id" gorm:"id"` // ID
Name string `json:"name" gorm:"name"` // 名称
TransitId uint8 `json:"transit_id" gorm:"transit_id"` // 快递公司,1为顺丰,2为京东,3为。。。
AppCode string `json:"app_code" gorm:"app_code"` // app 代码
AppSecretKey string `json:"app_secret_key" gorm:"app_secret_key"` // app 密钥
AppUrl string `json:"app_url" gorm:"app_url"` // 接口地址
CardNumber string `json:"card_number" gorm:"card_number"` // 月结卡号
PdfCode string `json:"pdf_code" gorm:"pdf_code"` // pdf文件编码
Province string `json:"province" gorm:"province"` // 省
City string `json:"city" gorm:"city"` // 市
County string `json:"county" gorm:"county"` // 县/区
Address string `json:"address" gorm:"address"` // 地址
CompanyName string `json:"company_name" gorm:"company_name"` // 公司名
Contact string `json:"contact" gorm:"contact"` // 联系人
Mobile string `json:"mobile" gorm:"mobile"` // 联系人手机号
Other string `json:"other" gorm:"other"` // 基它数据
Status uint8 `json:"status" gorm:"status"` // 状态,1为正常,2为禁用
Reason string `json:"reason" gorm:"reason"` // 原因
AdminId int64 `json:"admin_id" gorm:"admin_id"` // 操作人ID
AdminName string `json:"admin_name" gorm:"admin_name"` // 操作人姓名
}
type ExpressInfo struct {
Id int64 `json:"id" gorm:"id"` // ID
Name string `json:"name" gorm:"name"` // 名称
TransitId uint8 `json:"transit_id" gorm:"transit_id"` // 快递公司,1为顺丰,2为京东,3为。。。
AppCode string `json:"app_code" gorm:"app_code"` // app 代码
AppSecretKey string `json:"app_secret_key" gorm:"app_secret_key"` // app 密钥
AppUrl string `json:"app_url" gorm:"app_url"` // 接口地址
CardNumber string `json:"card_number" gorm:"card_number"` // 月结卡号
PdfCode string `json:"pdf_code" gorm:"pdf_code"` // pdf文件编码
Province string `json:"province" gorm:"province"` // 省
City string `json:"city" gorm:"city"` // 市
County string `json:"county" gorm:"county"` // 县/区
Address string `json:"address" gorm:"address"` // 地址
CompanyName string `json:"company_name" gorm:"company_name"` // 公司名
Contact string `json:"contact" gorm:"contact"` // 联系人
Mobile string `json:"mobile" gorm:"mobile"` // 联系人手机号
Other string `json:"other" gorm:"other"` // 基它数据
Status uint8 `json:"status" gorm:"status"` // 状态,1为正常,2为禁用
Reason string `json:"reason" gorm:"reason"` // 原因
}
type ExpressNames struct {
Id int64 `json:"id" gorm:"id"` // ID
Name string `json:"name" gorm:"name"` // 名称
}
type ExpressStatus struct {
Id int64 `json:"id" gorm:"id"` // ID
Status uint8 `json:"status" gorm:"status"` // 状态,1为正常,2为禁用
Reason string `json:"reason" gorm:"reason"` // 原因
}