You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
404 B
21 lines
404 B
<?php
|
|
|
|
namespace app\api\controller\video;
|
|
|
|
use app\api\controller\Controller;
|
|
use app\common\dm\Dm;
|
|
|
|
class Video extends Controller
|
|
{
|
|
|
|
public function getVideo()
|
|
{
|
|
$urlArr = [];
|
|
$dm = new Dm();
|
|
$list = $dm->select('bt_video');
|
|
foreach ($list as $row) {
|
|
$urlArr[] = $row['url'];
|
|
}
|
|
return $this->renderSuccess(compact('urlArr'));
|
|
}
|
|
}
|