MCPcopy Create free account
hub / github.com/TurtleTrace2026/TurtleTrace / updateEventStatus

Method updateEventStatus

src/services/eventService.ts:203–207  ·  view source on GitHub ↗

更新事件状态

(id: string, status: MarketEvent['status'])

Source from the content-addressed store, hash-verified

201
202 /** 更新事件状态 */
203 async updateEventStatus(id: string, status: MarketEvent['status']): Promise<boolean> {
204 const event = await this.getEvent(id);
205 if (!event) return false;
206 return this.saveEvent({ ...event, status });
207 }
208
209 // ==================== 导出功能 ====================
210

Callers

nothing calls this directly

Calls 2

getEventMethod · 0.95
saveEventMethod · 0.95

Tested by

no test coverage detected