修复:完善上传契约与自动化闭环

统一 multipart 请求透传并补齐接口契约和边界校验;新增 AI 自动改价、暂时性失败重试、擦亮与确认发货幂等处理;修复聊天已读回执跨端同步误报警,并更新前端静态资源与回归测试。
This commit is contained in:
Christ committed 2026-08-20 19:03:29 +08:00
1 parent 44f0b5c559
commit 50eca2fca6
77 files changed
+2138 -274

No files matched your search

@@ -1988,6 +1988,15 @@ export interface components {
AIReplySettingsResponse: {
cookie_id?: string;
ai_enabled: boolean;
auto_adjust_price_enabled: boolean;
max_discount_percent: number;
max_discount_amount: number;
max_bargain_rounds: number;
custom_prompts: string;
};
AIReplySettingsUpdateRequest: {
ai_enabled: boolean;
auto_adjust_price_enabled: boolean;
max_discount_percent: number;
max_discount_amount: number;
max_bargain_rounds: number;
@@ -2039,6 +2048,18 @@ export interface components {
poi_name?: string;
province?: string;
};
ItemPublishRequest: {
cookie_id: string;
title: string;
description: string;
price: string;
original_price: string;
quantity: number;
postage_mode: string;
postage: string;
location?: string;
images: string[];
};
ItemPublishBatchPreviewRow: {
row_no: number;
valid: boolean;
@@ -2554,6 +2575,10 @@ export interface components {
system_shipped?: boolean;
item_title?: string;
};
OrderRefreshRequest: {
cookie_id?: string;
status?: string;
};
OrderRefreshDetail: {
quantity: string;
spec_name: string;
@@ -5206,6 +5231,15 @@ export interface operations {
"application/json": components["schemas"]["ErrorResponse"];
};
};
/** @description AI 议价与固定规则改价配置冲突 */
409: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["ErrorResponse"];
};
};
/** @description 统一错误响应 */
500: {
headers: {
@@ -5273,6 +5307,15 @@ export interface operations {
"application/json": components["schemas"]["ErrorResponse"];
};
};
/** @description AI 议价与固定规则改价配置冲突 */
409: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["ErrorResponse"];
};
};
/** @description 统一错误响应 */
500: {
headers: {
@@ -7464,7 +7507,11 @@ export interface operations {
path?: never;
cookie?: never;
};
requestBody?: never;
requestBody: {
content: {
"multipart/form-data": components["schemas"]["ItemPublishRequest"];
};
};
responses: {
/** @description 成功 */
200: {
@@ -9366,10 +9413,8 @@ export interface operations {
};
requestBody: {
content: {
"multipart/form-data": {
cookie_id?: string;
status?: string;
};
"application/json": components["schemas"]["OrderRefreshRequest"];
"multipart/form-data": components["schemas"]["OrderRefreshRequest"];
};
};
responses: {
@@ -11464,7 +11509,11 @@ export interface operations {
};
cookie?: never;
};
requestBody?: never;
requestBody: {
content: {
"application/json": components["schemas"]["AIReplySettingsUpdateRequest"];
};
};
responses: {
/** @description 成功 */
200: {
@@ -11511,6 +11560,15 @@ export interface operations {
"application/json": components["schemas"]["ErrorResponse"];
};
};
/** @description AI 议价与固定规则改价配置冲突 */
409: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["ErrorResponse"];
};
};
/** @description 统一错误响应 */
500: {
headers: {