Appearance
获取附件列表 API
| Path | Method | Created At |
|---|---|---|
| /api/business/opportunities/attachments/{boId}/paginate | GET | 2025-11-29 00:39:11 |
Request
| Key | Rule | Description |
|---|---|---|
| boId | string,size:24 | trans:validate.BO_NOT_FOUND |
| page | integer,min:1,max:100 | 页码必须为正整数 |
| page_size | integer,min:5,max:1000 | 每页数量必须为正整数 |
| title | string,max:100 | 标题长度不能超过100个字符 |
| remark | string,max:255 | 备注不能超过255个字符 |
Response
| Key | Type | Example | Comment |
|---|---|---|---|
| id | string | 8a7d6d | 编号 |
| title | string | 报销凭证 | 标题 |
| remark | string | 凭证 | 备注 |
| url | string | https://domain.com/title.png | 附件路径 |
| createdByName | string | 欧阳锋 | 创建人姓名 |
| createdAt | string | 2025-01-13 13:46:23 | 创建时间 |
TypeScript Result Example:
TypeScript
interface Result {
/** 编号 */
id: string;
/** 标题 */
title: string;
/** 备注 */
remark: string;
/** 附件路径 */
url: string;
/** 创建人姓名 */
createdByName: string;
/** 创建时间 */
createdAt: string;
}