通过文件发送或固化连接关系

555

# 通过文件发送或固化连接关系

Path:

/api/set_rcv_layout

Method: POST

Content-type: application/json; charset=utf-8

接口描述: 通过文件发送或固化连接关系

请求参数

名称 类型 示例 描述
type String file file: 通过文件二进制 , path: 通过文件路径
isSend bool false 是否发送 默认为false

请求Body参数

名称 类型 示例 描述
name String "xxx.rcvbp" 接收卡参数文件名

请求示例
(1)PATH 方式(供内部APP使用)

{
	"name": "2021-10-21 190744.mapping"
}

avatar

(2)FILE模式
avatar
返回数据

名称 类型 示例 描述
errorCode int 0 错误码
apiErrorCode int 0 API 错误码

响应示例

{
    "errorCode": 0,
    "apiErrorCode":0
}