publicapiym v1.2.0
公用接口,仅用测试不可商用
appid: wx83bfb455a7d1d84d
1. 微信支付接口:
https://fc-mp-c3490805-9d7b-4acf-985b-19f987e0fd97.next.bspapp.com/uni-bawei-ceshi-palay
POST
参数openId 、 price
2. 微信登录接口:
https://fc-mp-c3490805-9d7b-4acf-985b-19f987e0fd97.next.bspapp.com/uni-bawei-ceshi-wx-auth
POST
参数:code (通过wx.login获取)
3. 商品列表接口:
https://fc-mp-c3490805-9d7b-4acf-985b-19f987e0fd97.next.bspapp.com//get_goods_list_bawei
POST
参数:pageId
4. 商品详情接口:
https://fc-mp-c3490805-9d7b-4acf-985b-19f987e0fd97.next.bspapp.com/get_goods_detail_bw
请求类型:POST
请求参数: goodId:xxx (商品列表中的goodId)
5. 获取收货地址列表
https://fc-mp-c3490805-9d7b-4acf-985b-19f987e0fd97.next.bspapp.com/get_address 请求类型: 'POST', 请求参数:userId (参数是微信用户的openid,不能随便填,微信登录后获取用户的openid)
6. 收货地址编辑接口
"https://fc-mp-c3490805-9d7b-4acf-985b-19f987e0fd97.next.bspapp.com/edit_address"
请求类型: "POST"
请求参数: 1、【addressData】地址数据
address: "地址信息" (必填)
is_default: 是否默认地址,类型布尔值 (必填)
mobile: 用户手机号 (必填)
name: 收货人姓名(必填)
user_id: 用户id,取值的是微信用户的openid,在进入订单页应该微信登录,拿到openid存本地(必填)
_id: 收货地址的 唯一凭证,*新建地址*时可不用传值
2【type】是接口的用途 (必填)
type是 'add' 为新增地址列表
type是'edit' 是编辑地址
type是'delete' 为删除地址
7. chat聊天对话 接口
https://fc-mp-c3490805-9d7b-4acf-985b-19f987e0fd97.next.bspapp.com/send-chat
请求类型:post
参数 msg(内容)
8. 在元函数中替换聊天接口
腾讯云机器人 对话接口 http://chat.dslcv.com/sendMessaage 请求类型 GET 参数 msg (对话内容)
9. 地图腾讯key
'CN7BZ-L3W3X-7YY4D-ZEHK7-SG3SQ-I5B6Z' ; //使用在腾讯位置服务申请的key
网络图片& 视频
视频:
https://mp-c3490805-9d7b-4acf-985b-19f987e0fd97.cdn.bspapp.com/cloudstorage/bd859a21-a903-42e6-bd24-2997d909d640.mp4
图片:
https://img1.baidu.com/it/u=1342130754,306943470&fm=253&fmt=auto&app=138&f=JPEG?w=889&h=500
https://img0.baidu.com/it/u=3295534422,3155222370&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=334
https://img1.baidu.com/it/u=2064254833,770634332&fm=253&fmt=auto&app=138&f=JPEG?w=800&h=500
https://img1.baidu.com/it/u=1144874046,3925078084&fm=253&fmt=auto&app=120&f=JPEG?w=500&h=375
https://img2.baidu.com/it/u=3849720705,1881524056&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=334
https://img0.baidu.com/it/u=1649151030,2162866999&fm=253&fmt=auto&app=138&f=JPEG?w=889&h=500
https://img1.baidu.com/it/u=1993417918,2447354163&fm=253&fmt=auto&app=120&f=JPEG?w=641&h=394
轮播:
banner:['https://www.bwie.net/statics/PCindex/images/index_banner1.jpg','https://www.bwie.net/statics/PCindex/images/index_banner2.jpg','https://www.bwie.net/statics/PCindex/images/index_banner3.jpg']