1.城市列表
~~~[api]
post:https://admin.nineopen.com/api/city
<<<
success
{
"status": 0,
"message": "ok",
"data": [
{
"area_id": 1,
"city": "漯河",
"province": "河南",
"latitude": "113.9202000",
"longitude": "33.5452800"
},
{
"area_id": 2,
"city": "周口",
"province": "河南",
"latitude": "114.6504800",
"longitude": "33.6473800"
},
{
"area_id": 3,
"city": "驻马店",
"province": "河南",
"latitude": "113.9938200",
"longitude": "32.9731900"
}
]
}
<<<
error
~~~
2.菜单列表
~~~[api]
post:https://admin.nineopen.com/api/cate_list
<<<
success
{
"status": 0,
"message": "ok",
"data": [
{
"cate_id": 1,
"cate_name": "母婴",
"pid": 0,
"icons": "https://ychd.nineopen.com/static/icons/icons-01.jpg",
"orders": 0,
"weight": 13.7,
"create_time": "2018-12-25 15:16:30"
},
{
"cate_id": 2,
"cate_name": "美妆",
"pid": 0,
"icons": "https://ychd.nineopen.com/static/icons/icons-02.jpg",
"orders": 0,
"weight": 18.6,
"create_time": "2018-12-25 03:10:16"
},
<<<
error
~~~
3.平台价格计算系数
~~~[api]
get:https://admin.nineopen.com/api/tuan_price_calculation
area_id#城市id
<<<
success
{
"status": 0,
"message": "ok",
"data": {
"area_id": 1,
"shop": 10,
"colonel": 10,
"sys": 3,
"express1": 4,
"express2": 3,
"create_time": "2019-03-12 00:00:00",
"update_time": "2019-03-15 00:00:00",
"admin_user": 1
}
}
<<<
error
~~~
4.发送验证码
~~~[api]
post:https://admin.nineopen.com/api/send_code
phone#手机号
<<<
success
{
"status": 0,
"message": "success",
"data": []
}
<<<
error
~~~
4-1.发送验证码(不判断手机号是否存在)
~~~[api]
post:https://admin.nineopen.com/api/sends_code
phone#手机号
<<<
success
{
"status": 0,
"message": "success",
"data": []
}
<<<
error
~~~
4-2.【壹城好店】您好,您的开店申请已完成审核,请登录壹城好店微商城查看详情
~~~[api]
post:https://admin.nineopen.com/api/send_message1
phone#
<<<
success
<<<
error
~~~
4-3.【壹城好店】您好,您购买的商品已发货,请注意查收,祝您购物愉快!
~~~[api]
post:https://admin.nineopen.com/api/send_message2
phone#
<<<
success
<<<
error
~~~
4-4.【壹城好店】您好,您的身份认证信息已完成审核,请登录壹城好店微商城查看详情。
~~~[api]
post:https://admin.nineopen.com/api/send_message3
phone#
<<<
success
<<<
error
~~~
4-3.【壹城好店】您好,您的认证已完成审核,请登录壹城好店微商城查看详情。
~~~[api]
post:https://admin.nineopen.com/api/send_message4
phone#
<<<
success
<<<
error
~~~
4-3.【壹城好店】您好,您有新的待发货的订单,请登录壹城好店微商城及时处理。
~~~[api]
post:https://admin.nineopen.com/api/send_message5
phone#
<<<
success
<<<
error
~~~
5.验证验证码
~~~[api]
post:https://admin.nineopen.com/api/check_code
code#验证码
<<<
success
{
"status": 0,
"message": "验证码正确",
"data": []
}
<<<
error
success
{
"status": -1,
"message": "验证码已过期"/“验证码错误”,
"data": []
}
~~~
5.上传md5确认图片是否重复
~~~[api]
post:https://store.nineopen.com/md5_repeat
md5#md5标签
<<<
success
{
"status": 0,
"message": "repeat",
"data": "https://store.nineopen.com/upload/20190318/0c85373879dbdfec4a73daef2f9a8c30.jpg"
}
<<<
error
{
"status": -1,
"message": "no_repeat",
"data": "sasasasas"(md5)
}
~~~
6.单张图片上传
~~~[api]
post:https://store.nineopen.com/picture
image#图片上传字段
md5#md5标签
web#项目缩写,此处写死:tuan
<<<
success
{
"status": 0,
"message": "repeat",
"data": "https://store.nineopen.com/upload/20190318/0c85373879dbdfec4a73daef2f9a8c30.jpg"
}
<<<
error
{
"status": 0,
"message": "错误代码",
"data": []
}
~~~
7.通过微信图片上传
~~~[api]
post:https://store.nineopen.com/picture_wx
media_id#图片media_id
web#项目缩写,此处写死:tuan
<<<
success
{
"status": 0,
"message": "repeat/no_repeat",
"data": "https://store.nineopen.com/upload/20190318/0c85373879dbdfec4a73daef2f9a8c30.jpg"
}
<<<
error
~~~
8.地图接口
~~~[api]
post:https://admin.nineopen.com/api/map
location#经纬度
<<<
success
{
"status": 0,
"message": "query ok",
"request_id": "9ecf9e08-4fa6-11e9-9189-6c92bfb83c2b",
"result": {
"location": {
"lat": 39.984154,
"lng": 116.30749
},
"address": "北京市海淀区北四环西路66号",
"formatted_addresses": {
"recommend": "海淀区中关村中国技术交易大厦",
"rough": "海淀区中关村中国技术交易大厦"
},
"address_component": {
"nation": "中国",
"province": "北京市",
"city": "北京市",
"district": "海淀区",
"street": "北四环西路",
"street_number": "北四环西路66号"
},
<<<
error
~~~
9.地图5.8公里范围判断
~~~[api]
get:https://admin.nineopen.com/api/map_sure
latitude#纬度
longitude#经度
area_id#城市id
<<<
success
success
<<<
error
error
~~~
9-1地图10公里范围判断
~~~[api]
get:https://admin.nineopen.com/api/map_sure_10
latitude#纬度
longitude#经度
area_id#城市id
<<<
success
<<<
error
~~~
10.新手上路
~~~[api]
get:https://admin.nineopen.com/api/question_index_list
<<<
success
{
"status": 0,
"message": "ok",
"data": [
{
"question_id": 6,
"question_cate": "商品管理",
"list": [
{
"question": "测试商品",
"answer": "测试商品"
}
]
},
{
"question_id": 2,
"question_cate": "入驻开店",
"list": [
{
"question": "测试333",
"answer": "测试444"
}
]
},
{
"question_id": 1,
"question_cate": "最新动态",
"list": [
{
"question": "测试12111",
"answer": "1131331"
},
{
"question": "ceshi",
"answer": "ceshi"
}
]
}
]
}
<<<
error
~~~
11.新手上路
~~~[api]
get:https://admin.nineopen.com/api/question_list
page#
type#question_type值
<<<
success
{
"status": 0,
"message": "ok",
"data": [
{
"question_id": 8,
"question": "ceshi",
"answer": "ceshi",
"question_cate": "最新动态",
"question_type": 1,
"create_time": "2019-06-14 11:50:38"
},
{
"question_id": 9,
"question": "测试12111",
"answer": "1131331",
"question_cate": "最新动态",
"question_type": 1,
"create_time": "2019-06-20 09:40:29"
}
]
}
<<<
error
~~~