From 2f37ea8933bb5f5f8c3a51a19473428f18532d63 Mon Sep 17 00:00:00 2001 From: qiaofeng1227 <76487013@qq.com> Date: Mon, 30 Aug 2021 10:17:59 +0800 Subject: [PATCH] xuwei --- docs/PRD | 32 ++++++++++++++++++++++++++++++-- 1 file changed, 30 insertions(+), 2 deletions(-) diff --git a/docs/PRD b/docs/PRD index afd9d74e..dc9056c9 100644 --- a/docs/PRD +++ b/docs/PRD @@ -1,3 +1,31 @@ -架构:后台JS框架+后端Python提供API服务 +# 概述 -后端:Python, Docker, Docker-compose, FastAPI, Typer \ No newline at end of file +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 安装成功" | \ No newline at end of file