修改接口文档

This commit is contained in:
wangsong 2021-11-16 17:18:50 +08:00
parent f09305edc7
commit ce0c8cc1dd
1 changed files with 16 additions and 12 deletions

View File

@ -21,18 +21,22 @@
### 方法列表
| Method Name | Input Args | Output Args | means |
| ------------------ | ---------- | ----------- | --------------------------------- |
| UpdateDetect | 无 | b | 更新cache产生组升级列表JSON文件 |
| DistUpgradeAll | b | b | 全部升级 |
| DistUpgradePartial | b,as | b | 部分升级 |
| DistUpgradeSystem | b | b | 全盘升级 |
| CancelDownload | 无 | b | 取消升级 |
| InsertInstallState | ss | b | 向display表插入数据 |
| GtDownloadspeedLimitValue | 无 | b | 获取当前限速 |
| SetDownloadspeedMax | sb | b | 设置限速 |
| GetBackendStatus | 无 | i | 控制获取后端状态 |
| UnattendedUpgradeValue | ss | bs | 获取是否允许关机前更新 |
| Method Name | Input Args | Output Args | means | 异步任务 |
| ------------------ | ---------- | ----------- | --------------------------------- | ------------------ |
| UpdateDetect | 无 | b | 更新cache产生组升级列表JSON文件 | |
| DistUpgradeAll | b | b | 全部升级 | |
| DistUpgradePartial | b,as | b | 部分升级 | |
| DistUpgradeSystem | b | b | 全盘升级 | |
| CancelDownload | 无 | b | 取消升级 | |
| InsertInstallState | ss | b | 向display表插入数据 | |
| GtDownloadspeedLimitValue | 无 | b | 获取当前限速 | |
| SetDownloadspeedMax | sb | b | 设置限速 | |
| GetBackendStatus | 无 | i | 控制获取后端状态 | |
| UnattendedUpgradeValue | ss | bs | 获取是否允许关机前更新 | |
| PurgePackages | as | bs | 卸载软件包 | 支持 |
| | | | | |
| | | | | |
| | | | | |
#### Method分析
#### UpdateDetect