@zzp123/mcp-zentao 1.18.0 → 1.18.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/zentaoApi.js +5 -2
- package/package.json +1 -1
package/dist/api/zentaoApi.js
CHANGED
|
@@ -197,15 +197,18 @@ export class ZentaoAPI {
|
|
|
197
197
|
}
|
|
198
198
|
if (fields === 'basic') {
|
|
199
199
|
// 基本信息:只返回最核心的字段
|
|
200
|
+
// 注意:移除了 assignedTo(因为 getMyBugs 固定查询指派给我的 Bug,该字段无信息价值)
|
|
201
|
+
// 新增:statusName(中文状态名)、deadline(截止日期)
|
|
200
202
|
return {
|
|
201
203
|
id: bug.id,
|
|
202
204
|
title: bug.title,
|
|
203
205
|
status: bug.status,
|
|
206
|
+
statusName: bug.statusName,
|
|
204
207
|
pri: bug.pri,
|
|
205
208
|
severity: bug.severity,
|
|
206
|
-
assignedTo: bug.assignedTo,
|
|
207
209
|
openedBy: bug.openedBy,
|
|
208
|
-
openedDate: bug.openedDate
|
|
210
|
+
openedDate: bug.openedDate,
|
|
211
|
+
deadline: bug.deadline
|
|
209
212
|
};
|
|
210
213
|
}
|
|
211
214
|
// default: 默认字段(适合列表展示)
|