|
|
|
@ -37,8 +37,8 @@ class QrCodePromotionController extends BaseController
|
|
|
|
|
public function uploadQrCodeBackground()
|
|
|
|
|
{
|
|
|
|
|
$fileController = new FileController();
|
|
|
|
|
$ossStatus = C('OSS_STATUS');
|
|
|
|
|
C('OSS_STATUS', false);
|
|
|
|
|
$storageType = C('STORAGE_TYPE');
|
|
|
|
|
C('STORAGE_TYPE', null);
|
|
|
|
|
/* 调用文件上传组件上传文件 */
|
|
|
|
|
$Picture = D('Picture');
|
|
|
|
|
$pic_driver = C('PICTURE_UPLOAD_DRIVER');
|
|
|
|
@ -51,7 +51,7 @@ class QrCodePromotionController extends BaseController
|
|
|
|
|
$_REQUEST['flag']
|
|
|
|
|
); //
|
|
|
|
|
|
|
|
|
|
C('OSS_STATUS', $ossStatus);
|
|
|
|
|
C('STORAGE_TYPE', $storageType);
|
|
|
|
|
|
|
|
|
|
$path = '';
|
|
|
|
|
if ($info) {
|
|
|
|
|