fix: API 注释 - 重量单位 kg 改为 g

This commit is contained in:
liufumingren 2026-07-27 04:53:44 +08:00
parent 5ccc42fdbc
commit 623150288e
4 changed files with 8 additions and 5 deletions

View File

@ -67,6 +67,7 @@ export type DeliveryOrderListItem = {
service_fee?: string | null service_fee?: string | null
logistics_name?: string logistics_name?: string
delivery_type?: string | null delivery_type?: string | null
/** 重量类型 */
weight_type?: string | number | null weight_type?: string | number | null
is_urgency?: string is_urgency?: string
invoice_flag?: string invoice_flag?: string
@ -87,6 +88,7 @@ export type DeliveryOrderListItem = {
items?: string items?: string
items_count?: number items_count?: number
items_total?: number items_total?: number
/** 订单商品总重量(g) */
items_weight?: string items_weight?: string
wave_id?: number wave_id?: number
wave_no?: string wave_no?: string
@ -165,6 +167,7 @@ export type DeliveryOrderDetailItem = {
/** order.deliveryOrder.detail 运单信息项 */ /** order.deliveryOrder.detail 运单信息项 */
export type DeliveryOrderDetailExpressItem = { export type DeliveryOrderDetailExpressItem = {
waybill_code?: string waybill_code?: string
/** 称重重量(g) */
weighing_weight?: number | null weighing_weight?: number | null
sys_logistics_code?: string sys_logistics_code?: string
sys_logistics_name?: string sys_logistics_name?: string

View File

@ -63,7 +63,7 @@ export type UpdateExpressWeighingWeightParams = {
order_id: number | string order_id: number | string
/** 订单仅一个运单时可不传;多运单时必填;order_id=0 时必填 */ /** 订单仅一个运单时可不传;多运单时必填;order_id=0 时必填 */
waybill_code?: string waybill_code?: string
/** 称重重量(kg),必须大于 0,最多 3 位小数 */ /** 称重重量(g),必须大于 0,最多 3 位小数 */
weighing_weight: number | string weighing_weight: number | string
} }
@ -80,7 +80,7 @@ export type UpdateExpressWeighingWeightResponse = {
order_id?: number order_id?: number
/** 写入重量的运单号;订单模式及运单号散单模式返回 */ /** 写入重量的运单号;订单模式及运单号散单模式返回 */
waybill_code?: string waybill_code?: string
/** 已写入的称重重量(kg) */ /** 已写入的称重重量(g) */
weighing_weight: number weighing_weight: number
/** 波次号;团购批量模式返回 */ /** 波次号;团购批量模式返回 */
wave_no?: string wave_no?: string
@ -88,7 +88,7 @@ export type UpdateExpressWeighingWeightResponse = {
business_key?: string business_key?: string
/** 波次 ID;团购批量模式返回 */ /** 波次 ID;团购批量模式返回 */
wave_id?: number wave_id?: number
/** 所有拆单重量累加(kg);团购批量模式返回 */ /** 所有拆单重量累加(g);团购批量模式返回 */
total_weight?: number total_weight?: number
/** waybill_code 非空的 business_key 数量;团购批量模式返回 */ /** waybill_code 非空的 business_key 数量;团购批量模式返回 */
split_count?: number split_count?: number

View File

@ -63,7 +63,7 @@ export type ScanOrderSingleListItem = {
store_remark?: string store_remark?: string
intercept_status?: string intercept_status?: string
stock?: unknown[] stock?: unknown[]
/** 订单商品总重量(kg) */ /** 订单商品总重量(g) */
items_weight?: number | string items_weight?: number | string
/** 推荐包材信息,无推荐时为 null */ /** 推荐包材信息,无推荐时为 null */
suggested_package_material?: Record<string, unknown> | null suggested_package_material?: Record<string, unknown> | null

View File

@ -170,7 +170,7 @@ export type WaveGroupOrderFetchListItem = Record<string, unknown> & {
group?: string group?: string
group_count?: number group_count?: number
items_total?: number items_total?: number
/** 总重量 kg,取组内首单 items_weight */ /** 总重量 g,取组内首单 items_weight */
items_weight?: number | string items_weight?: number | string
store_id?: number store_id?: number
store_ids?: number[] store_ids?: number[]