文档
测试

创建结算

POST
http://daduhui.mangotechdemo.com.au/webapi/Order/CreateSettlement

说明 / 示例

创建结算[{ "BusinessUserId": 7, "OrderUserId": 21, "ProductIds": [5, 19] }, { "BusinessUserId": 8, "OrderUserId": 21, "ProductIds": [26] }] 转成 json字符串 {value:"值"} 响应参数 { "model": { "TotalPrice": 2790, //支付总金额不包含邮费 "Freight": 20, //运费 "cartResponses": [ { "BusinessUserId": 7,商家id "BusinessName": "Robin测试1", ,商家姓名 "GroupId": 11, 圈子id "GroupName": "家电", 圈子名称 "UserId": 21, 下单用户id "TotalPrice": 990,该单总金额 "FreightType": 0,1,商品运费类型 0包邮 1 不包邮 2 自提 "Freight": 0,运费价格 "PickAddressId": 2,自提地址id "PickAddressDetail": "北京市朝阳区,ROYAL EXCHANGE,NSW,1226", 自提地址 "CartInfos": [ { "BusinessUserId": 7,商家id "BusinessName": "Robin测试1",商家姓名 "ProductId": 5,商品id "ProductName": "知乎会员",商品名称 "OriginalPrice": 100,商品原始价格 "WebPrice": 90,商品现价 "CoverFileName": "20200617114001950.jpg", "ProductAmount": 11,商品下单量 "Tags": "虚拟",商品标签 "FreightType": 0,,1商品运费类型 0包邮 1 不包邮 2 自提 "Freight": 0,运费价格 "FreightTypeName": "包邮",运费类型名称 "PicCoverUrl": "http://localhost:9977/api/media/image/3/20200617114001950.jpg"图片封面 } ] }, { "BusinessUserId": 7, "BusinessName": "Robin测试1", "GroupId": 4, "GroupName": "男明星", "UserId": 21, "TotalPrice": 360, "FreightType": 0, "Freight": 10, "PickAddressId": 2, "PickAddressDetail": "北京市朝阳区,ROYAL EXCHANGE,NSW,1226", "CartInfos": [ { "BusinessUserId": 7, "BusinessName": "Robin测试1", "ProductId": 19, "ProductName": "磨牙棒", "OriginalPrice": 100, "WebPrice": 90, "CoverFileName": "20200617105743430.jpg", "ProductAmount": 4, "Tags": "母婴", "FreightType": 1, "Freight": 10, "FreightTypeName": "不包邮", "PicCoverUrl": "http://localhost:9977/api/media/image/3/20200617105743430.jpg" } ] }, { "BusinessUserId": 8, "BusinessName": "Tim", "GroupId": 16, "GroupName": "比亚迪", "UserId": 21, "TotalPrice": 1440, "FreightType": 0, "Freight": 10, "PickAddressId": 2, "PickAddressDetail": "北京市朝阳区,ROYAL EXCHANGE,NSW,1226", "CartInfos": [ { "BusinessUserId": 8, "BusinessName": "Tim", "ProductId": 26, "ProductName": "汽车贴膜比亚迪专用", "OriginalPrice": 100, "WebPrice": 90, "CoverFileName": "20200617105757035.jpg", "ProductAmount": 16, "Tags": "汽车", "FreightType": 1, "Freight": 10, "FreightTypeName": "不包邮", "PicCoverUrl": "http://localhost:9977/api/media/image/3/20200617105757035.jpg" } ] } ] }, "code": 0, "msg": "成功" }