|
@@ -22,10 +22,10 @@ class UploadController extends BaseController
|
|
|
public function actionSaveFile()
|
|
public function actionSaveFile()
|
|
|
{
|
|
{
|
|
|
$file = $_FILES['file'];
|
|
$file = $_FILES['file'];
|
|
|
|
|
+ print_r($_FILES);die;
|
|
|
if (!is_uploaded_file($file['tmp_name'])) {
|
|
if (!is_uploaded_file($file['tmp_name'])) {
|
|
|
util::fail('please upload img');
|
|
util::fail('please upload img');
|
|
|
}
|
|
}
|
|
|
- print_r($file);die;
|
|
|
|
|
$mainId = $this->sjId;
|
|
$mainId = $this->sjId;
|
|
|
$shopId = $this->shopId;
|
|
$shopId = $this->shopId;
|
|
|
$month = date("Ym");
|
|
$month = date("Ym");
|