jiumi
This commit is contained in:
parent
792cdd07a3
commit
95b74b7d1a
@ -2,7 +2,7 @@
|
|||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<title>WVP-PRO文档</title>
|
<title>API文档|九米科技视频平台</title>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
|
||||||
<meta name="description" content="Description">
|
<meta name="description" content="Description">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
|
||||||
@ -19,8 +19,8 @@
|
|||||||
<div id="app">加载中</div>
|
<div id="app">加载中</div>
|
||||||
<script>
|
<script>
|
||||||
window.$docsify = {
|
window.$docsify = {
|
||||||
name: 'WVP-RPO使用文档',
|
name: '九米科技视频平台|使用文档',
|
||||||
repo: 'https://github.com/648540858/wvp-GB28181-pro',
|
repo: 'https://www.hebei9.cn',
|
||||||
loadSidebar: true, // 开启侧边栏
|
loadSidebar: true, // 开启侧边栏
|
||||||
loadNavbar: true, // 开启导航栏
|
loadNavbar: true, // 开启导航栏
|
||||||
coverpage: true, // 开启封面
|
coverpage: true, // 开启封面
|
||||||
|
|||||||
@ -29,15 +29,15 @@ public class SpringDocConfig {
|
|||||||
public OpenAPI springShopOpenApi() {
|
public OpenAPI springShopOpenApi() {
|
||||||
Contact contact = new Contact();
|
Contact contact = new Contact();
|
||||||
contact.setName("pan");
|
contact.setName("pan");
|
||||||
contact.setEmail("648540858@qq.com");
|
contact.setEmail("10056446@qq.com");
|
||||||
return new OpenAPI()
|
return new OpenAPI()
|
||||||
.components(new Components()
|
.components(new Components()
|
||||||
.addSecuritySchemes(JwtUtils.HEADER, new SecurityScheme()
|
.addSecuritySchemes(JwtUtils.HEADER, new SecurityScheme()
|
||||||
.type(SecurityScheme.Type.HTTP)
|
.type(SecurityScheme.Type.HTTP)
|
||||||
.bearerFormat("JWT")))
|
.bearerFormat("JWT")))
|
||||||
.info(new Info().title("WVP-PRO 接口文档")
|
.info(new Info().title("九米监控视频 接口文档")
|
||||||
.contact(contact)
|
.contact(contact)
|
||||||
.description("开箱即用的28181协议视频平台")
|
.description("28181协议视频平台")
|
||||||
.version("v3.1.0")
|
.version("v3.1.0")
|
||||||
.license(new License().name("Apache 2.0").url("http://springdoc.org")));
|
.license(new License().name("Apache 2.0").url("http://springdoc.org")));
|
||||||
}
|
}
|
||||||
|
|||||||
@ -331,15 +331,15 @@ public class ServerController {
|
|||||||
operatingSystemMap.put("类型", operatingSystem.getManufacturer());
|
operatingSystemMap.put("类型", operatingSystem.getManufacturer());
|
||||||
|
|
||||||
Map<String, String> platformMap = new LinkedHashMap<>();
|
Map<String, String> platformMap = new LinkedHashMap<>();
|
||||||
result.put("平台信息", platformMap);
|
// result.put("平台信息", platformMap);
|
||||||
VersionPo version = versionInfo.getVersion();
|
// VersionPo version = versionInfo.getVersion();
|
||||||
platformMap.put("版本", version.getVersion());
|
// platformMap.put("版本", version.getVersion());
|
||||||
platformMap.put("构建日期", version.getBUILD_DATE());
|
// platformMap.put("构建日期", version.getBUILD_DATE());
|
||||||
platformMap.put("GIT分支", version.getGIT_BRANCH());
|
// platformMap.put("GIT分支", version.getGIT_BRANCH());
|
||||||
platformMap.put("GIT地址", version.getGIT_URL());
|
// platformMap.put("GIT地址", version.getGIT_URL());
|
||||||
platformMap.put("GIT日期", version.getGIT_DATE());
|
// platformMap.put("GIT日期", version.getGIT_DATE());
|
||||||
platformMap.put("GIT版本", version.getGIT_Revision_SHORT());
|
// platformMap.put("GIT版本", version.getGIT_Revision_SHORT());
|
||||||
platformMap.put("DOCKER环境", new File("/.dockerenv").exists()?"是":"否");
|
// platformMap.put("DOCKER环境", new File("/.dockerenv").exists()?"是":"否");
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -19,18 +19,18 @@ spring:
|
|||||||
# [必须修改] 端口号
|
# [必须修改] 端口号
|
||||||
port: 6379
|
port: 6379
|
||||||
# [可选] 数据库 DB
|
# [可选] 数据库 DB
|
||||||
database: 7
|
database: 1
|
||||||
# [可选] 访问密码,若你的redis服务器没有设置密码,就不需要用密码去连接
|
# [可选] 访问密码,若你的redis服务器没有设置密码,就不需要用密码去连接
|
||||||
password: luna
|
password: jiumi2025
|
||||||
# [可选] 超时时间
|
# [可选] 超时时间
|
||||||
timeout: 10000
|
timeout: 10000
|
||||||
# mysql数据源
|
# mysql数据源
|
||||||
datasource:
|
datasource:
|
||||||
type: com.zaxxer.hikari.HikariDataSource
|
type: com.zaxxer.hikari.HikariDataSource
|
||||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||||
url: jdbc:mysql://127.0.0.1:3306/wvp273数据库统合?useUnicode=true&characterEncoding=UTF8&rewriteBatchedStatements=true&serverTimezone=PRC&useSSL=false&allowMultiQueries=true&allowPublicKeyRetrieval=true
|
url: jdbc:mysql://127.0.0.1:3306/wvprtsp?useUnicode=true&characterEncoding=UTF8&rewriteBatchedStatements=true&serverTimezone=PRC&useSSL=false&allowMultiQueries=true&allowPublicKeyRetrieval=true
|
||||||
username: root
|
username: root
|
||||||
password: 12345678
|
password: 2fbeccb829d05a67
|
||||||
#[可选] WVP监听的HTTP端口, 网页和接口调用都是这个端口
|
#[可选] WVP监听的HTTP端口, 网页和接口调用都是这个端口
|
||||||
server:
|
server:
|
||||||
port: 18080
|
port: 18080
|
||||||
@ -57,7 +57,7 @@ sip:
|
|||||||
# [可选]
|
# [可选]
|
||||||
id: 41010500002000000001
|
id: 41010500002000000001
|
||||||
# [可选] 默认设备认证密码,后续扩展使用设备单独密码, 移除密码将不进行校验
|
# [可选] 默认设备认证密码,后续扩展使用设备单独密码, 移除密码将不进行校验
|
||||||
password: 12345678
|
password: jm202512345678
|
||||||
# 是否存储alarm信息
|
# 是否存储alarm信息
|
||||||
alarm: false
|
alarm: false
|
||||||
|
|
||||||
@ -65,11 +65,11 @@ sip:
|
|||||||
media:
|
media:
|
||||||
id: zlmediakit-local
|
id: zlmediakit-local
|
||||||
# [必须修改] zlm服务器的内网IP
|
# [必须修改] zlm服务器的内网IP
|
||||||
ip: 192.168.1.10
|
ip: 127.0.0.1
|
||||||
# [必须修改] zlm服务器的http.port
|
# [必须修改] zlm服务器的http.port
|
||||||
http-port: 9092
|
http-port: 6080
|
||||||
# [必选选] zlm服务器的hook.admin_params=secret
|
# [必选选] zlm服务器的hook.admin_params=secret
|
||||||
secret: TWSYFgYJOQWB4ftgeYut8DW4wbs7pQnj
|
secret: LvPAcRx8EtiLnDvol5RPOz8rWd39SVdH
|
||||||
# 启用多端口模式, 多端口模式使用端口区分每路流,兼容性更好。 单端口使用流的ssrc区分, 点播超时建议使用多端口测试
|
# 启用多端口模式, 多端口模式使用端口区分每路流,兼容性更好。 单端口使用流的ssrc区分, 点播超时建议使用多端口测试
|
||||||
rtp:
|
rtp:
|
||||||
# [可选] 是否启用多端口模式, 开启后会在portRange范围内选择端口用于媒体流传输
|
# [可选] 是否启用多端口模式, 开启后会在portRange范围内选择端口用于媒体流传输
|
||||||
|
|||||||
@ -12,14 +12,14 @@ module.exports = {
|
|||||||
assetsPublicPath: '/',
|
assetsPublicPath: '/',
|
||||||
proxyTable: {
|
proxyTable: {
|
||||||
'/debug': {
|
'/debug': {
|
||||||
target: 'http://127.0.0.1:18080',
|
target: 'http://rtsp.api.hebei9.cn',
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
pathRewrite: {
|
pathRewrite: {
|
||||||
'^/debug': '/'
|
'^/debug': '/'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
'/static/snap': {
|
'/static/snap': {
|
||||||
target: 'http://127.0.0.1:18080',
|
target: 'http://rtsp.api.hebei9.cn',
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
// pathRewrite: {
|
// pathRewrite: {
|
||||||
// '^/static/snap': '/static/snap'
|
// '^/static/snap': '/static/snap'
|
||||||
|
|||||||
@ -3,10 +3,10 @@
|
|||||||
<div class="limiter">
|
<div class="limiter">
|
||||||
<div class="container-login100">
|
<div class="container-login100">
|
||||||
<div class="wrap-login100">
|
<div class="wrap-login100">
|
||||||
<span class="login100-form-title p-b-26">九米视频平台</span>
|
<span class="login100-form-title p-b-26">监控视频管理平台</span>
|
||||||
<span class="login100-form-title p-b-48">
|
<!-- <span class="login100-form-title p-b-48">-->
|
||||||
<i class="fa fa-video-camera"></i>
|
<!-- <i class="fa fa-video-camera"></i>-->
|
||||||
</span>
|
<!-- </span>-->
|
||||||
|
|
||||||
<div class="wrap-input100 validate-input" data-validate = "Valid email is: a@b.c">
|
<div class="wrap-input100 validate-input" data-validate = "Valid email is: a@b.c">
|
||||||
<input :class="'input100 ' + (username==''?'':'has-val')" type="text" v-model="username" name="username">
|
<input :class="'input100 ' + (username==''?'':'has-val')" type="text" v-model="username" name="username">
|
||||||
@ -30,6 +30,9 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="banquan">Copyright © 2009-2050
|
||||||
|
<el-link type="primary" href="//www.hebei9.cn"> 河北九米电子科技有限公司</el-link>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@ -119,4 +122,16 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
<style scoped>
|
||||||
|
.banquan{
|
||||||
|
text-align: center;
|
||||||
|
position: absolute;
|
||||||
|
bottom: 10px;
|
||||||
|
margin: 0px auto;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|||||||
@ -19,12 +19,6 @@
|
|||||||
<el-tag size="small">{{configInfoData.sip.password}}</el-tag>
|
<el-tag size="small">{{configInfoData.sip.password}}</el-tag>
|
||||||
</el-descriptions-item>
|
</el-descriptions-item>
|
||||||
</el-descriptions>
|
</el-descriptions>
|
||||||
<el-descriptions title="版本信息"v-if="configInfoData.version">
|
|
||||||
<el-descriptions-item label="版本">{{configInfoData.version.version}}</el-descriptions-item>
|
|
||||||
<el-descriptions-item label="编译时间">{{configInfoData.version.build_DATE}}</el-descriptions-item>
|
|
||||||
<el-descriptions-item label="GIT版本">{{configInfoData.version.git_Revision_SHORT}}</el-descriptions-item>
|
|
||||||
<el-descriptions-item label="GIT最后提交时间">{{configInfoData.version.git_DATE}}</el-descriptions-item>
|
|
||||||
</el-descriptions>
|
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
<el-menu-item index="/console">控制台</el-menu-item>
|
<el-menu-item index="/console">控制台</el-menu-item>
|
||||||
<el-menu-item index="/live">分屏监控</el-menu-item>
|
<el-menu-item index="/live">分屏监控</el-menu-item>
|
||||||
<!-- <el-menu-item index="/map">电子地图</el-menu-item>-->
|
<el-menu-item index="/map">电子地图</el-menu-item>
|
||||||
<el-menu-item index="/deviceList">国标设备</el-menu-item>
|
<el-menu-item index="/deviceList">国标设备</el-menu-item>
|
||||||
<el-menu-item index="/streamPushList">推流列表</el-menu-item>
|
<el-menu-item index="/streamPushList">推流列表</el-menu-item>
|
||||||
<el-menu-item index="/streamProxyList">拉流代理</el-menu-item>
|
<el-menu-item index="/streamProxyList">拉流代理</el-menu-item>
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 9.7 KiB After Width: | Height: | Size: 9.4 KiB |
Loading…
Reference in New Issue
Block a user