Commit b41aa738 by 冷斌

fix bug

parent 53053d17
...@@ -146,9 +146,9 @@ class GiftController extends AdminbaseController { ...@@ -146,9 +146,9 @@ class GiftController extends AdminbaseController {
$type=I('type'); $type=I('type');
$swftype=I('swftype'); $swftype=I('swftype');
if($type==1 && $swftype==1){
var_dump($_FILES); var_dump($_FILES);
die; die;
if($type==1 && $swftype==1){
if($_FILES){ if($_FILES){
$savepath=date('Ymd').'/'; $savepath=date('Ymd').'/';
//上传处理类 //上传处理类
......
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