You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
884 B

package model
import "bkb-seller/global"
type SysApi struct {
Organization string `gorm:"size:50;comment:组织" json:"organization" ` // 组织
Appid string `gorm:"size:50;comment:应用ID" json:"appid" ` // 应用ID
Type string `json:"type" gorm:"comment:类型"` // 类型 admin-运营端 seller-商家端
Path string `json:"path" gorm:"type:varchar(100);comment:api路径"` // api路径
Description string `json:"description" gorm:"type:varchar(100);comment:api中文描述"` // api中文描述
ApiGroup string `json:"apiGroup" gorm:"type:varchar(100);comment:api组"` // api组
Method string `json:"method" gorm:"default:POST;type:varchar(100);comment:方法"` // 方法:创建POST(默认)|查看GET|更新PUT|删除DELETE
global.MG_MODEL
}