Commit 5c9b0cd5 by doszhang

dos

parent 538a2215
...@@ -23,13 +23,13 @@ class IndexController extends Controller ...@@ -23,13 +23,13 @@ class IndexController extends Controller
} }
public function getInfo(){ public function getInfo(){
// $this->ajaxReturn(array( $this->ajaxReturn(array(
// 'status' => 1, 'status' => 1,
// 'poster' => 1, 'poster' => 2,
// 'msg' => '查询成功', 'msg' => '查询成功',
// 'branch'=> '广东', 'branch'=> '广东',
// 'step' => 1 'step' => 1
// )); ));
$referer = $_SERVER['HTTP_REFERER']; $referer = $_SERVER['HTTP_REFERER'];
$refererInfo = parse_url( $referer ); $refererInfo = parse_url( $referer );
if( $refererInfo['host'] != $_SERVER['HTTP_HOST'] ) if( $refererInfo['host'] != $_SERVER['HTTP_HOST'] )
......
...@@ -105,7 +105,7 @@ $(document).ready(function () { ...@@ -105,7 +105,7 @@ $(document).ready(function () {
$('input[name=btn-upload]').change(function () { $('input[name=btn-upload]').change(function () {
imgInfo = {}; imgInfo = {};
img = ''; img = '';
$('.hide').hide();
bindUpload(this, uploadCtx, uploadCanvas, 1, function (img) { bindUpload(this, uploadCtx, uploadCanvas, 1, function (img) {
$('.btn-upload-block').css('left', '53px'); $('.btn-upload-block').css('left', '53px');
$('.btn-createposter').show(); $('.btn-createposter').show();
......
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 sign in to comment