feat: 归档L03与L09审批发布能力
- 新增统一审批中心与审批管理页面,支持流程配置、审批详情与角色/用户审批对象 - 接入聊天助手、知识库、工作流的发布与删除审批,并补齐发布态校验与快照展示
This commit is contained in:
@@ -53,6 +53,22 @@ export const removeBotFromId = (id: string) => {
|
||||
return api.post<RequestResult>('/api/v1/bot/remove', { id });
|
||||
};
|
||||
|
||||
/** 提交 Bot 发布审批 */
|
||||
export const submitBotPublishApproval = (id: string) => {
|
||||
return api.post<RequestResult<number | string>>(
|
||||
'/api/v1/bot/submitPublishApproval',
|
||||
{ id },
|
||||
);
|
||||
};
|
||||
|
||||
/** 提交 Bot 删除审批 */
|
||||
export const submitBotDeleteApproval = (id: string) => {
|
||||
return api.post<RequestResult<number | string>>(
|
||||
'/api/v1/bot/submitDeleteApproval',
|
||||
{ id },
|
||||
);
|
||||
};
|
||||
|
||||
export interface GetMessageListParams {
|
||||
conversationId: string;
|
||||
botId: string;
|
||||
|
||||
Reference in New Issue
Block a user