pc-接收消息
## pc-接收消息
>pc-接收消息
###### 接口地址
> 地址:域名(ip地址)+/包名/sign/v2/signtmpl/receive/{scanid}
###### 请求方式
> POST
###### 请求参数
|参数|必选|类型|说明|
|-|-|-|-|
|signature|必填|string|签字信息加密码,从签字链接url中获取|
|scanid|可选|string|扫码id|
###### 返回参数
|返回参数|说明|
|-|-|
|type|0:未查询到消息;1:扫码成功,连接建立;2:消息接收成功;3:签字板连接已断开|
|msg|提示语|
|svgContent|签名内容|
###### 返回成功1
``` javascript
{
"succeed": 0,
"msg": null,
"data": {
"type": "0",
"msg":"未查询到消息"
}
}
```
###### 返回成功2
``` javascript
{
"succeed": 0,
"msg": null,
"data": {
"type": "1",
"msg":"扫码成功,连接已建立"
}
}
```
###### 返回成功3
``` javascript
{
"succeed": 0,
"msg": null,
"data": {
"type": "1",
"msg":"消息接收成功",
"svgContent":"xxx"
}
}
```
###### 返回成功4
``` javascript
{
"succeed": 0,
"msg": null,
"data": {
"type": "3",
"msg":"签字板页面已断开"
}
}
```
###### 返回失败
``` javascript
{
"succeed": 200,
"msg": {
"en": "Parameter error",
"cn": "参数错误"
},
"data": null
}
```