This commit is contained in:
CortexCore 2024-04-28 17:06:49 +08:00
parent 6766f4d920
commit 4c6f979db5
1 changed files with 24 additions and 1 deletions

View File

@ -19,4 +19,27 @@
```
### 查询:
![Clip_20240428_161438.png](ReadMe%2FClip_20240428_161438.png)
#### WebApi:`localhost:5242/api/query?key={handle}`
#### 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}`