企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
**1.第一步确认下单:** 在拍品那里 如果是我获得了拍品就有一个确认下单按钮,生成订单 接口:http://auction.onewi.com.cn/ebapi/Auction/commitForAuction.html 请求参数: | 参数 | 必要 | 注释| | --- | --- | --- | | token | 是 | | | auction_id| 是 | 拍品id号 | | openid| 是 | 微信唯一标识符 | 返回参数: | 参数 | 必要 | 二级参数|注释| | --- | --- | --- |--- | | codee| 是 | 200成功| 200成功| | msg| 是 | ok| 200成功| | order_info| 是 | 订单json集合 | | | 是 | auction_id|拍品id| | | 是 | order_id|订单id| | | 是 | uid|用户id| | | 是 | total_price|总价格| | | 是 | pay_price|实际支付价格| | | 是 | pay_postage |快递运费| | | 是 | sale_uid|用购买uid账号| | product_info| 是 | 商品信息json集合 | | | 是 | auction_id|拍品id| | | 是 | product_name|拍品名称| | | 是 | resources|拍品名称| 备注:以上字段都是需要用到得,无用得我就没有说明。另外拍卖品只有一件无数量修改 地址:地址列表得接口去https://d7ac.w.eolinker.com/#/share/index?shareCode=QYriCS查看我的-》地址管理 ![](https://img.kancloud.cn/ce/e1/cee1ca483487dc5e35f3b1168ad3e1d8_1374x480.png) 成功 ~~~ { "code": 200, "msg": "ok", "data": { "order_info": { "auction_id": "1", "order_id": "m1doC1UzFyHyHk6z", "add_time": 1583644827, "uid": "138", "pay_postage": 0, "buy_commission": 0, "sale_commission": 1.74, "total_price": 0.29, "pay_price": 0.29, "sale_uid": "18307442432" }, "product_info": { "id": 1, "product_name": "第一条", "cate_id": 1, "status": 1, "session_id": 1, "resources": "http://auction.onewi.com.cn/public/uploads/attach/2020/01/19/5e2431894faca.jpg", "slider_image": [ "http://auction.onewi.com.cn/public/uploads/attach/2020/01/19/5e2431894faca.jpg" ], "start_time": 1578931200, "end_time": 1583510400, "start_price": "0.01", "reserve_price": "200.00", "cap_price": "300.00", "refer_price": "400.00", "product_deposit": "0.01", "add_price": "0.01", "product_postage": "0.00", "sales_uid": "18307442432", "sale_commission": "6.00", "buy_commission": "0.00", "product_clicks": 3, "product_desc": "四合院儿 抽纸家庭纸巾实惠装母婴卫生纸原浆不掉屑母婴升级款", "add_time": 1576808421, "update_time": "2019-12-20 10:20:21", "is_recomment": 1, "sort": 100, "detail_image": "[\"http:\\/\\/auction.onewi.com.cn\\/public\\/uploads\\/attach\\/2020\\/01\\/19\\/5e2431894faca.jpg\",\"http:\\/\\/auction.onewi.com.cn\\/public\\/uploads\\/attach\\/2020\\/01\\/19\\/5e2433ce3add0.jpg\"]", "order_num": 9, "end_money": "0.29", "end_uid": 138 }, "price": { "buy_commission": 0, "end_price": "0.29", "product_postage": "0.00" } }, "count": 3 } ~~~ *2 .第二步去支付** http://auction.onewi.com.cn/ebapi/Auction/payForAuction.html 请求参数: | 参数 | 必要 | 注释| | --- | --- | --- | | token | 是 | | | order_id| 是 | 订单号 | | address_id| 是 | 地址id号 | | openid| 是 | 微信唯一标识符 | 返回参数: | 参数 | 必要 | 注释| | --- | --- | --- | | return\_code| 是 | SUCCESS 订单生成成功| | appid| 是 | appid | | mch\_id| 是 | 商品编号 | | nonce\_str| 是 | 字符 | | sign| 是 | 标签| | end_time| 是 | 结束时间 |