Pārlūkot izejas kodu

feat: 视频回采增加设备的流名称映射,在每次修改了推流参数后,都将修改流名称,并且在下次拉流时更新设备的推流url

zengweijie 3 gadi atpakaļ
vecāks
revīzija
76b9d4c934

+ 11 - 0
smsb-customer-manager-app/src/main/java/com/inspur/customer/service/inform/CommonInformServiceImpl.java

@@ -121,6 +121,17 @@ public class CommonInformServiceImpl implements CommonInformService {
         executeInformUserCmd(informCo, informStrategyCmd, users);
     }
 
+    @Override
+    public void superAdminLevelInform(CommonInformCO informCo) {
+        List<KeycloakUserCO> users = keycloakService.getSuperAdmin();
+        ExceptionInformStrategyCmd informStrategyCmd = new ExceptionInformStrategyCmd();
+        informStrategyCmd.setEmail(true);
+        informStrategyCmd.setNote(true);
+        informStrategyCmd.setWechat(true);
+        informStrategyCmd.setWechatApplet(true);
+        executeInformUserCmd(informCo, informStrategyCmd, users);
+    }
+
     @Override
     public void departmentLevelInform(CommonInformCO informCo) {
         log.info("department level: {}", informCo.getOrg());

+ 6 - 2
smsb-customer-manager-client/src/main/java/com/inspur/customer/client/inform/CommonInformService.java

@@ -20,15 +20,19 @@ public interface CommonInformService {
 
     /**
      * tenant level inform for tenant manager
-     * @see com.inspur.customer.context.inform.InformLevelEnum#TENANT
+     *
      * @param informCo informCO
+     * @see com.inspur.customer.context.inform.InformLevelEnum#TENANT
      */
     void tenantLevelInform(CommonInformCO informCo);
 
+    void superAdminLevelInform(CommonInformCO informCo);
+
     /**
      * department level inform for department leader
-     * @see com.inspur.customer.context.inform.InformLevelEnum#HINT
+     *
      * @param informCo informCO
+     * @see com.inspur.customer.context.inform.InformLevelEnum#HINT
      */
     void departmentLevelInform(CommonInformCO informCo);