正在显示
1 个修改的文件
包含
8 行增加
和
0 行删除
| @@ -43,6 +43,14 @@ class TestController extends BaseController | @@ -43,6 +43,14 @@ class TestController extends BaseController | ||
| 43 | * @time :2025/2/13 16:34 | 43 | * @time :2025/2/13 16:34 |
| 44 | */ | 44 | */ |
| 45 | public function ceshi(){ | 45 | public function ceshi(){ |
| 46 | + $this->param = [ | ||
| 47 | + 'title'=>'apple', | ||
| 48 | + 'description'=>'apples', | ||
| 49 | + 'images'=>[ | ||
| 50 | + ['url'=>'https://ecdn6.globalso.com/upload/public/template/64e332671b32e25328.png','title'=>'apple'], | ||
| 51 | + ['url'=>'https://ecdn6.globalso.com/upload/public/template/64e32a24b314a39425.png','title'=>'apples'], | ||
| 52 | + ], | ||
| 53 | + ]; | ||
| 46 | $aiVideoService = new AiVideoService(467); | 54 | $aiVideoService = new AiVideoService(467); |
| 47 | $result = $aiVideoService->createTask($this->param['title'],$this->param['description'],$this->param['images'],$this->param['anchor'] ?? []); | 55 | $result = $aiVideoService->createTask($this->param['title'],$this->param['description'],$this->param['images'],$this->param['anchor'] ?? []); |
| 48 | $this->response('success',Code::SUCCESS,$result); | 56 | $this->response('success',Code::SUCCESS,$result); |
-
请 注册 或 登录 后发表评论