definitions: base.HTTPError: properties: code: example: 500 format: int type: integer message: example: status bad request type: string type: object v1.CodeGateCheckCodeBody: properties: BrushTime: type: string CodeType: type: string CodeVal: type: string IsOnline: type: string Property: type: string SN: type: string UID: type: string UKey: type: string ViewId: type: string type: object v1.CodeGateCheckCodeResponse: properties: Status: type: integer UID: type: string type: object v1.CodeGateIsConnectBody: properties: SN: type: string UID: type: string UKey: type: string ViewId: type: string type: object v1.CodeGateIsConnectResponse: properties: DateTime: type: string type: object v1.CodeGateQueryCmdBody: properties: DoorMagnetic: type: string SN: type: string TamperAlarm: type: string UID: type: string UKey: type: string ViewId: type: string type: object v1.CodeGateQueryCmdPostDataBody: properties: CmdCode: type: integer CmdID: type: string CmdParams: additionalProperties: items: additionalProperties: type: string type: object type: array type: object CmdStatus: type: integer SN: type: string UID: type: string UKey: type: string ViewId: type: string type: object v1.CodeGateQueryCmdPostDataResponse: properties: CmdStatus: type: integer CmdStatusDesc: type: integer type: object v1.CodeGateQueryCmdResponse: properties: CmdCode: type: integer CmdID: type: string CmdParams: description: CmdParams string `json:"CmdParams"` items: additionalProperties: type: string type: object type: array type: object info: contact: {} description: This is a gateway server. On the page, you can go to do testing for every API. license: {} title: Project property-device-gateway's APIs version: "1.1" paths: /api/CheckCode: post: consumes: - application/json description: 设备上传数据 parameters: - description: ' ' in: body name: body required: true schema: $ref: '#/definitions/v1.CodeGateCheckCodeBody' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.CodeGateCheckCodeResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 设备上传数据 tags: - 二维码门禁 /api/IsConnect: post: consumes: - application/json description: 心跳 parameters: - description: ' ' in: body name: body required: true schema: $ref: '#/definitions/v1.CodeGateIsConnectBody' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.CodeGateIsConnectResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 心跳 tags: - 二维码门禁 /api/QueryCmd: post: consumes: - application/json description: 轮询是否有命令 parameters: - description: ' ' in: body name: body required: true schema: $ref: '#/definitions/v1.CodeGateQueryCmdBody' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.CodeGateQueryCmdResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 轮询是否有命令 tags: - 二维码门禁 /api/QueryCmdPostData: post: consumes: - application/json description: 命令执行结果 parameters: - description: ' ' in: body name: body required: true schema: $ref: '#/definitions/v1.CodeGateQueryCmdPostDataBody' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.CodeGateQueryCmdPostDataResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 命令执行结果 tags: - 二维码门禁 swagger: "2.0"