operlog.ts 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266
  1. import { PageQuery, BaseEntity } from '@/api/interface/index'
  2. export interface OperLogVO extends BaseEntity {
  3. /**
  4. * 日志主键
  5. */
  6. operId: string | number
  7. /**
  8. * 模块标题
  9. */
  10. title: string
  11. /**
  12. * 业务类型(0其它 1新增 2修改 3删除)
  13. */
  14. businessType: number
  15. /**
  16. * 方法名称
  17. */
  18. method: string
  19. /**
  20. * 请求方式
  21. */
  22. requestMethod: string
  23. /**
  24. * 操作类别(0其它 1后台用户 2手机端用户)
  25. */
  26. operatorType: number
  27. /**
  28. * 操作人员
  29. */
  30. operName: string
  31. /**
  32. * 部门名称
  33. */
  34. deptName: string
  35. /**
  36. * 请求URL
  37. */
  38. operUrl: string
  39. /**
  40. * 主机地址
  41. */
  42. operIp: string
  43. /**
  44. * 操作地点
  45. */
  46. operLocation: string
  47. /**
  48. * 请求参数
  49. */
  50. operParam: string
  51. /**
  52. * 返回参数
  53. */
  54. jsonResult: string
  55. /**
  56. * 操作状态(1正常 0异常)
  57. */
  58. status: number
  59. /**
  60. * 错误消息
  61. */
  62. errorMsg: string
  63. /**
  64. * 操作时间
  65. */
  66. operTime: string
  67. /**
  68. * 消耗时间
  69. */
  70. costTime: number
  71. }
  72. export interface OperLogForm {
  73. /**
  74. * 日志主键
  75. */
  76. operId?: string | number
  77. /**
  78. * 模块标题
  79. */
  80. title?: string
  81. /**
  82. * 业务类型(0其它 1新增 2修改 3删除)
  83. */
  84. businessType?: number
  85. /**
  86. * 方法名称
  87. */
  88. method?: string
  89. /**
  90. * 请求方式
  91. */
  92. requestMethod?: string
  93. /**
  94. * 操作类别(0其它 1后台用户 2手机端用户)
  95. */
  96. operatorType?: number
  97. /**
  98. * 操作人员
  99. */
  100. operName?: string
  101. /**
  102. * 部门名称
  103. */
  104. deptName?: string
  105. /**
  106. * 请求URL
  107. */
  108. operUrl?: string
  109. /**
  110. * 主机地址
  111. */
  112. operIp?: string
  113. /**
  114. * 操作地点
  115. */
  116. operLocation?: string
  117. /**
  118. * 请求参数
  119. */
  120. operParam?: string
  121. /**
  122. * 返回参数
  123. */
  124. jsonResult?: string
  125. /**
  126. * 操作状态(1正常 0异常)
  127. */
  128. status?: number
  129. /**
  130. * 错误消息
  131. */
  132. errorMsg?: string
  133. /**
  134. * 操作时间
  135. */
  136. operTime?: string
  137. /**
  138. * 消耗时间
  139. */
  140. costTime?: number
  141. }
  142. export interface OperLogQuery extends PageQuery {
  143. /**
  144. * 日志主键
  145. */
  146. operId?: string | number
  147. /**
  148. * 模块标题
  149. */
  150. title?: string
  151. /**
  152. * 业务类型(0其它 1新增 2修改 3删除)
  153. */
  154. businessType?: number
  155. /**
  156. * 方法名称
  157. */
  158. method?: string
  159. /**
  160. * 请求方式
  161. */
  162. requestMethod?: string
  163. /**
  164. * 操作类别(0其它 1后台用户 2手机端用户)
  165. */
  166. operatorType?: number
  167. /**
  168. * 操作人员
  169. */
  170. operName?: string
  171. /**
  172. * 部门名称
  173. */
  174. deptName?: string
  175. /**
  176. * 请求URL
  177. */
  178. operUrl?: string
  179. /**
  180. * 主机地址
  181. */
  182. operIp?: string
  183. /**
  184. * 操作地点
  185. */
  186. operLocation?: string
  187. /**
  188. * 请求参数
  189. */
  190. operParam?: string
  191. /**
  192. * 返回参数
  193. */
  194. jsonResult?: string
  195. /**
  196. * 操作状态(1正常 0异常)
  197. */
  198. status?: number
  199. /**
  200. * 错误消息
  201. */
  202. errorMsg?: string
  203. /**
  204. * 操作时间
  205. */
  206. operTime?: string
  207. /**
  208. * 消耗时间
  209. */
  210. costTime?: number
  211. /**
  212. * 日期范围参数
  213. */
  214. params?: any
  215. }