Compare commits

..

9 Commits
main ... main

Author SHA1 Message Date
tikkhun 50bbf309c9 Merge branch 'main' of https://git.yoone.ca/yoone/WEB 2025-10-14 14:54:45 +08:00
tikkhun 19f8fa6fa5 Merge branch 'main' of https://git.yoone.ca/zksu/WEB 2025-10-14 14:34:01 +08:00
tikkhun 9e3fcff3dd refactor(docs): 移除旧版项目文档和优化订单状态标签
删除不再使用的项目文档中心和相关技术文档
在订单列表页面添加退款状态标签的空行以改善代码可读性
2025-10-14 14:27:21 +08:00
tikkhun e6ec5b6887 Merge branch 'main' of https://git.yoone.ca/zksu/WEB 2025-10-14 14:21:33 +08:00
tikkhun c555269030 refactor(Order/List): 更新退款相关状态标签为更简洁的表达
refund_approved 已退款
refund_cancelled 已完成
2025-10-14 14:20:30 +08:00
tikkhun edb854f777 build: 添加 code-inspector-plugin 依赖及配置
添加 code-inspector-plugin 作为开发依赖,并在 webpack 配置中启用该插件以增强代码检查能力
2025-10-14 14:18:45 +08:00
tikkhun 36c470a5b3 Merge branch 'main' of https://git.yoone.ca/yoone/WEB
# Conflicts:
#	src/pages/Order/List/index.tsx
2025-10-14 14:12:56 +08:00
tikkhun 87534c4d22 refactor(Order/List): 更新退款相关状态标签为更简洁的表达
refund_approved 已退款
refund_cancelled 已完成
2025-10-14 11:13:06 +08:00
tikkhun 37c8518289 build: 添加 code-inspector-plugin 依赖及配置
添加 code-inspector-plugin 作为开发依赖,并在 webpack 配置中启用该插件以增强代码检查能力
2025-10-14 11:08:54 +08:00
2 changed files with 2 additions and 27 deletions

View File

@ -235,6 +235,7 @@ declare namespace API {
total_tax?: number; total_tax?: number;
customer_id?: number; customer_id?: number;
customer_email?: string; customer_email?: string;
billing_phone?: string;
order_key?: string; order_key?: string;
billing?: OrderAddress; billing?: OrderAddress;
shipping?: OrderAddress; shipping?: OrderAddress;
@ -257,8 +258,6 @@ declare namespace API {
device_type?: string; device_type?: string;
source_type?: string; source_type?: string;
utm_source?: string; utm_source?: string;
is_exchange?: boolean;
exchange_frequency?: number;
/** 创建时间 */ /** 创建时间 */
createdAt: string; createdAt: string;
/** 更新时间 */ /** 更新时间 */
@ -378,6 +377,7 @@ declare namespace API {
total_tax?: number; total_tax?: number;
customer_id?: number; customer_id?: number;
customer_email?: string; customer_email?: string;
billing_phone?: string;
order_key?: string; order_key?: string;
billing?: OrderAddress; billing?: OrderAddress;
shipping?: OrderAddress; shipping?: OrderAddress;
@ -400,8 +400,6 @@ declare namespace API {
device_type?: string; device_type?: string;
source_type?: string; source_type?: string;
utm_source?: string; utm_source?: string;
is_exchange?: boolean;
exchange_frequency?: number;
/** 创建时间 */ /** 创建时间 */
createdAt: string; createdAt: string;
/** 更新时间 */ /** 更新时间 */
@ -1417,8 +1415,6 @@ declare namespace API {
sale_price?: number; sale_price?: number;
/** 是否促销中 */ /** 是否促销中 */
on_sale?: boolean; on_sale?: boolean;
/** 是否删除 */
on_delete?: boolean;
/** 创建时间 */ /** 创建时间 */
createdAt: string; createdAt: string;
/** 更新时间 */ /** 更新时间 */
@ -1452,10 +1448,6 @@ declare namespace API {
| 'inherit'; | 'inherit';
}; };
type wpproductcontrollerSearchproductsParams = {
name?: string;
};
type wpproductcontrollerSetconstitutionParams = { type wpproductcontrollerSetconstitutionParams = {
id: number; id: number;
}; };
@ -1508,8 +1500,6 @@ declare namespace API {
sale_price?: number; sale_price?: number;
/** 是否促销中 */ /** 是否促销中 */
on_sale?: boolean; on_sale?: boolean;
/** 是否删除 */
on_delete?: boolean;
/** 产品类型 */ /** 产品类型 */
type?: 'simple' | 'variable' | 'woosb'; type?: 'simple' | 'variable' | 'woosb';
/** 创建时间 */ /** 创建时间 */

View File

@ -36,21 +36,6 @@ export async function wpproductcontrollerGetwpproducts(
}); });
} }
/** 此处后端没有提供注释 GET /wp_product/search */
export async function wpproductcontrollerSearchproducts(
// 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
params: API.wpproductcontrollerSearchproductsParams,
options?: { [key: string]: any },
) {
return request<API.ProductsRes>('/wp_product/search', {
method: 'GET',
params: {
...params,
},
...(options || {}),
});
}
/** 此处后端没有提供注释 PUT /wp_product/siteId/${param1}/products/${param0} */ /** 此处后端没有提供注释 PUT /wp_product/siteId/${param1}/products/${param0} */
export async function wpproductcontrollerUpdateproduct( export async function wpproductcontrollerUpdateproduct(
// 叠加生成的Param类型 (非body参数swagger默认没有生成对象) // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)