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
~~~