mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-25 00:50:30 +00:00
xuwei
This commit is contained in:
parent
5934db54ca
commit
2f37ea8933
1 changed files with 30 additions and 2 deletions
32
docs/PRD
32
docs/PRD
|
@ -1,3 +1,31 @@
|
|||
架构:后台JS框架+后端Python提供API服务
|
||||
# 概述
|
||||
|
||||
后端:Python, Docker, Docker-compose, FastAPI, Typer
|
||||
StackHub主要架构和技术选型如下:
|
||||
架构:后台JS框架+后端Python提供API服务
|
||||
后端:Python, Docker, Docker-compose, FastAPI, Typer
|
||||
|
||||
## 后端接口说明
|
||||
|
||||
### App安装接口(installApp)
|
||||
|
||||
#### 接口地址
|
||||
|
||||
http://ip:port/installApp
|
||||
|
||||
#### 访问方式
|
||||
|
||||
Http(get/post)
|
||||
|
||||
|
||||
#### 接口参数
|
||||
|
||||
| 变量名 | 说明 | 类型 | 备注 |
|
||||
| ------------ | ------------ | ----- |----- |
|
||||
| appName | 安装app的名称| str |可选 |
|
||||
|
||||
#### 返回数据
|
||||
|
||||
| 变量名 | 说明 | 类型 | 备注 |
|
||||
| ------------ | ------------ | ----- |----- |
|
||||
| code | 接口是否调用成功标志| str |"0":失败 "1":成功 |
|
||||
| message | 接口返回信息| str |如接口调用成功时返回"appName 安装成功" |
|
Loading…
Reference in a new issue