本地主机消除502

This commit is contained in:
2025-09-21 14:25:01 +08:00
parent b7d9f16198
commit e5eb8d6174
38 changed files with 56 additions and 73 deletions

View File

@@ -66,14 +66,7 @@ paths:
/api/notices:
get:
summary: 公告列表(✅ Fully Implemented
description: 返回当前店铺可见的公告列表。后端与前端均已接入。
parameters:
- in: header
name: X-Shop-Id
required: false
schema:
type: integer
description: 店铺ID缺省为 1
description: 返回全局公告列表(与租户无关)。后端与前端均已接入。
responses:
'200':
description: 成功
@@ -944,12 +937,6 @@ components:
id:
type: integer
format: int64
shopId:
type: integer
format: int64
userId:
type: integer
format: int64
title:
type: string
content:
@@ -961,6 +948,19 @@ components:
startsAt:
type: string
format: date-time
endsAt:
type: string
format: date-time
nullable: true
status:
type: string
enum: [draft, published, offline]
createdAt:
type: string
format: date-time
updatedAt:
type: string
format: date-time
MetricsOverview:
type: object
properties: