SinopharmApi.go 509 B

12345678910111213141516171819
  1. package ywtcenter
  2. import "github.com/astaxie/beego/orm"
  3. type SinopharmApi struct {
  4. Id int16 `orm:"column(id);pk"` // 设置主键 // '管理员表,主键ID',
  5. Path string
  6. Req string
  7. Res string
  8. CreateTime string
  9. Difftime int16 // '接口响应时间'
  10. HttpStatus int16 // '接口响应状态',
  11. MatchId string // '匹配流水id,对应传输过程中的match_id',
  12. }
  13. func init() {
  14. // 需要在init中注册定义的model
  15. orm.RegisterModel(new(SinopharmApi))
  16. }