swagger.yaml 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  1. definitions:
  2. base.HTTPError:
  3. properties:
  4. code:
  5. example: 500
  6. format: int
  7. type: integer
  8. msg:
  9. example: status bad request
  10. type: string
  11. type: object
  12. info:
  13. contact: {}
  14. license: {}
  15. paths:
  16. /Regist.Asfx:
  17. post:
  18. consumes:
  19. - multipart/form-data
  20. description: 门禁人员注册
  21. parameters:
  22. - description: ' '
  23. in: formData
  24. name: Idno
  25. type: string
  26. - description: ' '
  27. in: formData
  28. name: Name
  29. type: string
  30. - description: ' '
  31. in: formData
  32. name: gender
  33. type: integer
  34. - description: ' '
  35. in: formData
  36. name: nation
  37. type: string
  38. - description: ' '
  39. in: formData
  40. name: birthday
  41. type: string
  42. - description: ' '
  43. in: formData
  44. name: address
  45. type: string
  46. - description: ' '
  47. in: formData
  48. name: idissue
  49. type: string
  50. - description: ' '
  51. in: formData
  52. name: idperiod
  53. type: string
  54. - description: ' '
  55. in: formData
  56. name: idphoto
  57. type: string
  58. - description: ' '
  59. in: formData
  60. name: photo
  61. type: string
  62. - description: ' '
  63. in: formData
  64. name: inf_photo
  65. type: string
  66. - description: ' '
  67. in: formData
  68. name: userType
  69. type: integer
  70. - description: ' '
  71. in: formData
  72. name: dev_mac
  73. type: string
  74. - description: ' '
  75. in: formData
  76. name: RegType
  77. type: integer
  78. produces:
  79. - application/json
  80. responses:
  81. "500":
  82. description: Internal Server Error
  83. schema:
  84. $ref: '#/definitions/base.HTTPError'
  85. summary: 门禁人员注册
  86. tags:
  87. - 门禁
  88. /Service/DistinguishWebSvr.assx/UploadCarData:
  89. post:
  90. consumes:
  91. - multipart/form-data
  92. description: 运渣车实时数据上传
  93. parameters:
  94. - description: ' '
  95. in: formData
  96. name: carInfo
  97. type: string
  98. - description: ' '
  99. in: formData
  100. name: image
  101. type: file
  102. - description: ' '
  103. in: formData
  104. name: image1
  105. type: file
  106. - description: ' '
  107. in: formData
  108. name: image2
  109. type: file
  110. - description: ' '
  111. in: formData
  112. name: image3
  113. type: file
  114. - description: ' '
  115. in: formData
  116. name: cleanImage
  117. type: file
  118. produces:
  119. - application/json
  120. responses:
  121. "500":
  122. description: Internal Server Error
  123. schema:
  124. $ref: '#/definitions/base.HTTPError'
  125. summary: 运渣车实时数据上传
  126. tags:
  127. - 运渣车
  128. /httpserver/Service/DevivePacketWebSvr.assx/FeedBack:
  129. post:
  130. consumes:
  131. - multipart/form-data
  132. description: 确认信息
  133. parameters:
  134. - description: ' '
  135. in: query
  136. name: type
  137. type: integer
  138. - description: ' '
  139. in: query
  140. name: sn
  141. type: string
  142. - description: ' '
  143. in: query
  144. name: msg
  145. type: string
  146. produces:
  147. - application/json
  148. responses:
  149. "500":
  150. description: Internal Server Error
  151. schema:
  152. $ref: '#/definitions/base.HTTPError'
  153. summary: 确认信息
  154. tags:
  155. - 门禁
  156. /httpserver/Service/DevivePacketWebSvr.assx/GetAddPerson:
  157. get:
  158. consumes:
  159. - multipart/form-data
  160. description: 门禁人员批量下发
  161. parameters:
  162. - description: ' '
  163. in: query
  164. name: sn
  165. type: string
  166. produces:
  167. - application/json
  168. responses:
  169. "500":
  170. description: Internal Server Error
  171. schema:
  172. $ref: '#/definitions/base.HTTPError'
  173. summary: 门禁
  174. tags:
  175. - 门禁
  176. /httpserver/Service/DevivePacketWebSvr.assx/GetDelPerson:
  177. get:
  178. consumes:
  179. - multipart/form-data
  180. description: 删除员工
  181. parameters:
  182. - description: ' '
  183. in: query
  184. name: sn
  185. type: string
  186. produces:
  187. - application/json
  188. responses:
  189. "500":
  190. description: Internal Server Error
  191. schema:
  192. $ref: '#/definitions/base.HTTPError'
  193. summary: 删除员工
  194. tags:
  195. - 门禁
  196. /httpserver/Service/DevivePacketWebSvr.assx/UploadAttendance:
  197. post:
  198. consumes:
  199. - multipart/form-data
  200. description: 上传实时数据
  201. parameters:
  202. - description: ' '
  203. in: query
  204. name: sn
  205. type: string
  206. - description: ' '
  207. in: query
  208. name: content
  209. type: string
  210. produces:
  211. - application/json
  212. responses:
  213. "500":
  214. description: Internal Server Error
  215. schema:
  216. $ref: '#/definitions/base.HTTPError'
  217. summary: 上传实时数据
  218. tags:
  219. - 门禁
  220. swagger: "2.0"