Compare commits

...

7 Commits

Author SHA1 Message Date
WangXuewen
72fe50f214
Pre Merge pull request !34 from WangXuewen/master 2025-05-10 00:01:25 +00:00
648540858
e22d96cfb7 调整文档指向地址 2025-05-10 08:01:08 +08:00
648540858
b9a4cac707 修复文档描述跳转错误 2025-05-10 07:57:14 +08:00
lin
9b8134752c Merge remote-tracking branch 'origin/master' 2025-05-07 15:10:50 +08:00
648540858
e459711680
Merge pull request #1834 from youngerLFC/patch-1
fix the bug:"cp: target './nginx/dist' is not a directory"
2025-04-30 09:12:56 +08:00
youngerLFC
a9c2837709
Update build.sh
fix the bug:"cp: target './nginx/dist' is not a directory"
2025-04-29 16:55:46 +08:00
wangxw
b05f770a57 解决sql错误,启动是PGSQL查询报错integer=boolean 2024-12-12 17:37:36 +08:00
3 changed files with 6 additions and 4 deletions

View File

@ -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

View File

@ -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/>" +
"后续接口就可以直接测试了")

View File

@ -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;
}