修改3个小bug

pull/375/head
李防 2022-03-05 17:05:05 +08:00
parent 3dc1e0368e
commit cbea5f64c9
5 changed files with 14346 additions and 88 deletions

View File

@ -717,7 +717,7 @@ public class VideoManagerStoragerImpl implements IVideoManagerStorager {
try {
if (streamProxyMapper.add(streamProxyItem) > 0) {
if (!StringUtils.isEmpty(streamProxyItem.getGbId())) {
if (gbStreamMapper.add(streamProxyItem) > 0) {
if (gbStreamMapper.add(streamProxyItem) < 0) {
//事务回滚
dataSourceTransactionManager.rollback(transactionStatus);
return false;

View File

@ -53,6 +53,7 @@ public class PlatformController {
/**
*
*
* @return
*/
@ApiOperation("获取国标服务的配置")
@ -65,8 +66,10 @@ public class PlatformController {
result.put("password", sipConfig.getPassword());
return new ResponseEntity<>(result, HttpStatus.OK);
}
/**
*
*
* @return
*/
@ApiOperation("获取国标服务的配置")
@ -87,6 +90,7 @@ public class PlatformController {
/**
*
*
* @param page
* @param count
* @return
@ -107,6 +111,7 @@ public class PlatformController {
/**
*
*
* @param parentPlatform
* @return
*/
@ -154,7 +159,7 @@ public class PlatformController {
if (updateResult) {
// 保存时启用就发送注册
if (parentPlatform.isEnable()) {
if (parentPlatformOld.isStatus()) {
if (parentPlatformOld != null && parentPlatformOld.isStatus()) {
commanderForPlatform.unregister(parentPlatformOld, null, eventResult -> {
// 只要保存就发送注册
commanderForPlatform.register(parentPlatform, null, null);
@ -179,6 +184,7 @@ public class PlatformController {
/**
*
*
* @param parentPlatform
* @return
*/
@ -244,6 +250,7 @@ public class PlatformController {
/**
*
*
* @param serverGBId ID
* @return
*/
@ -291,6 +298,7 @@ public class PlatformController {
/**
*
*
* @param serverGBId ID
* @return
*/
@ -311,6 +319,7 @@ public class PlatformController {
/**
*
*
* @param page
* @param count
* @param platformId ID
@ -358,6 +367,7 @@ public class PlatformController {
/**
*
*
* @param param
* @return
*/
@ -379,6 +389,7 @@ public class PlatformController {
/**
*
*
* @param param
* @return
*/
@ -400,6 +411,7 @@ public class PlatformController {
/**
*
*
* @param platformId ID
* @param parentId ID
* @return
@ -432,6 +444,7 @@ public class PlatformController {
/**
*
*
* @param platformCatalog
* @return
*/
@ -469,6 +482,7 @@ public class PlatformController {
/**
*
*
* @param platformCatalog
* @return
*/
@ -503,6 +517,7 @@ public class PlatformController {
/**
*
*
* @param id Id
* @return
*/
@ -548,6 +563,7 @@ public class PlatformController {
/**
*
*
* @param platformCatalog
* @return
*/
@ -578,6 +594,7 @@ public class PlatformController {
/**
*
*
* @param platformId Id
* @param catalogId Id
* @return

View File

@ -13,7 +13,7 @@ spring:
# [可选] 数据库 DB
database: 6
# [可选] 访问密码,若你的redis服务器没有设置密码就不需要用密码去连接
password:
password: face2020
# [可选] 超时时间
timeout: 10000
# [可选] jdbc数据库配置, 项目使用sqlite作为数据库一般不需要配置
@ -23,7 +23,7 @@ spring:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://127.0.0.1:3306/wvp?useUnicode=true&characterEncoding=UTF8&rewriteBatchedStatements=true&serverTimezone=PRC&useSSL=false
username: root
password: root123
password: 123456
druid:
initialSize: 10 # 连接池初始化连接数
maxActive: 200 # 连接池最大连接数
@ -50,7 +50,7 @@ server:
# 作为28181服务器的配置
sip:
# [必须修改] 本机的IP
ip: 192.168.118.70
ip: 192.168.41.16
# [可选] 28181服务监听的端口
port: 5060
# 根据国标6.1.2中规定domain宜采用ID统一编码的前十位编码。国标附录D中定义前8位为中心编码由省级、市级、区级、基层编号组成参照GB/T 2260-2007
@ -67,9 +67,9 @@ sip:
media:
id: FQ3TF8yT83wh5Wvz
# [必须修改] zlm服务器的内网IP
ip: 192.168.118.70
ip: 192.168.41.16
# [必须修改] zlm服务器的http.port
http-port: 80
http-port: 8091
# [可选] zlm服务器的hook.admin_params=secret
secret: 035c73f7-bb6b-4889-a715-d9eb2d1925cc
# 启用多端口模式, 多端口模式使用端口区分每路流,兼容性更好。 单端口使用流的ssrc区分 点播超时建议使用多端口测试

14263
web_src/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -198,7 +198,7 @@ export default {
let that = this;
this.$axios({
method: 'get',
url:`/api/platform/query/10000/0`
url:`/api/platform/query/10000/1`
}).then(function (res) {
that.platformList = res.data.list;
}).catch(function (error) {