公共说明:
接口采用restfull风格即post(增),delete(删),put(改),get(查)
delete,put提交时需要修改头部自定义Content-Type=application/json;
接口除必要说明,account,password放在header里面
1.发送验证码
~~~[api]
post:http://test.qingdabao.com/api/send_code
account=18790901856#账号(手机号或者邮箱)
<<<
success
success
<<<
error
error
~~~
2.文件上传
~~~[api]
post:http://test.qingdabao.com/api/file_up
file#文件上传字段
<<<
success
http://faka-info.oss-cn-beijing.aliyuncs.com/logo1585643443.png
<<<
error
error
~~~
3.生成二维码
~~~[api]
get:http://test.qingdabao.com/api/qr_code
url#二维码识别后的链接
<<<
success
http://faka-info.oss-cn-beijing.aliyuncs.com/logo1585643443.png
<<<
error
error
~~~
4.生成短链接
~~~[api]
get:http://test.qingdabao.com/api/urlShort
url#短链接对应的url(示例:http://yunkuaika.com/#/buy/)
shop_id#店铺id
short_link#店铺短码
<<<
success
asasd5
<<<
error
error
~~~
5.卡密数据导出
~~~[api]
get:http://test.qingdabao.com/api/phpexcel
goods_id#商品id
type#type:1导出已卖出,2导出未卖出,3导出全部
<<<
success
<<<
error
~~~