This commit is contained in:
parent
6766f4d920
commit
4c6f979db5
23
ReadMe.md
23
ReadMe.md
|
@ -20,3 +20,26 @@
|
|||
### 查询:
|
||||

|
||||
#### WebApi:`localhost:5242/api/query?key={handle}`
|
||||
|
||||
### 删除:
|
||||
```csharp
|
||||
[HttpGet]
|
||||
[Route("delete")]
|
||||
public async Task<bool> Delete (string handle)
|
||||
{
|
||||
await _service.DeleteAsync(handle);
|
||||
return true;
|
||||
}
|
||||
```
|
||||
#### WebApi:`localhost:5242/api/delete?handle={handle}`
|
||||
|
||||
### 检查标识码是否存在
|
||||
```csharp
|
||||
[HttpGet]
|
||||
[Route("isExist")]
|
||||
public async Task<bool> IsExist(string key)
|
||||
{
|
||||
return await _service.IsExistAsync(key);
|
||||
}
|
||||
```
|
||||
#### WebApi:`localhost:5242/api/isExist?key={key}`
|
Loading…
Reference in New Issue