Commit 451e7685 authored by agping's avatar agping

上传视频

parent 2d613dc5
...@@ -315,8 +315,8 @@ class News extends Basic ...@@ -315,8 +315,8 @@ class News extends Basic
return view('plNews'); return view('plNews');
} }
public function test(){ public function baiduText(){
return view('test'); return view('baidu_text');
} }
} }
\ No newline at end of file
...@@ -327,7 +327,7 @@ Route::group('index', [ ...@@ -327,7 +327,7 @@ Route::group('index', [
'delNewsFile' => [ 'index/news/delNewsFile', [ 'method' => 'POST' ] ], //删除商学院附件 'delNewsFile' => [ 'index/news/delNewsFile', [ 'method' => 'POST' ] ], //删除商学院附件
'plNews' => ['index/news/plNews', ['method' => 'GET']], //商学院评论 'plNews' => ['index/news/plNews', ['method' => 'GET']], //商学院评论
'test' => ['index/news/test', ['method' => 'GET']], 'baiduText' => ['index/news/baiduText', ['method' => 'GET']],
'agentEvaluateNumAndFraction' => [ 'index/broker/agentEvaluateNumAndFraction', [ 'method' => 'POST|GET' ] ],//经纪人列表计算-评价次数和分数 朱伟 2018-07-03 'agentEvaluateNumAndFraction' => [ 'index/broker/agentEvaluateNumAndFraction', [ 'method' => 'POST|GET' ] ],//经纪人列表计算-评价次数和分数 朱伟 2018-07-03
'uploadImg' => [ 'index/UploadImg/uploadImg', [ 'method' => 'POST' ] ],//全局图片上传 'uploadImg' => [ 'index/UploadImg/uploadImg', [ 'method' => 'POST' ] ],//全局图片上传
......
...@@ -61,7 +61,7 @@ define (['doT', 'text!temp/opensquareList_template_tpl.html','ckfinder','ckfinde ...@@ -61,7 +61,7 @@ define (['doT', 'text!temp/opensquareList_template_tpl.html','ckfinder','ckfinde
$('.is-add').html('发布开盘') $('.is-add').html('发布开盘')
var iFrame2 = document.getElementById('ifram-kaipan'); var iFrame2 = document.getElementById('ifram-kaipan');
iFrame2.contentWindow.postMessage('2','*'); iFrame2.contentWindow.postMessage('2','*');
$('#ifram-kaipan').attr('src',ServerHostImageLiu + '/index/test'); $('#ifram-kaipan').attr('src',ServerHostImageLiu + '/index/baiduText');
user.getDistrict(); user.getDistrict();
user.switchUrl = '/index/addSquare'; user.switchUrl = '/index/addSquare';
}); });
...@@ -193,7 +193,7 @@ define (['doT', 'text!temp/opensquareList_template_tpl.html','ckfinder','ckfinde ...@@ -193,7 +193,7 @@ define (['doT', 'text!temp/opensquareList_template_tpl.html','ckfinder','ckfinde
user.announcementdel_id = $ (this).attr ("data-id"); user.announcementdel_id = $ (this).attr ("data-id");
user.is_add = 0; user.is_add = 0;
// $('#ifram-kaipan').attr('src',ServerHostImageLiu + '/index/test'); // $('#ifram-kaipan').attr('src',ServerHostImageLiu + '/index/test');
$('#ifram-kaipan').attr('src',ServerHostImageLiu + '/index/test'); $('#ifram-kaipan').attr('src',ServerHostImageLiu + '/index/baiduText');
user.text_details(); user.text_details();
}); });
......
...@@ -363,6 +363,7 @@ ...@@ -363,6 +363,7 @@
,outputXssFilter: true ,outputXssFilter: true
// xss过滤白名单 名单来源: https://raw.githubusercontent.com/leizongmin/js-xss/master/lib/default.js // xss过滤白名单 名单来源: https://raw.githubusercontent.com/leizongmin/js-xss/master/lib/default.js
,whitList: { ,whitList: {
iframe: ['frameborder','border','marginwidth','marginheight','width','height','src','id'],
a: ['target', 'href', 'title', 'class', 'style'], a: ['target', 'href', 'title', 'class', 'style'],
abbr: ['title', 'class', 'style'], abbr: ['title', 'class', 'style'],
address: ['class', 'style'], address: ['class', 'style'],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment