Merge remote-tracking branch 'origin/feature/对接新供应链-唯品尚'

This commit is contained in:
yuguojian 2025-06-20 15:53:30 +08:00
commit 3676395e9f
2 changed files with 4 additions and 4 deletions

View File

@ -33,7 +33,7 @@ func (w *WeiPinShangClient) GetManyPostage(getManyPostageReq *GetManyPostageReq)
fmt.Println("getManyPostageReq", getManyPostageReq) fmt.Println("getManyPostageReq", getManyPostageReq)
paramMap := make(map[string]any) paramMap := make(map[string]any)
paramMap["goodInfo"] = getManyPostageReq.GoodsInfo paramMap["goodsInfo"] = getManyPostageReq.GoodsInfo
paramMap["address"] = getManyPostageReq.Address paramMap["address"] = getManyPostageReq.Address
paramMap["province"] = getManyPostageReq.Province paramMap["province"] = getManyPostageReq.Province
paramMap["county"] = getManyPostageReq.County paramMap["county"] = getManyPostageReq.County

View File

@ -29,7 +29,7 @@ func TestWeiPinShangClient_GetManyPostage(t *testing.T) {
Key: "f654ea5bde7635c3f46191191e5c4c8e", Key: "f654ea5bde7635c3f46191191e5c4c8e",
}, },
args: GetManyPostageReq{ args: GetManyPostageReq{
GoodsInfo: "[{\"goodsId\":\"WPS592_00019\",\"goodSpecId\":\"WPS592_1105165115160944\",\"num\":1},{\"goodsId\":\"WPS505_00007\",\"goodSpecId\":\"WPS505_1007111249857536\",\"num\":1}]", GoodsInfo: "[{\"goodsId\":\"WPS427_adf0008\",\"goodSpecId\":\"WPS427_0715110641454716\",\"num\":1}]",
Province: "广东省", Province: "广东省",
Address: "奥园", Address: "奥园",
City: "广州市", City: "广州市",
@ -80,14 +80,14 @@ func TestWeiPinShangClient_PreOrder(t *testing.T) {
Key: "f654ea5bde7635c3f46191191e5c4c8e", Key: "f654ea5bde7635c3f46191191e5c4c8e",
}, },
args: PreOrderReq{ args: PreOrderReq{
GoodsInfo: "[{\"goodsId\":\"WPS2_1231155626421463\",\"goodSpecId\":\"WPS2_12311556265677476\",\"num\":1}]", GoodsInfo: "[{\"goodsId\":\"WPS427_adf0008\",\"goodSpecId\":\"WPS427_0715110641454716\",\"num\":1}]",
Province: "广东省", Province: "广东省",
Address: "奥园", Address: "奥园",
City: "广州市", City: "广州市",
Area: "番禺区", Area: "番禺区",
ConsigneePhone: "15375390426", ConsigneePhone: "15375390426",
ConsigneeContacts: "张三", ConsigneeContacts: "张三",
LockCode: "L100000004", LockCode: "L100000005",
Source: "AILEHUI", Source: "AILEHUI",
}, },
}, },