| xqd
@@ -548,7 +548,7 @@ class MyController extends Controller
|
|
|
$data1['updated_at'] = date('Y-m-d H:i:s');
|
|
|
$arr = $request->pics;
|
|
|
$video = $request->video;
|
|
|
-// if (empty($arr) && empty($video)) return $this->error(ErrorCode::ATTACHMENT_NOT_EXIST);
|
|
|
+ if (empty($arr) && empty($video)) return $this->error(ErrorCode::ATTACHMENT_NOT_EXIST);
|
|
|
$ok = UserDream::create($data1);
|
|
|
$arr1 = [];
|
|
|
if ($ok) {
|