Commit b5f583bf by 冷斌

fix bug

parent b41aa738
......@@ -146,8 +146,6 @@ class GiftController extends AdminbaseController {
$type=I('type');
$swftype=I('swftype');
var_dump($_FILES);
die;
if($type==1 && $swftype==1){
if($_FILES){
$savepath=date('Ymd').'/';
......@@ -162,8 +160,6 @@ class GiftController extends AdminbaseController {
);
$upload = new \Think\Upload($config);//
$info=$upload->upload();
var_dump($info);
die;
//开始上传
if ($info) {
//上传成功
......
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