Commit 75db0fd6 by doszhang

dos

parent d2c5c72a
...@@ -102,7 +102,7 @@ class IndexController extends Controller ...@@ -102,7 +102,7 @@ class IndexController extends Controller
return; return;
} }
$url = $this->saveCommonImageToQiniu($_POST['src'], uniqid('pingan_marathon_')); $url = $this->saveCommonImageToQiniu($_POST['image'], uniqid('pingan_marathon_'));
if($_POST['source'] == 'poster') if($_POST['source'] == 'poster')
{ {
M('User')->where(['id' => $user['id']])->save([ M('User')->where(['id' => $user['id']])->save([
......
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