try_api.go 852 B

12345678910111213141516171819202122232425262728
  1. package apis
  2. type TryApiAccessLog struct {
  3. Id int64 `orm:"auto,column(id)"`
  4. ApiId int `orm:"column(api_id)"`
  5. ApiName string `orm:"column(api_name)"`
  6. RequestParams string `orm:"column(request_params)"`
  7. ResponseParams string `orm:"column(response_params)"`
  8. Code int64 `orm:"column(code)"`
  9. Msg string `orm:"column(msg)"`
  10. CreateTime string `orm:"column(create_time)"`
  11. }
  12. func (t *TryApiAccessLog) TableName() string {
  13. return "t_gd_try_api_access_log"
  14. }
  15. type TryApiAccessLogReq struct {
  16. ApiId int `json:"api_id"`
  17. ApiName string `json:"api_name"`
  18. RequestParams []string `json:"request_params"`
  19. ResponseParams []string `json:"response_params"`
  20. Code string `json:"code"`
  21. Msg string `json:"msg"`
  22. }
  23. type TryApiAccessLogReply struct {
  24. }