POST Api/Service/LockTake
针对锁及令牌添加锁请求
Request Information
URI Parameters
None.
Body Parameters
SpeedPower.Service.MIRedis.Models.Service.LockTake| Name | Description | Type | Additional information |
|---|---|---|---|
| Timeout |
过期时间 |
time interval |
None. |
| Token |
令牌信息 |
string |
Required |
| Key |
Key值 |
string |
Required |
Request Formats
application/json, text/json
Sample:
{
"Timeout": "00:00:00.1234567",
"Token": "sample string 2",
"Key": "sample string 3"
}
Response Information
Resource Description
针对锁及令牌添加锁请求
SpeedPower.Service.MIRedis.Models.Helper.ResultMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Succeed |
操作是否成功 |
boolean |
None. |
| Message |
操作消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Succeed": true,
"Message": "sample string 2"
}