FastMovieAI 二开基线 v1.0 (完整源码)

This commit is contained in:
李建琦
2026-08-26 18:41:02 +08:00
parent fad7690c0c
commit d54584f70d
888 changed files with 105571 additions and 1 deletions
@@ -0,0 +1,24 @@
<?php
namespace plugin\model\app\api\controller;
use app\Basic;
use app\expose\enum\State;
use plugin\model\app\model\PluginModelVoiceText;
use support\Request;
class VoiceTextController extends Basic
{
public function index(Request $request)
{
$where = [];
$where[] = ['channels_uid', '=', $request->channels_uid];
$where[] = ['state', '=', State::YES['value']];
$text = $request->get('text');
if ($text) {
$where[] = ['text', 'like', "%{$text}%"];
}
$list = PluginModelVoiceText::where($where)->order('id desc')->select();
return $this->resData($list);
}
}