运费逻辑

This commit is contained in:
2026-06-09 14:55:00 +08:00
parent ada64a68ad
commit bc0f7161c0
4 changed files with 236 additions and 34 deletions
+2
View File
@@ -132,6 +132,8 @@ class OrderItem(BaseModel):
goods_id: str = Field(min_length=1, max_length=40)
goods_number: int = Field(ge=1, le=9999)
goods_price: int = Field(ge=0)
# 店铺标识: 空串 = 官方店铺;非空 = 加盟店标识(同名视为同一家加盟店)
supplier: str = ""
class OrderShippingFeeRequest(BaseModel):