|
...
|
...
|
@@ -119,7 +119,7 @@ class AiVideoController extends BaseController |
|
|
|
* @method :post
|
|
|
|
* @time :2025/2/21 16:22
|
|
|
|
*/
|
|
|
|
public function getAiBlogList(AiVideoList $aiVideoList){
|
|
|
|
public function getAiVideoList(AiVideoList $aiVideoList){
|
|
|
|
$lists = $aiVideoList->lists($this->map,$this->page,$this->row,'id',['id','route','created_at','updated_at']);
|
|
|
|
if(!empty($lists) && !empty($lists['list'])){
|
|
|
|
foreach ($lists['list'] as $k => $v){
|
|
...
|
...
|
@@ -129,4 +129,21 @@ class AiVideoController extends BaseController |
|
|
|
}
|
|
|
|
$this->response('success',Code::SUCCESS,$lists);
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @remark :获取列表页数据详情
|
|
|
|
* @name :getAiBlogListInfo
|
|
|
|
* @author :lyh
|
|
|
|
* @method :post
|
|
|
|
* @time :2025/2/21 16:26
|
|
|
|
*/
|
|
|
|
public function getAiBlogListInfo(AiVideoList $aiVideoList){
|
|
|
|
$this->request->validate([
|
|
|
|
'id'=>['required'],
|
|
|
|
],[
|
|
|
|
'id.required' => '主键不能为空',
|
|
|
|
]);
|
|
|
|
$info = $aiVideoList->read($this->map);
|
|
|
|
$this->response('success',Code::SUCCESS,$info);
|
|
|
|
}
|
|
|
|
} |
...
|
...
|
|