forked from 77media/video-flow
修正接口参数名称,将video_id更改为shot_id以保持一致性
This commit is contained in:
parent
99f6cfdd49
commit
d08140f537
@ -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>> => {
|
||||||
|
|||||||
@ -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,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user