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.

12 lines
258 B

  1. package model
  2. import (
  3. "github.com/jinzhu/gorm"
  4. )
  5. type SysApi struct {
  6. gorm.Model
  7. Path string `json:"path"`
  8. Description string `json:"description"`
  9. ApiGroup string `json:"apiGroup"`
  10. Method string `json:"method" gorm:"default:'POST'"`
  11. }