|
|
@ -3589,6 +3589,7 @@ class InsurerController extends BaseController |
|
|
|
$name = md5(rand(100, 200)); |
|
|
|
$name = md5(rand(100, 200)); |
|
|
|
$imgstr = '@frontend/web/upload/images/'.date('Ym'); |
|
|
|
$imgstr = '@frontend/web/upload/images/'.date('Ym'); |
|
|
|
$imgstr .= '/gift' . $name . '' . $datetime . '.png'; |
|
|
|
$imgstr .= '/gift' . $name . '' . $datetime . '.png'; |
|
|
|
|
|
|
|
echo str_replace('@frontend/web/', '',$imgstr); |
|
|
|
FileHelper::createDirectory(dirname(str_replace('@frontend/web/', '',$imgstr))); |
|
|
|
FileHelper::createDirectory(dirname(str_replace('@frontend/web/', '',$imgstr))); |
|
|
|
|
|
|
|
|
|
|
|
//生成新的图片 |
|
|
|
//生成新的图片 |
|
|
|