mirror of
https://gitee.com/pan648540858/wvp-GB28181-pro.git
synced 2026-05-25 22:47:49 +08:00
Compare commits
6 Commits
3438ad9ec3
...
72fe50f214
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
72fe50f214 | ||
|
|
e22d96cfb7 | ||
|
|
b9a4cac707 | ||
|
|
9b8134752c | ||
|
|
e459711680 | ||
|
|
a9c2837709 |
@ -9,6 +9,7 @@ cd wvp-GB28181-pro/web_src && \
|
||||
npm run build
|
||||
|
||||
cd ../../
|
||||
mkdir -p ./nginx/dist
|
||||
cp -r wvp-GB28181-pro/src/main/resources/static/* ./nginx/dist
|
||||
|
||||
echo "构建ZLM容器"
|
||||
@ -41,4 +42,4 @@ chmod +x ./build.sh
|
||||
./build.sh
|
||||
cd ../
|
||||
|
||||
./push.sh
|
||||
./push.sh
|
||||
|
||||
@ -39,7 +39,7 @@ public class SpringDocConfig {
|
||||
.info(new Info().title("WVP-PRO 接口文档")
|
||||
.contact(contact)
|
||||
.description("开箱即用的28181协议视频平台。 <br/>" +
|
||||
"1. 打开http://127.0.0.1:18080/doc.html#/1.%20全部/用户管理/login_1," +
|
||||
"1. 打开http://127.0.0.1:18080/doc.html#/1.%20全部/用户管理/login_1" +
|
||||
" 登录成功后返回AccessToken。 <br/>" +
|
||||
"2. 填写到AccessToken到参数值 http://127.0.0.1:18080/doc.html#/Authorize/1.%20全部 <br/>" +
|
||||
"后续接口就可以直接测试了")
|
||||
|
||||
@ -327,8 +327,9 @@ public class ServerController {
|
||||
|
||||
Map<String, String> docmap = new LinkedHashMap<>();
|
||||
result.put("文档地址", docmap);
|
||||
docmap.put("部署文档", String.format("%s://%s:%s/doc.html", request.getScheme(), request.getServerName(), request.getServerPort()));
|
||||
docmap.put("接口文档", "https://doc.wvp-pro.cn");
|
||||
docmap.put("部署文档", "https://doc.wvp-pro.cn");
|
||||
docmap.put("接口文档", String.format("%s://%s:%s/doc.html", request.getScheme(), request.getServerName(), request.getServerPort()));
|
||||
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user