Commit 815ffba76924ec14711210003b802b97fb564af2

Authored by 刘基城
2 parents 205f9f2a 5ff861e0
.settings/org.eclipse.wst.common.component
... ... @@ -8,6 +8,15 @@
8 8 <dependent-module archiveName="cnlive_live_model-0.0.1-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/cnlive_live_model/cnlive_live_model">
9 9 <dependency-type>uses</dependency-type>
10 10 </dependent-module>
  11 + <dependent-module archiveName="cnlive_ks3-1.0-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/cnlive_ks3/cnlive_ks3">
  12 + <dependency-type>uses</dependency-type>
  13 + </dependent-module>
  14 + <dependent-module archiveName="smart-framework-4.0.1.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/smart-framework/smart-framework">
  15 + <dependency-type>uses</dependency-type>
  16 + </dependent-module>
  17 + <dependent-module archiveName="smart-plugin-job-1.0.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/smart-plugin-job/smart-plugin-job">
  18 + <dependency-type>uses</dependency-type>
  19 + </dependent-module>
11 20 <dependent-module archiveName="smart-plugin-dbcp-1.0.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/smart-plugin-dbcp/smart-plugin-dbcp">
12 21 <dependency-type>uses</dependency-type>
13 22 </dependent-module>
... ...
src/main/java/com/cnlive/mz/live/action/HttpPostArgumentTest2.java
... ... @@ -67,7 +67,7 @@ public class HttpPostArgumentTest2 {
67 67 NameValuePair[] param = { new NameValuePair("relation_id", "283645"), new NameValuePair("video_type", "3"),
68 68 new NameValuePair("user_access_key", user_access_key),
69 69 new NameValuePair("app_access_key", app_access_key) };
70   - String c = HttpReq.postRequestWidthResult("http://bc.cnlive.com/api/video/redirect", param);
  70 + String c = HttpReq.postRequestWidthResult("http://localhost:8080/cnlive_live_web/api/video/redirect", param);
71 71 System.out.println(c);
72 72 }
73 73  
... ...
src/main/java/com/cnlive/mz/live/action/VideoAction.java
... ... @@ -5,6 +5,7 @@ import java.util.LinkedHashMap;
5 5 import java.util.Map;
6 6  
7 7 import org.apache.commons.lang3.StringUtils;
  8 +import org.apache.log4j.Logger;
8 9 import org.smart4j.framework.dao.bean.Pager;
9 10 import org.smart4j.framework.ioc.annotation.Inject;
10 11 import org.smart4j.framework.mvc.DataContext;
... ... @@ -17,6 +18,7 @@ import org.smart4j.framework.mvc.bean.View;
17 18 import org.smart4j.framework.util.CastUtil;
18 19  
19 20 import com.cnlive.mz.commons.CnliveUtil;
  21 +import com.cnlive.mz.live.common.Constants;
20 22 import com.cnlive.mz.live.common.LiveUtils;
21 23 import com.cnlive.mz.live.entity.TLive;
22 24 import com.cnlive.mz.live.entity.TVideo;
... ... @@ -27,6 +29,8 @@ import com.cnlive.mz.live.service.TVideoService;
27 29  
28 30 @Action
29 31 public class VideoAction {
  32 +
  33 + private Logger log = Logger.getLogger("action");
30 34 @Inject
31 35 private TDispatchServerService tDispatchServerService;
32 36 @Inject
... ... @@ -63,6 +67,9 @@ public class VideoAction {
63 67 String server_access_key = params.getString("server_access_key");
64 68 String active_id = params.getString("active_id");
65 69 String title = params.getString("title");
  70 + if (title.length() > 50) {
  71 + title = title.substring(0, 50);
  72 + }
66 73 String direct = params.getString("direct");
67 74 String description = params.getString("description");
68 75 String custom_args = params.getString("custom_args");
... ... @@ -99,10 +106,7 @@ public class VideoAction {
99 106 } else {
100 107 tLive.setDirect(Integer.parseInt(direct));
101 108 }
102   - // tLive.setLive_url("http://cnlive.hlslive.ks-cdn.com/live/" +
103   - // tLive.getT_user_id() + "_" + uuid
104   - // + "/index.m3u8");
105   - tLive.setLive_url("rtmp://cnlive.rtmplive.ks-cdn.com/live/" + tLive.getT_user_id() + "_" + uuid);
  109 + tLive.setLive_url(Constants.KS_HOST_RTMP + tLive.getT_user_id() + "_" + uuid);
106 110 tLiveService.startLive(tLive);
107 111 }
108 112 data.put("video_uuid", uuid);
... ... @@ -173,12 +177,14 @@ public class VideoAction {
173 177 String upload_type = params.getString("upload_type");
174 178 String video_type = params.getString("video_type");
175 179 String state = params.getString("state");
  180 + String duration = params.getString("duration");
  181 + xLog("uploadNotify", "duration", duration, video_uuid, video_type, state);
176 182 if (video_type.equals("2")) {
177 183 // 点播通知
178 184 tVideoService.notify(video_uuid);
179 185 } else if (video_type.equals("3")) {
180   - // 直播通知
181   - tLiveService.notify(video_uuid);
  186 + // 直播正常结束
  187 + tLiveService.notify(video_uuid, 2);
182 188 }
183 189 ApiBean apiBean = new ApiBean();
184 190 apiBean.setCode(100);
... ... @@ -187,9 +193,9 @@ public class VideoAction {
187 193 }
188 194  
189 195 @Request.Get("/api/video/error/{video_uuid}")
190   - public ApiBean beat(String video_uuid) {
191   - // 直播通知
192   - tLiveService.notify(video_uuid);
  196 + public ApiBean error(String video_uuid) {
  197 + // 直播异常结束
  198 + tLiveService.notify(video_uuid, -2);
193 199 ApiBean apiBean = new ApiBean();
194 200 apiBean.setCode(100);
195 201 apiBean.setMessage("请求成功");
... ... @@ -208,4 +214,13 @@ public class VideoAction {
208 214 apiBean.setMessage("请求成功");
209 215 return apiBean;
210 216 }
  217 +
  218 + private void xLog(String... str) {
  219 + StringBuffer sb = new StringBuffer();
  220 + for (int i = 0; i < str.length; i++) {
  221 + sb.append(str[i]);
  222 + sb.append("|");
  223 + }
  224 + log.info(sb.toString());
  225 + }
211 226 }
... ...
src/main/resources/log4j.properties
1 1 log4j.rootLogger=INFO,console,file
2   -
  2 +log4j.logger.content=INFO,content
  3 +log4j.logger.video=INFO,video
  4 +log4j.logger.action=INFO,action
3 5 log4j.appender.console=org.apache.log4j.ConsoleAppender
4 6 log4j.appender.console.Target=System.out
5 7 log4j.appender.console.layout=org.apache.log4j.PatternLayout
... ... @@ -16,6 +18,33 @@ log4j.appender.file.layout.ConversionPattern=%d{HH:mm:ss,SSS} %p %c (%L) - %m%n
16 18 log4j.logger.org.smart4j=DEBUG
17 19  
18 20  
  21 +#action
  22 +log4j.appender.action=org.apache.log4j.DailyRollingFileAppender
  23 +log4j.appender.action.File=${catalina.home}/logs/action.log
  24 +log4j.appender.action.layout=org.apache.log4j.PatternLayout
  25 +log4j.appender.action.layout.ConversionPattern=[%d{yyyy-MM-dd HH:mm:ss}] %5p [%t] %C{1} - %m%n
  26 +log4j.appender.action.DatePattern='.'yyyy-MM-dd
  27 +log4j.appender.action.Encoding=UTF-8
  28 +
  29 +#content
  30 +log4j.appender.content=org.apache.log4j.DailyRollingFileAppender
  31 +log4j.appender.content.File=${catalina.home}/logs/content.log
  32 +log4j.appender.content.layout=org.apache.log4j.PatternLayout
  33 +log4j.appender.content.layout.ConversionPattern=[%d{yyyy-MM-dd HH:mm:ss}] %5p [%t] %C{1} - %m%n
  34 +log4j.appender.content.DatePattern='.'yyyy-MM-dd
  35 +log4j.appender.content.Encoding=UTF-8
  36 +
  37 +
  38 +
  39 +#video
  40 +log4j.appender.video=org.apache.log4j.DailyRollingFileAppender
  41 +log4j.appender.video.File=${catalina.home}/logs/video.log
  42 +log4j.appender.video.layout=org.apache.log4j.PatternLayout
  43 +log4j.appender.video.layout.ConversionPattern=[%d{yyyy-MM-dd HH:mm:ss}] %5p [%t] %C{1} - %m%n
  44 +log4j.appender.video.DatePattern='.'yyyy-MM-dd
  45 +log4j.appender.video.Encoding=UTF-8
  46 +
  47 +
19 48 #log4j.logger.com.ksyun.ks3=DEBUG,stdout
20 49 #log4j.logger.org.apache.http=DEBUG,stdout
21 50 #log4j.logger.org.apache.http.wire=ERROR,stdout
... ...
target/classes/VHost.xml.properties deleted 100644 → 0
1   -
2   -<HTTPProvider>
3   - <BaseClass>com.cnlive.wowza.plugins.RestartApplication</BaseClass>
4   - <RequestFilters>cnlive/restart*</RequestFilters>
5   - <AuthenticationMethod>none</AuthenticationMethod>
6   -</HTTPProvider>
7   -<HTTPProvider>
8   - <BaseClass>com.cnlive.wowza.plugins.HTTProviderInfoXML</BaseClass>
9   - <RequestFilters>cnlive/info*</RequestFilters>
10   - <AuthenticationMethod>none</AuthenticationMethod>
11   -</HTTPProvider>
12   -<HTTPProvider>
13   - <BaseClass>com.cnlive.wowza.plugins.HTTProviderSwitch</BaseClass>
14   - <RequestFilters>cnlive/switchStream*</RequestFilters>
15   - <AuthenticationMethod>none</AuthenticationMethod>
16   -</HTTPProvider>
17   -<HTTPProvider>
18   - <BaseClass>com.cnlive.wowza.plugins.HTTProviderStreams</BaseClass>
19   - <RequestFilters>cnlive/streams*</RequestFilters>
20   - <AuthenticationMethod>none</AuthenticationMethod>
21   -</HTTPProvider>
22   -
23 0 \ No newline at end of file
target/classes/cnlive_live.sql deleted 100644 → 0
1   -/*
2   -Navicat MySQL Data Transfer
3   -
4   -Source Server : 101.251.198.175
5   -Source Server Version : 50173
6   -Source Host : 101.251.198.175:3306
7   -Source Database : cnlive_live
8   -
9   -Target Server Type : MYSQL
10   -Target Server Version : 50173
11   -File Encoding : 65001
12   -
13   -Date: 2015-10-19 14:33:15
14   -*/
15   -
16   -SET FOREIGN_KEY_CHECKS=0;
17   -
18   --- ----------------------------
19   --- Table structure for `t_activity`
20   --- ----------------------------
21   -DROP TABLE IF EXISTS `t_activity`;
22   -CREATE TABLE `t_activity` (
23   - `id` int(11) NOT NULL AUTO_INCREMENT,
24   - `name` varchar(50) DEFAULT NULL COMMENT '活动名称',
25   - `epg_name` varchar(50) DEFAULT NULL COMMENT 'epg 条目名称',
26   - `description` varchar(500) DEFAULT NULL COMMENT '活动描述',
27   - `place` varchar(255) DEFAULT NULL COMMENT '活动地点',
28   - `state` tinyint(2) DEFAULT NULL COMMENT '状态:0:未开始 1:直播中 2:结束 3: 回放同步中 4:同步完成',
29   - `start_time` datetime DEFAULT NULL COMMENT '活动开始时间',
30   - `end_time` datetime DEFAULT NULL COMMENT '活动结束时间',
31   - `contact_user` varchar(255) DEFAULT NULL COMMENT '业务负责人+联系电话',
32   - `user_id` int(11) DEFAULT NULL COMMENT '当前活动建立者',
33   - `v_count` int(11) DEFAULT NULL COMMENT '并发数',
34   - `is_free` tinyint(2) DEFAULT NULL COMMENT '是否免费: 0:收费 1:免费',
35   - `is_playback` tinyint(2) DEFAULT NULL COMMENT '是否启用回放: 0:不启用 1:启用',
36   - `logo` varchar(10) DEFAULT NULL COMMENT '画面logo',
37   - `notify_user` varchar(1024) DEFAULT NULL COMMENT '活动通知人cc',
38   - `uuid` varchar(50) DEFAULT NULL,
39   - `create_time` datetime DEFAULT NULL,
40   - `update_time` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
41   - `playbak_url` varchar(255) DEFAULT NULL,
42   - `t_default_video_id` int(11) DEFAULT NULL,
43   - `chatroom_id` int(11) DEFAULT NULL,
44   - PRIMARY KEY (`id`),
45   - UNIQUE KEY `id` (`id`)
46   -) ENGINE=MyISAM AUTO_INCREMENT=32 DEFAULT CHARSET=utf8;
47   -
48   --- ----------------------------
49   --- Records of t_activity
50   --- ----------------------------
51   -INSERT INTO `t_activity` VALUES ('1', '毕夏《我的音乐故事》1', null, null, null, '0', '2015-07-21 15:06:10', '2015-07-30 21:30:13', null, '1', null, null, null, 'tv', 'liujicheng@cnlive.com', '2b088e657e634db6b0432e2d972b4398', '2015-07-30 15:06:13', '2015-09-18 09:47:18', 'http://video00.cnlive.com/video/data2/2015/0823/d8ec60a93ae9454e944d492606be71ee_67857_200.mp4', '1', null);
52   -INSERT INTO `t_activity` VALUES ('2', '毕夏《我的音乐故事》2', null, null, null, '0', '2015-10-21 15:06:10', '2015-07-30 21:30:13', null, '1', null, null, null, 'tv', null, '9961612a712d4ce1b602bd723fb818b2', '2015-07-30 15:06:13', '2015-09-18 09:47:19', 'http://video00.cnlive.com/video/data2/2015/0823/d8ec60a93ae9454e944d492606be71ee_67857_200.mp4', '2', null);
53   -INSERT INTO `t_activity` VALUES ('3', 'IBF西安区排名赛第3场', null, null, null, '0', '2015-07-21 15:06:10', '2015-07-30 21:30:13', null, '1', null, null, null, 'tv', null, '291f66ffeb544fbeafaf41d7a97f8462', '2015-07-30 15:06:13', '2015-09-18 09:47:19', 'http://video00.cnlive.com/video/data2/2015/0823/d8ec60a93ae9454e944d492606be71ee_67857_200.mp4', '2', null);
54   -INSERT INTO `t_activity` VALUES ('4', '徐怀钰内地首开演唱会', null, null, null, '0', '2015-09-21 15:06:10', '2015-07-30 21:30:13', null, '1', null, null, null, 'tv', null, '8d74bef00b194adeae52e16c90425237', '2015-07-30 15:06:13', '2015-09-18 09:47:19', 'http://video00.cnlive.com/video/data2/2015/0823/d8ec60a93ae9454e944d492606be71ee_67857_200.mp4', '2', null);
55   -INSERT INTO `t_activity` VALUES ('5', '毕夏《我的音乐故事》', null, null, null, '0', '2015-07-21 15:06:10', '2015-07-30 21:30:13', null, '1', null, null, null, 'tv', null, 'c8d21158e164433e9ca0d12752e5a43b', '2015-07-30 15:06:13', '2015-09-18 09:47:19', 'http://video00.cnlive.com/video/data2/2015/0823/d8ec60a93ae9454e944d492606be71ee_67857_200.mp4', '2', null);
56   -INSERT INTO `t_activity` VALUES ('6', '秦勇《我的音乐故事》', null, null, null, '1', '2015-07-21 15:06:10', '2015-07-30 21:30:13', null, '1', null, null, null, 'tv', null, '32dac8a68075470882515aa25d727b18', null, '2015-09-18 09:47:20', 'http://video00.cnlive.com/video/data2/2015/0823/d8ec60a93ae9454e944d492606be71ee_67857_200.mp4', '1', null);
57   -INSERT INTO `t_activity` VALUES ('7', 'IBF北京赛区第三场', null, null, null, '1', '2015-08-21 15:06:10', '2015-07-30 21:30:13', null, '1', null, null, null, 'tv', null, '8b72e0fa081640adb443b3a640202474', null, '2015-09-18 09:47:22', 'http://video00.cnlive.com/video/data2/2015/0823/d8ec60a93ae9454e944d492606be71ee_67857_200.mp4', '1', null);
58   -INSERT INTO `t_activity` VALUES ('8', '活动名称', 'EPG条目名', '', '活动地点', '0', '2015-08-07 11:55:00', '2015-08-07 11:55:00', '业务负责人', '1', '22', '1', '1', 'tv', '抄送相关人员', 'e301ca8176a24ba38ae3283541821caa', '2015-08-07 13:49:05', '2015-09-18 09:47:22', 'http://video00.cnlive.com/video/data2/2015/0823/d8ec60a93ae9454e944d492606be71ee_67857_200.mp4', '1', null);
59   -INSERT INTO `t_activity` VALUES ('10', '温岚唱响新赛歌音乐会', 'EPG条目名11', '活动简述11', '活动地点11', '0', '2015-08-10 08:40:00', '2015-08-11 09:25:00', '业务负责人11', '1', '222', '0', '1', 'tv', '抄送相关人员111', '83e52a91a0ac415c9d74fcfaef581d1a', '2015-08-10 13:44:43', '2015-09-18 09:47:23', 'http://video00.cnlive.com/video/data2/2015/0823/d8ec60a93ae9454e944d492606be71ee_67857_200.mp4', '1', null);
60   -INSERT INTO `t_activity` VALUES ('11', '金润吉《我的音乐故事》', 'EPG条目名11', '活动简述11', '活动地点11', '0', '2015-08-10 08:40:00', '2015-08-11 09:25:00', '业务负责人11', '1', '222', '0', '1', 'tv', '抄送相关人员111', '00ae64a18f244697bf0c44c6c463cd6a', '2015-08-10 13:45:38', '2015-09-18 09:47:17', 'http://video00.cnlive.com/video/data2/2015/0823/d8ec60a93ae9454e944d492606be71ee_67857_200.mp4', '1', null);
61   -INSERT INTO `t_activity` VALUES ('12', '温岚唱响新赛歌音乐会', 'EPG条目名11', '活动简述11', '活动地点11', '0', '2015-08-10 08:40:00', '2015-08-11 09:25:00', '业务负责人11', '1', '222', '0', '1', 'tv', '抄送相关人员111', '270e4319ec7345ba8aacdccacd3fd203', '2015-08-10 13:46:17', '2015-09-18 09:47:17', 'http://video00.cnlive.com/video/data2/2015/0823/d8ec60a93ae9454e944d492606be71ee_67857_200.mp4', '2', null);
62   -INSERT INTO `t_activity` VALUES ('13', '金润吉《我的音乐故事》', 'EPG条目名11', '活动简述111', '活动地点', '0', '2015-07-30 02:10:00', '2015-07-28 01:25:00', '务负责人', '1', '222', '1', '1', 'tv', '送相关人员', '5100ca532cb74524a342372bfa335af8', '2015-08-10 13:48:59', '2015-09-18 09:47:17', 'http://video00.cnlive.com/video/data2/2015/0823/d8ec60a93ae9454e944d492606be71ee_67857_200.mp4', '3', null);
63   -INSERT INTO `t_activity` VALUES ('14', '金润吉《我的音乐故事》', 'EPG条目名11', '活动简述111', '活动地点', '0', '2015-07-30 02:10:00', '2015-07-28 01:25:00', '务负责人', '1', '222', '1', '1', 'tv', '送相关人员', '2b4ac96ac8d44277baf020bacf4f5762', '2015-08-10 13:49:36', '2015-09-18 09:47:17', 'http://video00.cnlive.com/video/data2/2015/0823/d8ec60a93ae9454e944d492606be71ee_67857_200.mp4', '3', null);
64   -INSERT INTO `t_activity` VALUES ('15', '活动名称22', 'EPG条目名22', '活动简述22', '活动地点22', '0', '2015-08-10 05:25:00', '2015-08-04 05:25:00', '务负责人', '1', '299', '0', '1', 'tv', '抄送相关人员', 'b0e304bfa3204bbda06cd2c92325735b', '2015-08-10 13:53:01', '2015-09-18 09:47:16', 'http://video00.cnlive.com/video/data2/2015/0823/d8ec60a93ae9454e944d492606be71ee_67857_200.mp4', '3', null);
65   -INSERT INTO `t_activity` VALUES ('16', 'IBF杭州站第三场直播', 'EPG条目名44', '活动简述44', '活动简述44', '0', '2015-08-10 09:45:00', '2015-08-11 09:45:00', '务负责人', '1', '222', '1', '1', 'null', '抄送相关人员', '8a528fb09d1040b6894bce1d3f01c8cd', '2015-08-10 13:55:32', '2015-09-14 09:52:02', 'http://video00.cnlive.com/video/data2/2015/0823/d8ec60a93ae9454e944d492606be71ee_67857_200.mp4', '3', null);
66   -INSERT INTO `t_activity` VALUES ('17', '活动名称66', 'EPG条目名66', 'EPG条目名66', '活动地点66', '0', '2015-08-10 05:25:00', '2015-08-10 05:25:00', '业务负责人', '1', '33', '0', '0', 'null', '抄送相关人员', '94cc3a93ea0d4da1b1b35b8e23a9114a', '2015-08-10 13:57:00', '2015-09-14 09:52:02', 'http://video00.cnlive.com/video/data2/2015/0823/d8ec60a93ae9454e944d492606be71ee_67857_200.mp4', '3', null);
67   -INSERT INTO `t_activity` VALUES ('18', '活动名称77', 'EPG条目名77', '活动简述77', '活动地点77', '3', '2015-08-18 15:44:00', '2015-07-28 01:36:00', '业务负责人', '1', '399', '0', '0', 'null', '抄送相关人员', '50b609e8a4784a7baeb99b9ca13e6ac9', '2015-08-10 14:12:24', '2015-09-14 09:52:02', 'http://video00.cnlive.com/video/data2/2015/0823/d8ec60a93ae9454e944d492606be71ee_67857_200.mp4', '3', null);
68   -INSERT INTO `t_activity` VALUES ('19', '张学友北京演唱会', '张学友北京演唱会', '张学友北京演唱会', '北京工体', '0', '2015-09-10 20:00:00', '2015-09-10 22:00:00', '曹峰', '1', '333', '1', null, 'tv', 'liujicheng@cnlive.com', '1b4324e4964e4998b3647214d7927d7d', '2015-09-10 10:31:23', '2015-09-18 09:47:09', null, '3', null);
69   -INSERT INTO `t_activity` VALUES ('20', '刘德华北京终结演唱会', '刘德华北京终结演唱会', '刘德华北京终结演唱会', '刘德华北京终结演唱会', '0', '2015-09-18 11:00:00', '2015-09-17 12:00:00', '草鞥', '1', '200', '1', '1', 'tv', 'liujicheng@cnlive.com', '3e2ade3d2f954a6fab1e85bc803028a7', '2015-09-17 10:56:56', '2015-09-17 10:57:03', null, '1', null);
70   -INSERT INTO `t_activity` VALUES ('21', '刘德华北京终结演唱会', '刘德华北京终结演唱会', '刘德华北京终结演唱会', '刘德华北京终结演唱会', '0', '2015-09-17 10:00:00', '2015-09-17 10:55:00', '22', '1', '22', '1', '1', 'tv', 'liujicheng@cnlive.com', 'bf6b4c735b83491b83e9fc6578dbdf36', '2015-09-17 11:00:44', '2015-09-17 11:00:44', null, '1', null);
71   -INSERT INTO `t_activity` VALUES ('22', '刘德华北京终结演唱会', '刘德华北京终结演唱会', '刘德华北京终结演唱会', '刘德华北京终结演唱会', '0', '2015-10-27 14:50:00', '2015-10-27 22:50:00', '曹峰', '1', '200', '1', '1', 'tv', 'liujicheng@cnlive.com', '55a724c348774549bcb82dde4cd89f03', '2015-09-17 11:03:58', '2015-10-15 16:01:27', null, '2', '0');
72   -
73   --- ----------------------------
74   --- Table structure for `t_activity_log`
75   --- ----------------------------
76   -DROP TABLE IF EXISTS `t_activity_log`;
77   -CREATE TABLE `t_activity_log` (
78   - `id` int(11) NOT NULL AUTO_INCREMENT,
79   - `t_activity_id` int(11) NOT NULL COMMENT 't_activity 主键',
80   - `t_channel_id` int(11) NOT NULL COMMENT 't_channel 表主键',
81   - `state` tinyint(2) DEFAULT NULL COMMENT '0: 已经过期,1:正在使用',
82   - `create_time` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
83   - PRIMARY KEY (`id`),
84   - UNIQUE KEY `id` (`id`) USING BTREE,
85   - KEY `t_activity_id` (`t_activity_id`)
86   -) ENGINE=MyISAM AUTO_INCREMENT=40 DEFAULT CHARSET=utf8;
87   -
88   --- ----------------------------
89   --- Records of t_activity_log
90   --- ----------------------------
91   -INSERT INTO `t_activity_log` VALUES ('1', '1', '40', null, null);
92   -INSERT INTO `t_activity_log` VALUES ('2', '2', '40', null, null);
93   -INSERT INTO `t_activity_log` VALUES ('3', '3', '41', null, null);
94   -INSERT INTO `t_activity_log` VALUES ('4', '4', '41', null, null);
95   -INSERT INTO `t_activity_log` VALUES ('5', '5', '41', null, null);
96   -INSERT INTO `t_activity_log` VALUES ('6', '6', '43', null, null);
97   -INSERT INTO `t_activity_log` VALUES ('7', '7', '43', null, null);
98   -INSERT INTO `t_activity_log` VALUES ('8', '3', '43', null, null);
99   -INSERT INTO `t_activity_log` VALUES ('9', '4', '43', null, null);
100   -INSERT INTO `t_activity_log` VALUES ('10', '2', '43', null, null);
101   -INSERT INTO `t_activity_log` VALUES ('11', '15', '82', null, '2015-08-10 13:52:58');
102   -INSERT INTO `t_activity_log` VALUES ('12', '15', '81', null, '2015-08-10 13:52:58');
103   -INSERT INTO `t_activity_log` VALUES ('13', '15', '80', null, '2015-08-10 13:52:58');
104   -INSERT INTO `t_activity_log` VALUES ('14', '15', '79', null, '2015-08-10 13:52:58');
105   -INSERT INTO `t_activity_log` VALUES ('15', '16', '82', null, '2015-08-10 13:55:30');
106   -INSERT INTO `t_activity_log` VALUES ('16', '16', '81', null, '2015-08-10 13:55:30');
107   -INSERT INTO `t_activity_log` VALUES ('17', '16', '80', null, '2015-08-10 13:55:30');
108   -INSERT INTO `t_activity_log` VALUES ('18', '17', '82', null, '2015-08-10 13:57:00');
109   -INSERT INTO `t_activity_log` VALUES ('19', '17', '81', null, '2015-08-10 13:57:01');
110   -INSERT INTO `t_activity_log` VALUES ('20', '17', '80', null, '2015-08-10 13:57:02');
111   -INSERT INTO `t_activity_log` VALUES ('21', '18', '82', null, '2015-08-10 14:12:22');
112   -INSERT INTO `t_activity_log` VALUES ('22', '18', '81', null, '2015-08-10 14:12:23');
113   -INSERT INTO `t_activity_log` VALUES ('23', '18', '80', null, '2015-08-10 14:12:23');
114   -INSERT INTO `t_activity_log` VALUES ('24', '18', '79', null, '2015-08-10 14:12:23');
115   -INSERT INTO `t_activity_log` VALUES ('25', '19', '75', null, '2015-09-10 10:31:23');
116   -INSERT INTO `t_activity_log` VALUES ('26', '19', '72', null, '2015-09-10 10:31:23');
117   -INSERT INTO `t_activity_log` VALUES ('27', '19', '71', null, '2015-09-10 10:31:23');
118   -INSERT INTO `t_activity_log` VALUES ('39', '22', '38', null, '2015-10-15 15:28:19');
119   -
120   --- ----------------------------
121   --- Table structure for `t_channel`
122   --- ----------------------------
123   -DROP TABLE IF EXISTS `t_channel`;
124   -CREATE TABLE `t_channel` (
125   - `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键',
126   - `name_zh` varchar(50) NOT NULL COMMENT '频道名称',
127   - `name_en` varchar(50) NOT NULL COMMENT '英文名称 如:news',
128   - `state` tinyint(2) NOT NULL COMMENT '状态:\r\n0 禁用 \r\n1 启用 \r\n2 直播信号\r\n3 滚播信号',
129   - `type` tinyint(2) DEFAULT '1' COMMENT '频道类型:\r\n1 自主频道\r\n2 运营商频道\r\n',
130   - `transcoder_ip` varchar(15) NOT NULL COMMENT '滚播播出设备ip',
131   - `transcoder_id` int(8) NOT NULL COMMENT '滚播播出设备对应发布点id',
132   - `chatroom_id` int(11) NOT NULL COMMENT '聊天室id',
133   - `default_t_wowza_signal_ref_id` int(11) DEFAULT NULL COMMENT '保留切换之前,上一次的wowzaid',
134   - `t_wowza_signal_ref_id` int(11) DEFAULT NULL COMMENT '当前流媒体服务器 stream name 对应的id \r\n(当前信号定义为主视角)',
135   - `t_activity_id` int(11) DEFAULT NULL COMMENT '当前直播活动id',
136   - `play_url` varchar(255) DEFAULT NULL COMMENT '播放地址',
137   - `poster` varchar(255) DEFAULT NULL COMMENT '海报',
138   - `uuid` varchar(50) DEFAULT NULL,
139   - `sort` int(11) DEFAULT NULL,
140   - `create_time` datetime NOT NULL,
141   - `update_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
142   - PRIMARY KEY (`id`),
143   - UNIQUE KEY `id` (`id`)
144   -) ENGINE=MyISAM AUTO_INCREMENT=85 DEFAULT CHARSET=utf8;
145   -
146   --- ----------------------------
147   --- Records of t_channel
148   --- ----------------------------
149   -INSERT INTO `t_channel` VALUES ('47', 'E娱乐', 'eyule', '1', '1', '172.16.250.91', '37', '0', '60', null, null, null, null, null, '1', '2015-07-28 16:32:27', '2015-10-16 10:09:47');
150   -INSERT INTO `t_channel` VALUES ('48', 'in乐台', 'inyuetai.stream', '1', '1', '172.16.250.91', '1', '0', '1', '2', null, null, null, null, '2', '2015-07-28 16:32:27', '2015-10-16 10:07:47');
151   -INSERT INTO `t_channel` VALUES ('49', '文博会', 'wenbohui', '1', '1', '172.16.250.106', '1', '0', '2', '3', null, null, null, null, '2', '2015-07-28 16:32:27', '2015-10-16 10:07:48');
152   -INSERT INTO `t_channel` VALUES ('50', '家有购物', 'jiayougouwu', '1', '1', '172.16.250.12', '12', '0', '3', '4', null, null, null, null, '3', '2015-07-28 16:32:27', '2015-10-16 10:07:48');
153   -INSERT INTO `t_channel` VALUES ('51', 'I综艺', 'zzzzz', '0', '1', '172.16.250.91', '3', '0', '4', '5', '6', null, null, null, '4', '2015-07-28 16:32:27', '2015-10-16 10:07:48');
154   -INSERT INTO `t_channel` VALUES ('52', '博博堂A', 'bobotanga', '0', '1', '172.16.250.91', '15', '0', '5', '6', null, null, null, null, '5', '2015-07-28 16:32:27', '2015-10-16 10:07:49');
155   -INSERT INTO `t_channel` VALUES ('53', '博博堂B', 'bobotangb', '0', '1', '172.16.250.91', '16', '0', '6', '7', null, null, null, null, '6', '2015-07-28 16:32:27', '2015-10-16 10:07:49');
156   -INSERT INTO `t_channel` VALUES ('54', '潮体育-联通', 'chaotiyu_lt', '1', '2', '172.16.250.12', '17', '0', '7', '8', null, null, null, null, '7', '2015-07-28 16:32:27', '2015-10-16 10:07:50');
157   -INSERT INTO `t_channel` VALUES ('55', '潮体育-移动', 'chaotiyu_yd', '1', '2', '172.16.250.12', '18', '0', '8', '9', null, null, null, null, '8', '2015-07-28 16:32:27', '2015-10-16 10:07:50');
158   -INSERT INTO `t_channel` VALUES ('56', '潮体育-电信', 'chaotiyu_dx', '1', '2', '172.16.250.106', '19', '0', '9', '55', '18', null, null, null, '56', '2015-07-28 16:32:27', '2015-09-21 16:08:30');
159   -INSERT INTO `t_channel` VALUES ('57', 'In乐台-联通', 'inyuetai_lt', '1', '2', '172.16.250.12', '20', '0', '8', '56', '18', null, null, null, '57', '2015-07-28 16:32:27', '2015-09-21 16:08:30');
160   -INSERT INTO `t_channel` VALUES ('58', 'In乐台-移动', 'inyuetai_yd', '0', '2', '172.16.250.12', '21', '0', '7', '57', '18', null, null, null, '58', '2015-07-28 16:32:27', '2015-09-21 16:08:30');
161   -INSERT INTO `t_channel` VALUES ('59', 'In乐台-电信', 'inyuetai_dx', '1', '2', '172.16.250.106', '22', '0', '6', '58', '18', null, null, null, '59', '2015-07-28 16:32:27', '2015-09-21 16:08:30');
162   -INSERT INTO `t_channel` VALUES ('60', 'I综艺-联通', 'izongyi_lt', '0', '2', '172.16.250.91', '23', '0', '5', '59', null, null, null, null, '60', '2015-07-28 16:32:27', '2015-09-21 16:08:30');
163   -INSERT INTO `t_channel` VALUES ('61', 'I综艺-移动', 'izongyi_yd', '1', '2', '172.16.250.12', '24', '0', '4', '60', null, null, null, null, '61', '2015-07-28 16:32:27', '2015-09-21 16:08:30');
164   -INSERT INTO `t_channel` VALUES ('62', 'I综艺-电信', 'izongyi_dx', '1', '2', '172.16.250.106', '25', '0', '3', '61', null, null, null, null, '62', '2015-07-28 16:32:27', '2015-09-21 16:08:30');
165   -INSERT INTO `t_channel` VALUES ('63', 'E娱乐-联通', 'eyule_lt', '1', '2', '172.16.250.12', '26', '0', '2', '62', null, null, null, null, '63', '2015-07-28 16:32:27', '2015-09-21 16:08:30');
166   -INSERT INTO `t_channel` VALUES ('64', 'E娱乐-移动', 'eyule_yd', '0', '2', '172.16.250.91', '27', '0', '1', '55', null, null, null, null, '64', '2015-07-28 16:32:27', '2015-09-21 16:08:30');
167   -INSERT INTO `t_channel` VALUES ('65', 'E娱乐-电信', 'eyule_dx', '1', '2', '172.16.250.106', '28', '0', '9', '56', null, null, null, null, '65', '2015-07-28 16:32:27', '2015-09-21 16:08:30');
168   -INSERT INTO `t_channel` VALUES ('66', '新影视-联通', 'xinyingshi_lt', '0', '2', '172.16.250.91', '29', '0', '8', '57', null, null, null, null, '66', '2015-07-28 16:32:27', '2015-09-21 16:08:30');
169   -INSERT INTO `t_channel` VALUES ('67', '新影视-移动', 'xinyingshi_yd', '1', '2', '172.16.250.91', '30', '0', '7', '58', null, null, null, null, '67', '2015-07-28 16:32:27', '2015-09-21 16:08:30');
170   -INSERT INTO `t_channel` VALUES ('68', '新影视-电信', 'xinyingshi_dx', '0', '2', '172.16.250.91', '31', '0', '6', '59', null, null, null, null, '68', '2015-07-28 16:32:27', '2015-09-21 16:08:30');
171   -INSERT INTO `t_channel` VALUES ('38', '幸福秀', 'jidongpindao', '1', '1', '172.16.250.91', '36', '0', '5', null, null, null, null, null, '38', '2015-07-28 16:32:26', '2015-09-21 16:08:30');
172   -INSERT INTO `t_channel` VALUES ('39', '热动漫', 'redongman', '1', '1', '172.16.250.91', '13', '0', '4', '61', null, null, null, null, '39', '2015-07-28 16:32:26', '2015-09-21 16:08:30');
173   -INSERT INTO `t_channel` VALUES ('40', '车视界', 'cheshijie', '1', '1', '172.16.250.91', '14', '0', '3', '62', null, null, null, null, '40', '2015-07-28 16:32:26', '2015-09-21 16:08:30');
174   -INSERT INTO `t_channel` VALUES ('41', 'I综艺', 'izongyi', '2', '1', '172.16.250.91', '11', '0', '2', '55', '6', null, null, null, '41', '2015-07-28 16:32:26', '2015-09-21 16:08:30');
175   -INSERT INTO `t_channel` VALUES ('42', 'LiveShow', 'liveshow', '2', '1', '172.16.250.107', '1', '0', '1', '56', '4', null, null, null, '42', '2015-07-28 16:32:26', '2015-09-21 16:08:30');
176   -INSERT INTO `t_channel` VALUES ('43', '潮体育', 'chaotiyu', '2', '1', '172.16.250.107', '3', '0', '9', '98', '22', null, null, null, '43', '2015-07-28 16:32:26', '2015-10-15 15:44:06');
177   -INSERT INTO `t_channel` VALUES ('44', '新影视', 'xinyingshi', '1', '1', '172.16.250.91', '4', '0', '8', '98', '22', null, null, null, '44', '2015-07-28 16:32:27', '2015-10-15 15:44:06');
178   -INSERT INTO `t_channel` VALUES ('45', '炫韩娱', 'xuanhanyu', '1', '1', '172.16.250.12', '8', '0', '7', '98', '22', null, null, null, '45', '2015-07-28 16:32:27', '2015-10-15 15:44:06');
179   -INSERT INTO `t_channel` VALUES ('46', '快新闻', 'news', '1', '1', '172.16.250.91', '5', '0', '6', '60', null, null, null, null, '46', '2015-07-28 16:32:27', '2015-09-21 16:08:30');
180   -INSERT INTO `t_channel` VALUES ('69', '快新闻-联通', 'news_lt', '0', '2', '172.16.250.12', '32', '0', '5', '61', null, null, null, null, '69', '2015-07-28 16:32:27', '2015-09-21 16:08:30');
181   -INSERT INTO `t_channel` VALUES ('70', '快新闻-移动', 'news_yd', '0', '2', '172.16.250.91', '33', '0', '4', '62', null, null, null, null, '70', '2015-07-28 16:32:27', '2015-09-21 16:08:30');
182   -INSERT INTO `t_channel` VALUES ('71', '快新闻-电信', 'news_dx', '1', '2', '172.16.250.106', '34', '0', '3', '3', '18', null, null, null, '71', '2015-07-28 16:32:27', '2015-09-21 16:08:30');
183   -INSERT INTO `t_channel` VALUES ('72', '虚拟互动', 'vhd', '1', '1', '172.16.250.91', '35', '0', '2', '97', '19', null, null, null, '71', '2015-07-28 16:32:27', '2015-09-21 16:08:56');
184   -INSERT INTO `t_channel` VALUES ('75', 'LiveShow-移动', 'yidongliveshow', '1', '2', '172.16.250.107', '2', '0', '1', '3', '18', null, null, null, '74', '2015-07-28 16:32:27', '2015-10-16 10:07:07');
185   -INSERT INTO `t_channel` VALUES ('83', '频道名称', '324234', '1', '1', '2.222.2.222', '32432', '23423', '1', null, null, null, '', '4e7cae33cc284f679696db8837781c17', '76', '2015-09-15 13:29:57', '2015-10-16 10:07:02');
186   -
187   --- ----------------------------
188   --- Table structure for `t_channel_wowza_ref`
189   --- ----------------------------
190   -DROP TABLE IF EXISTS `t_channel_wowza_ref`;
191   -CREATE TABLE `t_channel_wowza_ref` (
192   - `id` int(11) NOT NULL AUTO_INCREMENT,
193   - `t_channel_id` int(11) DEFAULT NULL,
194   - `t_wowza_signal_ref_id` int(11) DEFAULT NULL,
195   - `type` tinyint(2) DEFAULT NULL COMMENT '1:边缘1视角\r\n2:边缘2视角\r\n3:边缘3视角',
196   - `create_time` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
197   - PRIMARY KEY (`id`)
198   -) ENGINE=MyISAM DEFAULT CHARSET=utf8;
199   -
200   --- ----------------------------
201   --- Records of t_channel_wowza_ref
202   --- ----------------------------
203   -
204   --- ----------------------------
205   --- Table structure for `t_default_video`
206   --- ----------------------------
207   -DROP TABLE IF EXISTS `t_default_video`;
208   -CREATE TABLE `t_default_video` (
209   - `id` int(11) NOT NULL AUTO_INCREMENT,
210   - `name` varchar(50) DEFAULT NULL,
211   - `stream_name` varchar(50) DEFAULT NULL,
212   - `create_time` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
213   - PRIMARY KEY (`id`)
214   -) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;
215   -
216   --- ----------------------------
217   --- Records of t_default_video
218   --- ----------------------------
219   -INSERT INTO `t_default_video` VALUES ('1', '视讯中国宣传片@tv', null, '2015-09-14 09:42:18');
220   -
221   --- ----------------------------
222   --- Table structure for `t_signal`
223   --- ----------------------------
224   -DROP TABLE IF EXISTS `t_signal`;
225   -CREATE TABLE `t_signal` (
226   - `id` int(11) NOT NULL AUTO_INCREMENT,
227   - `name` varchar(50) DEFAULT NULL COMMENT '名称',
228   - `ip` varchar(15) DEFAULT NULL COMMENT '服务器ip地址',
229   - `state` tinyint(2) DEFAULT NULL COMMENT '0: 关闭, 1: 开启',
230   - `type` tinyint(2) DEFAULT NULL COMMENT '1:http 2: rtmp',
231   - `output_url` varchar(255) DEFAULT NULL,
232   - `admin_url` varchar(255) DEFAULT NULL COMMENT '信号源 后台管理地址',
233   - `create_time` datetime DEFAULT NULL,
234   - `update_time` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
235   - PRIMARY KEY (`id`)
236   -) ENGINE=MyISAM AUTO_INCREMENT=47 DEFAULT CHARSET=utf8;
237   -
238   --- ----------------------------
239   --- Records of t_signal
240   --- ----------------------------
241   -INSERT INTO `t_signal` VALUES ('43', '体彩信源', '192.168.100.240', '1', '2', 'ticai', 'http://192.168.100.240/live.html', '2015-09-16 13:26:49', '2015-09-16 13:26:48');
242   -INSERT INTO `t_signal` VALUES ('2', 'a01', '172.000.000.001', '0', '1', null, 'www.baidu.com', '2015-07-28 17:07:59', '2015-09-06 13:30:29');
243   -INSERT INTO `t_signal` VALUES ('5', 'in_live3', '192.168.100.21', '1', '2', null, 'http://192.168.100.21/admin', '2015-07-31 09:33:00', '2015-09-06 14:03:14');
244   -INSERT INTO `t_signal` VALUES ('6', 'in_live4', '192.168.120.32', '0', '2', null, 'http://192.168.120.32/admin', '2015-07-31 09:33:04', '2015-09-06 13:30:29');
245   -INSERT INTO `t_signal` VALUES ('7', 'in_live5', '192.168.100.21', '0', '1', null, 'http://192.168.100.21/admin', '2015-07-31 09:33:22', '2015-09-06 14:04:09');
246   -INSERT INTO `t_signal` VALUES ('8', 'in_live6', '192.168.100.21', '0', '1', null, 'http://192.168.100.21/admin', '2015-07-31 09:33:22', '2015-09-06 14:04:09');
247   -INSERT INTO `t_signal` VALUES ('9', 'in_live7', '192.168.100.21', '1', '2', null, 'http://192.168.100.21/admin', '2015-07-31 09:33:22', '2015-09-06 14:14:15');
248   -INSERT INTO `t_signal` VALUES ('10', 'in_live_8', '192.168.100.21', '1', '2', null, 'http://192.168.100.21/admin', '2015-07-31 09:33:22', '2015-09-18 09:39:02');
249   -INSERT INTO `t_signal` VALUES ('11', 'in_live_9', '192.168.100.21', '1', '2', 'rtmp://192.168.100.71:1935/live/_definst_/live13', 'http://192.168.100.21/admin', '2015-07-31 09:33:22', '2015-09-08 11:30:45');
250   -INSERT INTO `t_signal` VALUES ('12', 'in_live_10', '192.168.100.21', '0', '2', 'rtmp://192.168.100.71:1935/live/_definst_/live12', 'http://192.168.100.21/admin', '2015-07-31 09:33:22', '2015-09-14 16:51:46');
251   -INSERT INTO `t_signal` VALUES ('13', 'in_live_11', '192.168.100.21', '0', '2', 'rtmp://192.168.100.71:1935/live/_definst_/live11', 'http://192.168.100.21/admin', '2015-07-31 09:33:22', '2015-09-08 11:30:40');
252   -INSERT INTO `t_signal` VALUES ('41', 'cncodec_name', '172.16.250.87', '0', '1', 'rtmp://192.168.100.71:1935/live/_definst_/live10', 'http://www.baidu.com', '2015-09-06 13:18:23', '2015-09-15 09:39:37');
253   -INSERT INTO `t_signal` VALUES ('42', '信源名称11', '172.172.50.1', '1', '2', 'rtmp://172.16.250.100:1935/live/live1', 'http://172.16.250.11/live.html', '2015-09-15 09:46:06', '2015-09-15 09:46:04');
254   -INSERT INTO `t_signal` VALUES ('44', 'cncodec76', '192.168.100.76', '1', '2', 'cp', 'http://192.168.100.240/live.html', '2015-09-17 17:33:33', '2015-09-17 17:33:32');
255   -INSERT INTO `t_signal` VALUES ('46', 'cp', '192.168.100.76', '1', '2', 'cp', null, null, '2015-09-21 13:37:24');
256   -
257   --- ----------------------------
258   --- Table structure for `t_statistics`
259   --- ----------------------------
260   -DROP TABLE IF EXISTS `t_statistics`;
261   -CREATE TABLE `t_statistics` (
262   - `id` int(11) NOT NULL AUTO_INCREMENT,
263   - `t_channel_id` int(11) NOT NULL,
264   - `month` date DEFAULT NULL,
265   - `count` int(10) DEFAULT NULL,
266   - `create_time` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
267   - PRIMARY KEY (`id`)
268   -) ENGINE=MyISAM AUTO_INCREMENT=17 DEFAULT CHARSET=utf8;
269   -
270   --- ----------------------------
271   --- Records of t_statistics
272   --- ----------------------------
273   -INSERT INTO `t_statistics` VALUES ('1', '47', '2015-01-01', '8', '2015-08-04 13:56:42');
274   -INSERT INTO `t_statistics` VALUES ('2', '47', '2015-02-01', '4', '2015-08-04 14:01:53');
275   -INSERT INTO `t_statistics` VALUES ('3', '47', '2015-03-01', '6', '2015-08-04 14:01:53');
276   -INSERT INTO `t_statistics` VALUES ('4', '47', '2015-04-01', '2', '2015-08-04 14:01:54');
277   -INSERT INTO `t_statistics` VALUES ('5', '47', '2015-05-01', '1', '2015-08-04 14:01:55');
278   -INSERT INTO `t_statistics` VALUES ('6', '47', '2015-06-01', '5', '2015-08-04 14:01:55');
279   -INSERT INTO `t_statistics` VALUES ('7', '47', '2015-07-01', '2', '2015-08-04 14:01:55');
280   -INSERT INTO `t_statistics` VALUES ('8', '47', '2015-08-01', '6', '2015-08-04 14:01:56');
281   -INSERT INTO `t_statistics` VALUES ('9', '42', '2015-01-01', '2', '2015-08-04 14:01:56');
282   -INSERT INTO `t_statistics` VALUES ('10', '42', '2015-02-01', '6', '2015-08-04 14:01:58');
283   -INSERT INTO `t_statistics` VALUES ('11', '42', '2015-03-01', '3', '2015-08-04 14:02:08');
284   -INSERT INTO `t_statistics` VALUES ('12', '42', '2015-04-01', '8', '2015-08-04 14:02:08');
285   -INSERT INTO `t_statistics` VALUES ('13', '42', '2015-05-01', '6', '2015-08-04 14:02:08');
286   -INSERT INTO `t_statistics` VALUES ('14', '42', '2015-06-01', '9', '2015-08-04 14:02:09');
287   -INSERT INTO `t_statistics` VALUES ('15', '42', '2015-07-01', '4', '2015-08-04 14:08:57');
288   -INSERT INTO `t_statistics` VALUES ('16', '42', '2015-08-01', '6', '2015-08-04 14:08:57');
289   -
290   --- ----------------------------
291   --- Table structure for `t_user`
292   --- ----------------------------
293   -DROP TABLE IF EXISTS `t_user`;
294   -CREATE TABLE `t_user` (
295   - `id` int(11) NOT NULL AUTO_INCREMENT,
296   - `name` varchar(50) DEFAULT NULL,
297   - `is_admin` tinyint(2) DEFAULT NULL COMMENT '0 普通用户 1超级管理员',
298   - `t_channel_ids` varchar(255) DEFAULT NULL COMMENT '用户所负责频道id\r\n多个id通过逗号隔开',
299   - `t_signal_ids` varchar(255) DEFAULT NULL COMMENT '用户所负责信号源id,多个id通过逗号分隔开',
300   - `create_time` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
301   - PRIMARY KEY (`id`)
302   -) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
303   -
304   --- ----------------------------
305   --- Records of t_user
306   --- ----------------------------
307   -INSERT INTO `t_user` VALUES ('1', '刘基城', '1', '38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,75,76,77,78,79,80,81,82', null, '2015-08-11 15:26:53');
308   -INSERT INTO `t_user` VALUES ('2', '郑香香', '1', '38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,75,76,77,78,79,80,81,82', null, '2015-08-11 15:26:54');
309   -
310   --- ----------------------------
311   --- Table structure for `t_wowza`
312   --- ----------------------------
313   -DROP TABLE IF EXISTS `t_wowza`;
314   -CREATE TABLE `t_wowza` (
315   - `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键',
316   - `name` varchar(32) DEFAULT NULL,
317   - `account` varchar(50) DEFAULT NULL COMMENT '账号密码通过@符合分隔开,如: root@cnlive',
318   - `web_account` varchar(50) DEFAULT NULL,
319   - `lan_ip` varchar(15) DEFAULT NULL COMMENT '172.16.250.111',
320   - `wan_ip` varchar(15) DEFAULT NULL COMMENT '外网ip',
321   - `state` tinyint(2) DEFAULT NULL COMMENT '0: 禁用 1:启用',
322   - `admin_url` varchar(255) DEFAULT NULL COMMENT '后台管理地址',
323   - `video_path` varchar(100) DEFAULT NULL COMMENT '录制文件存放路径',
324   - `create_time` datetime DEFAULT NULL,
325   - `update_time` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
326   - PRIMARY KEY (`id`),
327   - UNIQUE KEY `id` (`id`)
328   -) ENGINE=MyISAM AUTO_INCREMENT=73 DEFAULT CHARSET=utf8;
329   -
330   --- ----------------------------
331   --- Records of t_wowza
332   --- ----------------------------
333   -INSERT INTO `t_wowza` VALUES ('1', 'wowza_huayuanq_11', '系统账号', null, '172.16.250.11', null, '1', null, null, null, '2015-08-17 10:18:14');
334   -INSERT INTO `t_wowza` VALUES ('2', 'wowza_huayuanq_11', '系统账号', null, '172.16.250.11', null, '1', null, null, null, '2015-08-17 10:18:16');
335   -INSERT INTO `t_wowza` VALUES ('3', 'wowza_huayuanq_11', '系统账号', null, '172.16.250.11', null, '1', null, null, null, '2015-08-17 10:18:16');
336   -INSERT INTO `t_wowza` VALUES ('4', 'wowza_huayuanq_11', '系统账号', null, '172.16.250.11', null, '1', null, null, null, '2015-08-17 10:18:17');
337   -INSERT INTO `t_wowza` VALUES ('5', 'wowza_huayuanq_11', '系统账号', null, '172.16.250.11', null, '1', null, null, null, '2015-08-17 13:00:53');
338   -INSERT INTO `t_wowza` VALUES ('6', 'wowza_huayuanq_19', '系统账号', null, '172.16.250.19', null, '1', null, null, null, '2015-08-17 10:18:22');
339   -INSERT INTO `t_wowza` VALUES ('7', 'wowza_huayuanq_19', '系统账号', null, '172.16.250.19', null, '1', null, null, null, '2015-08-17 10:19:07');
340   -INSERT INTO `t_wowza` VALUES ('8', 'wowza_huayuanq_19', '系统账号', null, '172.16.250.19', null, '1', null, null, null, '2015-08-17 10:19:07');
341   -INSERT INTO `t_wowza` VALUES ('9', 'wowza_huayuanq_19', '系统账号', null, '172.16.250.19', null, '1', null, null, null, '2015-08-17 10:19:08');
342   -INSERT INTO `t_wowza` VALUES ('11', 'wowza_huayuanq_19', '系统账号', null, '172.16.250.170', '172.16.250.170', '1', '111', '11', '2015-08-03 13:51:05', '2015-08-17 10:19:25');
343   -INSERT INTO `t_wowza` VALUES ('54', 'wowza_idc_71', '系统账号', null, '192.168.100.71', '192.168.100.71', '1', 'http', '件存放目录', '2015-08-05 10:31:50', '2015-08-17 10:16:26');
344   -INSERT INTO `t_wowza` VALUES ('55', 'wowza_idc_72', '系统账号', null, '192.168.100.71', '192.168.100.71', '1', 'http', '件存放目录', '2015-08-05 10:33:44', '2015-08-17 10:16:44');
345   -INSERT INTO `t_wowza` VALUES ('57', 'wowza_idc_74', '系统账号', null, '192.168.100.73', '192.168.100.73', '1', '84', '8844', '2015-08-05 16:47:54', '2015-08-17 10:16:48');
346   -INSERT INTO `t_wowza` VALUES ('68', 'wowza_test', 'root@cnlive', null, '172.16.250.254', '172.16.250.254', '1', null, null, null, '2015-09-10 13:10:51');
347   -INSERT INTO `t_wowza` VALUES ('69', '花园桥wowza71', 'root@cnlive1', null, '172.16.250.111', '172.16.250.111', '1', 'http://172.16.250.111/wowzaeng/manager.html', '/usr/local/wowza', '2015-09-15 10:21:16', '2015-09-15 10:21:15');
348   -INSERT INTO `t_wowza` VALUES ('70', '花园桥76服务器', 'root/cnLIVE#@76', 'root/cnlive', '192.168.100.76', '192.168.100.76', '1', 'http://192.168.100.76:8088', '/usr/local/WowzaStreamingEngine/content', '2015-09-16 14:21:09', '2015-09-16 14:21:07');
349   -INSERT INTO `t_wowza` VALUES ('71', 'wowza76', 'root/cnlive', 'root/cnlive', '192.168.100.76', '192.168.100.76', '1', 'sf', 'e', '2015-09-18 14:10:06', '2015-09-18 14:10:04');
350   -
351   --- ----------------------------
352   --- Table structure for `t_wowza_signal_ref`
353   --- ----------------------------
354   -DROP TABLE IF EXISTS `t_wowza_signal_ref`;
355   -CREATE TABLE `t_wowza_signal_ref` (
356   - `id` int(11) NOT NULL AUTO_INCREMENT,
357   - `t_wowza_id` int(11) DEFAULT NULL,
358   - `type` tinyint(2) DEFAULT NULL COMMENT '1: cncodec信号 2:transcoder 信号',
359   - `stream_name` varchar(50) DEFAULT NULL,
360   - `application_name` varchar(50) DEFAULT NULL,
361   - `publish_url` varchar(255) DEFAULT NULL,
362   - `t_signal_id` int(11) DEFAULT NULL,
363   - `uuid` varchar(50) DEFAULT NULL,
364   - `create_time` datetime DEFAULT NULL,
365   - `update_time` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
366   - PRIMARY KEY (`id`),
367   - UNIQUE KEY `id` (`id`)
368   -) ENGINE=MyISAM AUTO_INCREMENT=101 DEFAULT CHARSET=utf8;
369   -
370   --- ----------------------------
371   --- Records of t_wowza_signal_ref
372   --- ----------------------------
373   -INSERT INTO `t_wowza_signal_ref` VALUES ('1', '1', '2', 'out_zhonghuameishi', 'live7', 'rtmp://192.168.100.11:1935/live/_definst_/out_zhonghuameishi', '5', 'c0888816ede9453eb9f3e7423dd0e90d', '2015-07-31 13:39:22', '2015-09-21 13:20:00');
374   -INSERT INTO `t_wowza_signal_ref` VALUES ('2', '2', '2', 'out_redongman', 'live7', 'rtmp://192.168.100.11:1935/live/_definst_/out_redongman', '6', '49b8dc7ba2064aa7a317bbfe5de938ad', '2015-07-31 13:39:22', '2015-09-21 13:19:59');
375   -INSERT INTO `t_wowza_signal_ref` VALUES ('3', '3', '2', 'out_vhd', 'live6', 'rtmp://192.168.100.11:1935/live/_definst_/out_vhd', '7', '85471847dd3d4bd8a617f86ee98c01bf', '2015-07-31 13:39:22', '2015-09-21 13:19:56');
376   -INSERT INTO `t_wowza_signal_ref` VALUES ('4', '4', '2', 'out_izongyi', 'live6', 'rtmp://192.168.100.11:1935/live/_definst_/out_izongyi', '8', '2b42e5b3e46f4bafa800f7fd763b5fd6', '2015-07-31 13:39:22', '2015-09-21 13:19:55');
377   -INSERT INTO `t_wowza_signal_ref` VALUES ('5', '5', '2', 'out_jiayougouwu', 'live6', 'rtmp://192.168.100.101:1935/live/_definst_/out_jiayougouwu', '9', '98e5a877c1e64d14a30e39c9b0dae891', '2015-07-31 13:39:22', '2015-09-21 13:19:54');
378   -INSERT INTO `t_wowza_signal_ref` VALUES ('6', '6', '2', 'out_caifutianxia', 'live5', 'rtmp://192.168.100.19:1935/live/_definst_/out_caifutianxia', '10', '02fec9d4f8c6496fb771469768f7793e', '2015-07-31 13:39:22', '2015-09-21 13:19:52');
379   -INSERT INTO `t_wowza_signal_ref` VALUES ('7', '7', '2', 'out_zhonghuameishi', 'live5', 'rtmp://192.168.100.19:1935/live/_definst_/out_zhonghuameishi', '11', 'a3d90ef0a075451b9fa1bc98cec360a1', '2015-07-31 13:39:22', '2015-09-21 13:19:49');
380   -INSERT INTO `t_wowza_signal_ref` VALUES ('8', '8', '2', 'out_cctvzhengquan', 'live4', 'rtmp://192.168.100.19:1935/live/_definst_/out_cctvzhengquan', '12', '96a75f70c06b4d62b4b6cb7416341ae0', '2015-07-31 13:39:22', '2015-09-21 13:19:48');
381   -INSERT INTO `t_wowza_signal_ref` VALUES ('9', '9', '2', 'out_xinyingshi', 'live3', 'rtmp://192.168.100.19:1935/live/_definst_/out_xinyingshi', '13', '28100ca8c22149c290cd38add33d3e3e', '2015-07-31 13:39:22', '2015-09-21 13:19:47');
382   -INSERT INTO `t_wowza_signal_ref` VALUES ('55', '54', '2', 'out_chaotiyu', 'live2', 'rtmp://192.168.100.71:1935/live/_definst_/out_chaotiyu', '1', '544c729945f24e489ecc5231999c237a', '2015-08-05 10:31:51', '2015-09-21 13:19:47');
383   -INSERT INTO `t_wowza_signal_ref` VALUES ('56', '54', '2', 'out_eyule', 'live2', 'rtmp://192.168.100.71:1935/live/_definst_/out_eyule', '15', '5635a32674724ca1b8b73e23c33367ce', '2015-08-05 10:31:51', '2015-09-21 13:19:46');
384   -INSERT INTO `t_wowza_signal_ref` VALUES ('57', '55', '2', 'out_liveshow', 'live1', 'rtmp://192.168.100.71:1935/live/_definst_/out_liveshow', '5', 'cfffc1498acf4e9fba3a0d8198989449', '2015-08-05 10:33:45', '2015-09-21 13:19:45');
385   -INSERT INTO `t_wowza_signal_ref` VALUES ('58', '55', '2', 'out_kuaixinw', 'live1', 'rtmp://192.168.100.71:1935/live/_definst_/out_kuaixinw', '1', 'b1295bdd22fd4975985d2dc3e139cc49', '2015-08-05 10:33:45', '2015-09-21 13:19:46');
386   -INSERT INTO `t_wowza_signal_ref` VALUES ('61', '57', '2', 'out_cheshijie', 'live', 'rtmp://192.168.100.71:1935/live/_definst_/out_cheshijie', '5', 'b87fc7830ec041c587c66540802784ac', '2015-08-05 16:47:54', '2015-09-21 13:19:32');
387   -INSERT INTO `t_wowza_signal_ref` VALUES ('62', '57', '2', 'out_yeselive', 'live', 'rtmp://192.168.100.71:1935/live/_definst_/out_yeselive', '6', '129d4114e62449dda18a131c175972a1', '2015-08-05 16:47:54', '2015-09-21 13:19:32');
388   -INSERT INTO `t_wowza_signal_ref` VALUES ('97', '70', '1', 'ticai', 'ticai', 'rtmp://192.168.100.76:1935/ticai/ticai', '43', '2f51daf7a6b14700831947597e514975', '2015-09-16 14:21:09', '2015-09-18 15:10:33');
389   -INSERT INTO `t_wowza_signal_ref` VALUES ('89', '68', '1', 'live13', 'live', 'rtmp://192.168.100.71:1935/live/_definst_/live13', '12', '14d42baff5714f08a2c3811de8bc932b', null, '2015-09-21 13:19:30');
390   -INSERT INTO `t_wowza_signal_ref` VALUES ('96', '69', '1', 'live9', 'live', 'rtmp://1811.1.1.1.1/live9', '42', '46b0d2c797aa437ab7779833a5a584f5', '2015-09-15 10:21:16', '2015-09-21 13:19:31');
391   -INSERT INTO `t_wowza_signal_ref` VALUES ('98', '70', '1', 'cp', 'cp', 'rtmp://192.168.100.76:1935/ticai/cp', '46', null, null, '2015-09-18 15:07:45');
392   -INSERT INTO `t_wowza_signal_ref` VALUES ('100', '71', '2', 'ticai', 'ticai', 'rtmp://192.168.100.76:1935/ticai/ticai', '43', '8e65a442521343daab5123d030c0edc5', '2015-09-18 14:16:20', '2015-09-18 15:10:43');
393   -
394   --- ----------------------------
395   --- View structure for `v_activity`
396   --- ----------------------------
397   -DROP VIEW IF EXISTS `v_activity`;
398   -CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`%` SQL SECURITY DEFINER VIEW `v_activity` AS select `t_activity`.`id` AS `id`,`t_activity`.`name` AS `name`,`t_activity`.`epg_name` AS `epg_name`,`t_activity`.`description` AS `description`,`t_activity`.`place` AS `place`,`t_activity`.`state` AS `state`,`t_activity`.`start_time` AS `start_time`,`t_activity`.`end_time` AS `end_time`,`t_activity`.`contact_user` AS `contact_user`,`t_activity`.`user_id` AS `user_id`,`t_activity`.`v_count` AS `v_count`,`t_activity`.`is_free` AS `is_free`,`t_activity`.`is_playback` AS `is_playback`,`t_activity`.`logo` AS `logo`,`t_activity`.`notify_user` AS `notify_user`,`t_activity`.`create_time` AS `create_time`,`t_activity`.`update_time` AS `update_time`,`t_activity_log`.`t_channel_id` AS `t_channel_id`,`t_activity`.`playbak_url` AS `playbak_url`,`t_activity`.`t_default_video_id` AS `t_default_video_id`,`t_activity`.`uuid` AS `uuid` from (`t_activity_log` left join `t_activity` on((`t_activity_log`.`t_activity_id` = `t_activity`.`id`))) ;
399   -
400   --- ----------------------------
401   --- View structure for `v_activity_channel`
402   --- ----------------------------
403   -DROP VIEW IF EXISTS `v_activity_channel`;
404   -CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`%` SQL SECURITY DEFINER VIEW `v_activity_channel` AS select `t_activity_log`.`t_activity_id` AS `t_activity_id`,`t_activity_log`.`t_channel_id` AS `t_channel_id` from (`t_activity_log` left join `t_channel` on((`t_activity_log`.`t_channel_id` = `t_channel`.`id`))) ;
405   -
406   --- ----------------------------
407   --- View structure for `v_activity_width_user`
408   --- ----------------------------
409   -DROP VIEW IF EXISTS `v_activity_width_user`;
410   -CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`%` SQL SECURITY DEFINER VIEW `v_activity_width_user` AS select `t_activity`.`name` AS `name`,`t_activity`.`epg_name` AS `epg_name`,`t_activity`.`description` AS `description`,`t_activity`.`place` AS `place`,`t_activity`.`state` AS `state`,`t_activity`.`start_time` AS `start_time`,`t_activity`.`end_time` AS `end_time`,`t_activity`.`contact_user` AS `contact_user`,`t_activity`.`user_id` AS `user_id`,`t_activity`.`v_count` AS `v_count`,`t_activity`.`is_free` AS `is_free`,`t_activity`.`is_playback` AS `is_playback`,`t_activity`.`logo` AS `logo`,`t_activity`.`notify_user` AS `notify_user`,`t_activity`.`uuid` AS `uuid`,`t_activity`.`create_time` AS `create_time`,`t_activity`.`update_time` AS `update_time`,`t_activity`.`playbak_url` AS `playbak_url`,`t_activity`.`id` AS `id`,`t_user`.`name` AS `user_name`,`t_activity`.`t_default_video_id` AS `t_default_video_id` from (`t_activity` left join `t_user` on((`t_activity`.`user_id` = `t_user`.`id`))) ;
411   -
412   --- ----------------------------
413   --- View structure for `v_channel`
414   --- ----------------------------
415   -DROP VIEW IF EXISTS `v_channel`;
416   -CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`%` SQL SECURITY DEFINER VIEW `v_channel` AS select `t_channel`.`id` AS `id`,`t_channel`.`name_zh` AS `name_zh`,`t_channel`.`name_en` AS `name_en`,`t_channel`.`state` AS `state`,`t_channel`.`type` AS `type`,`t_channel`.`transcoder_ip` AS `transcoder_ip`,`t_channel`.`transcoder_id` AS `transcoder_id`,`t_channel`.`chatroom_id` AS `chatroom_id`,`t_channel`.`t_wowza_signal_ref_id` AS `t_wowza_signal_ref_id`,`t_channel`.`create_time` AS `create_time`,`t_channel`.`update_time` AS `update_time`,`t_wowza_signal_ref`.`publish_url` AS `publish_url`,`t_channel`.`t_activity_id` AS `t_activity_id`,`t_activity`.`name` AS `activity_name`,`t_channel`.`default_t_wowza_signal_ref_id` AS `default_t_wowza_signal_ref_id`,`t_channel`.`play_url` AS `play_url`,`t_channel`.`poster` AS `poster`,`t_wowza_signal_ref`.`stream_name` AS `stream_name`,`t_wowza_signal_ref`.`application_name` AS `application_name`,`t_wowza_signal_ref`.`uuid` AS `uuid`,`t_signal`.`ip` AS `t_signal_ip`,`t_signal`.`name` AS `t_signal_name`,`t_signal`.`admin_url` AS `t_signal_admin_url`,`default_t_wowza_signal_ref`.`stream_name` AS `default_stream_name`,`t_channel`.`sort` AS `sort` from ((((`t_channel` left join `t_wowza_signal_ref` on((`t_channel`.`t_wowza_signal_ref_id` = `t_wowza_signal_ref`.`id`))) left join `t_activity` on((`t_channel`.`t_activity_id` = `t_activity`.`id`))) left join `t_signal` on((`t_wowza_signal_ref`.`t_signal_id` = `t_signal`.`id`))) left join `t_wowza_signal_ref` `default_t_wowza_signal_ref` on((`t_channel`.`default_t_wowza_signal_ref_id` = `default_t_wowza_signal_ref`.`id`))) ;
417   -
418   --- ----------------------------
419   --- View structure for `v_channel_count`
420   --- ----------------------------
421   -DROP VIEW IF EXISTS `v_channel_count`;
422   -CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`%` SQL SECURITY DEFINER VIEW `v_channel_count` AS select `t_statistics`.`id` AS `id`,concat('\'',`t_channel`.`name_zh`,'\'') AS `name`,concat('[',cast(group_concat(`t_statistics`.`count` order by `t_statistics`.`month` ASC separator ',') as char charset utf8),']') AS `data` from (`t_statistics` left join `t_channel` on((`t_statistics`.`t_channel_id` = `t_channel`.`id`))) group by `t_statistics`.`t_channel_id` ;
423   -
424   --- ----------------------------
425   --- View structure for `v_wowza_signal`
426   --- ----------------------------
427   -DROP VIEW IF EXISTS `v_wowza_signal`;
428   -CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`%` SQL SECURITY DEFINER VIEW `v_wowza_signal` AS select `t_wowza_signal_ref`.`id` AS `id`,`t_wowza_signal_ref`.`t_wowza_id` AS `t_wowza_id`,`t_wowza_signal_ref`.`publish_url` AS `publish_url`,`t_wowza_signal_ref`.`t_signal_id` AS `t_signal_id`,`t_wowza`.`name` AS `wowza_name`,`t_wowza`.`account` AS `wowza_account`,`t_wowza`.`lan_ip` AS `wowza_lan_ip`,`t_wowza`.`wan_ip` AS `wowza_wan_ip`,`t_wowza`.`state` AS `wowza_state`,`t_signal`.`name` AS `signal_name`,`t_signal`.`ip` AS `signal_ip`,`t_signal`.`type` AS `signal_type`,`t_wowza_signal_ref`.`stream_name` AS `stream_name`,`t_wowza_signal_ref`.`application_name` AS `application_name`,`t_wowza_signal_ref`.`type` AS `type` from ((`t_wowza_signal_ref` left join `t_wowza` on((`t_wowza_signal_ref`.`t_wowza_id` = `t_wowza`.`id`))) left join `t_signal` on((`t_wowza_signal_ref`.`t_signal_id` = `t_signal`.`id`))) ;
target/classes/cnlive_wowza_plugins_v1.5.jar deleted 100644 → 0
No preview for this file type
target/classes/i18n/i18n_en_US.properties deleted 100644 → 0
1   -common.title=Live v1.0
2   -common.h5title=Live v1.0
3 0 \ No newline at end of file
target/classes/i18n/i18n_zh_CN.properties deleted 100644 → 0
1   -common.title=\u76F4\u64AD\u64AD\u63A7\u7CFB\u7EDF v1.0
2   -common.h5title=Live v1.0
3   -
4 0 \ No newline at end of file
target/classes/log4j.properties deleted 100644 → 0
1   -log4j.rootLogger=INFO,console,file
2   -
3   -log4j.appender.console=org.apache.log4j.ConsoleAppender
4   -log4j.appender.console.Target=System.out
5   -log4j.appender.console.layout=org.apache.log4j.PatternLayout
6   -log4j.appender.console.layout.ConversionPattern=%m%n
7   -
8   -log4j.appender.file=org.apache.log4j.DailyRollingFileAppender
9   -log4j.appender.file.File=${catalina.base}/logs/cnlive_live_web/log
10   -log4j.appender.file.DatePattern='_'yyyyMMdd
11   -log4j.appender.file.encoding=UTF-8
12   -log4j.appender.file.layout=org.apache.log4j.PatternLayout
13   -log4j.appender.file.layout.ConversionPattern=%d{HH:mm:ss,SSS} %p %c (%L) - %m%n
14   -
15   -#log4j.logger.org.apache=ERROR
16   -log4j.logger.org.smart4j=DEBUG
17   -
18   -
19   -#log4j.logger.com.ksyun.ks3=DEBUG,stdout
20   -#log4j.logger.org.apache.http=DEBUG,stdout
21   -#log4j.logger.org.apache.http.wire=ERROR,stdout
22   -
23   -#log4j.addivity.org.apache=true
24   -#log4j.appender.stdout=org.apache.log4j.ConsoleAppender
25   -#log4j.appender.stdout.Target=System.out
26   -#log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
27   -#log4j.appender.stdout.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss SSS} %-5p [%t]%C{1}.%M(%L) - %m%n
28 0 \ No newline at end of file
target/classes/smart.properties deleted 100644 → 0
1   -smart.framework.app.base_package=com.cnlive.mz.live
2   -smart.framework.app.home_page=/index
3   -smart.framework.app.www_path=/static/
4   -smart.framework.app.jsp_path=/pages/
5   -smart.framework.custom.ds_factory=org.smart4j.plugin.dbcp.DbcpDataSourceFactory
6   -#smart.framework.custom.ds_factory=org.smart4j.plugin.druid.DruidDataSourceFactory
7   -
8   -
9   -smart.framework.jdbc.type=mysql
10   -smart.framework.jdbc.driver=com.mysql.jdbc.Driver
11   -smart.framework.jdbc.url=jdbc:mysql://124.193.218.90:3306/cnlive_live?autoReconnect=true&failOverReadOnly=false
12   -smart.framework.jdbc.username=cnlive_oa
13   -smart.framework.jdbc.password=H8rf#_3@ccx9(
14   -#
15   -smart.plugin.i18n.reloadable=true
16   -smart.plugin.rest.log=true
17   -smart.plugin.rest.jsonp=true
18   -smart.plugin.rest.jsonp.function=callback
19   -
20   -#smart.plugin.security.realms=custom
21   -#smart.plugin.security.custom.class=org.smart4j.sample.CustomSmartSecurity
22   -#smart.plugin.security.cacheable=true
23   -
24   -sample.upload_path=/www/upload/
25   -
26   -mail.template_path=D:/apache-tomcat-7.0.61/webapps/cnlive_live_web/pages/mail.html
27   -website.url=http://localhost:8080/cnlive_live_web/
28   -auth.enable=false
29   -auth.login.url=http://sso.staff.cnlive.com/CnliveSSO/login?from=mam-live&callbackUrl=
30   -auth.logout.url=http://sso.staff.cnlive.com/CnliveSSO/logOut?from=mam-live&callbackUrl=
31   -auth.userinfo.url=http://sso.staff.cnlive.com/CnliveSSO/getUserInfo?username=
32   -
33   -
34 0 \ No newline at end of file
target/m2e-wtp/web-resources/META-INF/maven/com.cnlive.mz.live.web/cnlive_live_web/pom.properties
1 1 #Generated by Maven Integration for Eclipse
  2 +#Mon Jun 20 10:10:00 CST 2016
2 3 #Fri Jun 17 09:20:43 CST 2016
3 4 version=0.0.1-SNAPSHOT
4 5 groupId=com.cnlive.mz.live.web
... ...