|
|
@@ -155,6 +155,7 @@ class AnimeService
|
|
|
$content = getProp($data, 'content', '');
|
|
|
$bid = getProp($data, 'bid', 0);
|
|
|
$script_id = getProp($data, 'script_id', 0);
|
|
|
+ $ace_mode = getProp($data, 'ace_mode', 0);
|
|
|
// 替换美术风格
|
|
|
$mappedArtStyle = $this->DeepSeekService->getArtStylePromptByInput($input_art_style);
|
|
|
|
|
|
@@ -185,6 +186,7 @@ class AnimeService
|
|
|
'anime_name' => '新剧本策划',
|
|
|
'is_multi' => getProp($data, 'is_multi', 1),
|
|
|
'content' => $content,
|
|
|
+ 'ace_mode' => $ace_mode,
|
|
|
'created_at' => date('Y-m-d H:i:s'),
|
|
|
'updated_at' => date('Y-m-d H:i:s'),
|
|
|
];
|
|
|
@@ -465,7 +467,7 @@ class AnimeService
|
|
|
public function animeDetail($data) {
|
|
|
$anime_id = getProp($data, 'anime_id');
|
|
|
$anime = DB::table('mp_animes')->where('id', $anime_id)->where('is_deleted', 0)
|
|
|
- ->selectRaw('id as anime_id, anime_name, intro, highlights, roles, role_relationship, core_contradiction, art_style, scenes, status, remark, generate_status, created_at')->first();
|
|
|
+ ->selectRaw('id as anime_id, anime_name, intro, highlights, roles, role_relationship, core_contradiction, art_style, scenes, status, remark, generate_status, created_at, ace_mode')->first();
|
|
|
if (!$anime) Utils::throwError('20003:该剧本不存在!');
|
|
|
$anime = (array)$anime;
|
|
|
$anime['roles'] = json_decode($anime['roles']);
|