| xqd
@@ -20,6 +20,7 @@ class InteractionController extends Controller
|
|
|
* @apiVersion 0.1.0
|
|
|
* @apiParam {int} id 梦想ID
|
|
|
* @apiParam {string} title 互动标题
|
|
|
+ * @apiParam {string} [video] 视频
|
|
|
* @apiParam {array} pics[] 图片数组
|
|
|
* @apiSuccessExample {json} Success-Response:
|
|
|
* HTTP/1.1 200 OK
|
| xqd
@@ -66,6 +67,7 @@ class InteractionController extends Controller
|
|
|
$title = $request->title;
|
|
|
$data['dream_id'] = $dream_id;
|
|
|
$data['title'] = $title;
|
|
|
+ $data['video'] = $request->video;
|
|
|
$ok = InteractionInfo::create($data);
|
|
|
if ($ok) {
|
|
|
// 收藏梦想最新动态加一
|