接口地址
POST /demo-Rest/api/user/logout/${deviceId}/${reqTime}
Content-Type: application/json
restful參數(shù)
| 屬性 ** | 類型 | 長度 |約束|說明**|
| ------------- |:-------------:| :-----|: -----||: -----|
| deviceId| String |64位| 必填|設(shè)備ID|
| reqTime| int|| 必填|時間戳|
請求
請求參數(shù)
| 屬性 ** | 類型 | 長度 |約束|說明**|
| ------------- |:-------------:| :-----|: -----||: -----|
| uuid| String |64位| 必填|登錄憑證|
請求示例
{
"uuid": "demo989eed4a526d48ee8acc68288c087cb5212"
}
響應(yīng)
響應(yīng)參數(shù)
| 屬性 ** | 類型 | 長度 |約束|說明**|
| ------------- |:-------------:| :-----|: -----||: -----|
| head| Object || 必填 ||
head結(jié)構(gòu)
| 屬性 ** | 類型 | 長度 |約束|說明**|
| ------------- |:-------------:| :-----|: -----||: -----|
| msg| String |80位| 必填 |成功為ok阱当,失敗為錯誤描述|
| code|String |20位| 必填|成功為0000,失敗為錯誤碼|
響應(yīng)示例
{
"head": {
"msg": "ok",
"code": "0000"
}
}