修正接口参数名称,将video_id更改为shot_id以保持一致性

This commit is contained in:
海龙 2025-08-14 20:42:49 +08:00
parent 99f6cfdd49
commit d08140f537
2 changed files with 4 additions and 3 deletions

View File

@ -300,7 +300,7 @@ export const applyRoleToShots = async (request: {
/** 项目ID */ /** 项目ID */
project_id: string; project_id: string;
/** 分镜ID */ /** 分镜ID */
shot_id: string; shot_id: string;
/** 任务状态 */ /** 任务状态 */
status: string; status: string;
/** 状态描述 */ /** 状态描述 */
@ -865,7 +865,7 @@ export const updateShotPrompt = async (request: {
/** 项目ID */ /** 项目ID */
project_id: string; project_id: string;
/** 分镜ID */ /** 分镜ID */
video_id: string; shot_id: string;
/** 镜头描述 */ /** 镜头描述 */
shot_descriptions: task_item; shot_descriptions: task_item;
}): Promise<ApiResponse<any>> => { }): Promise<ApiResponse<any>> => {

View File

@ -148,7 +148,8 @@ export class VideoSegmentEditUseCase {
const response = await updateShotPrompt({ const response = await updateShotPrompt({
project_id, project_id,
video_id:shot_id, shot_id,
shot_id,
shot_descriptions, shot_descriptions,
}); });