Skip to content

添加附件 API

PathMethodCreated At
/api/business/opportunities/attachments/{boId}/createPOST2025-11-29 00:39:11

Request

KeyRuleDescription
boIdstring,size:24trans:validate.BO_NOT_FOUND
titlestring,max:100标题长度不能超过100个字符
urlurl附件路径格式不正确
remarkstring,max:255备注不能超过255个字符

Response

KeyTypeExampleComment
codeint0编号:0表示成功,非0表示错误
messagestringsuccess成功为 success, 失败则错误消息

TypeScript Result Example:

TypeScript
interface Result {
  /** 编号:0表示成功,非0表示错误 */
  code: number;
  /** 成功为 success, 失败则错误消息 */
  message: string;
}