Files
jx-callback/business/model/vendor_org_code.go
苏尹岚 00766183c7 aa
2021-02-02 11:41:17 +08:00

21 lines
893 B
Go
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
package model
const (
VendorOrgTypePlatform = "platform" //外卖平台
VendorOrgTypeDelivery = "delivery" //配送平台
)
type VendorOrgCode struct {
ModelIDCULD
VendorID int `orm:"column(vendor_id)" json:"code"`
VendorOrgCode string `orm:"size(32)" json:"key"` // 同一平台下不同的商户代码,如果只有一个,可以为空
Comment string `json:"name"` //备注
//appkeysecret token等
VendorType string `json:"vendorType"` //platform 普通平台, delivery 三方配送平台
IsJxCat int `json:"isJxCat"` //是否使用京西分类0默认使用
IsOpen int `json:"isOpen"` //主要三方配送用是否配送默认0表示打开1表示关
EmpowerURL string `orm:"column(empower_url)" json:"empowerURL"` //授权地址
}