1.提现列表
~~~[api]
get:https://admin.nineopen.com/admin/bill_out_list
page#页码
state#0待提现1已提现
<<<
success
<<<
error
~~~
2.转账
~~~[api]
put:https://admin.nineopen.com/admin/bill_out_update
bill_id#账单id
state_id审核者id
<<<
success
<<<
error
~~~
3.提现详情
~~~[api]
get:https://admin.nineopen.com/admin/bill_out_show
bill_id#账单id
<<<
success
<<<
error
~~~
4.excel导出
~~~[api]
post:https://admin.nineopen.com/admin/excel
date#选择日起(可选),形式:2019-05-11 24:00:00
<<<
success
<<<
error
~~~
-----------------------------------------------------------------------------------
1.商品列表--全部
~~~[api]
get:https://admin.nineopen.com/admin/goods_all_list
page#页码
<<<
success
<<<
error
~~~
2.商品列表--状态
~~~[api]
get:https://admin.nineopen.com/admin/goods_list
type#0=>待审核,1=>审核通过,2=>审核未通过
page#
<<<
success
<<<
error
~~~
2.商品审核
~~~[api]
put:https://admin.nineopen.com/admin/goods_audit
type#1=>审核通过,2=>审核不通过
state_id#审核者id
goods_id#商品id
fail_reason#不通过原因(可选/type=2)
<<<
success
<<<
error
~~~
3.商品详情
~~~[api]
get:https://admin.nineopen.com/admin/goods_find
goods_id#商品id
<<<
success
<<<
error
~~~
4.商品删除
~~~[api]
delete:https://admin.nineopen.com/admin/goods_del
goods_id#商品id
<<<
success
<<<
error
~~~
---------------------------------------------------------------------------------
1.拼团订单
~~~[api]
get:https://admin.nineopen.com/admin/group_list
type#1=>拼团中,2=>拼团成功,3=>拼团完成,4=>拼团失败
page#页码
<<<
success
<<<
error
~~~
2.拼团详情
~~~[api]
get:https://admin.nineopen.com/admin/group_show
group_id#拼团id
<<<
success
<<<
error
~~~
-------------------------------------------------------------------------
1.全部商品订单
~~~[api]
get:https://admin.nineopen.com/admin/orders_all_list
page#
<<<
success
<<<
error
~~~
2.商品订单列表
~~~[api]
get:https://admin.nineopen.com/admin/orders_list
type#1=>拼团中,2=>拼团成功,3=>拼团完成,4=>拼团失败,=>退货
page#
<<<
success
<<<
error
~~~
3.商品订单列表
~~~[api]
get:https://admin.nineopen.com/admin/orders_user_list
type#1=>待发货,2=>配送中,3=>已完成,4=>退货
page#
<<<
success
<<<
error
~~~
4.商品订单详情
~~~[api]
get:https://admin.nineopen.com/admin/orders_show
order_id#
<<<
success
<<<
error
~~~
-------------------------------------------------------------------------
1.一级镖师全部物流订单
~~~[api]
get:https://admin.nineopen.com/admin/send1_all_list
page#
<<<
success
<<<
error
~~~
2.一级镖师物流订单
~~~[api]
get:https://admin.nineopen.com/admin/send1_list
send1_state#0镖师请求一级配送,1一级镖师接单,2一级镖师完成取货,3二级镖师已取货
page#
<<<
success
<<<
error
~~~
3.一级物流订单详情
~~~[api]
get:https://admin.nineopen.com/admin/send1_show
send1_id#
<<<
success
<<<
error
~~~
4.二级全部物流订单
~~~[api]
get:https://admin.nineopen.com/admin/send2_all_list
page#
<<<
success
<<<
error
~~~
5.二级物流订单
~~~[api]
get:https://admin.nineopen.com/admin/send2_list
send2_state#-1待发货,0商家发货,1二级镖师接单,2镖师完成取货,3镖师完成送货,4外包
page#
<<<
success
<<<
error
~~~
6.二级物流订单详情
~~~[api]
get:https://admin.nineopen.com/admin/send2_show
send2_id#
<<<
success
<<<
error
~~~
--------------------------------------------------------------------------
1.用户列表
~~~[api]
get:https://admin.nineopen.com/admin/user_list
type#0=>普通户用,1=>掌柜,2=>团长,3=>一级配送,4=>二级配送
page#页码
state#0待审核1审核通过2审核未通过(普通用户时0未审核1待审核2审核通过3审核未通过)
<<<
success
<<<
error
~~~
2.用户详情
~~~[api]
get:https://admin.nineopen.com/admin/user_type_find
type#0=>普通用户,1=>掌柜,2=>团长,3一级镖师,4二级镖师
unionid#unionid
<<<
success
<<<
error
~~~
3.用户审核
~~~[api]
put:https://admin.nineopen.com/admin/user_audit
type#1=>审核通过,2=>审核不通过
unionid#用户unionid
state_id#审核者id
<<<
success
<<<
error
~~~
3.-1-1营业审核列表
~~~[api]
get:https://admin.nineopen.com/admin/permit_list
is_permit#-1=>未上传,0=>待审核,1=>审核通过,2=>审核失败
page#
<<<
success
<<<
error
~~~
3-1-2.营业执照审核
~~~[api]
put:https://admin.nineopen.com/admin/permit_audit
type#1审核通过2审核失败
unionid#用户unionid
state_id#审核者id
<<<
success
<<<
error
~~~
3-1用户审核(掌柜,团长,镖师)
~~~[api]
put:https://admin.nineopen.com/admin/user_type_audit
type#1=>掌柜,2=>团长,3一级镖师,4二级镖师
unionid#用户unionid
state_id#审核者id
state#0=>待审核1=>审核通过,2=>审核不通过
<<<
success
<<<
error
~~~
4.普通用户全部列表
~~~[api]
get:https://admin.nineopen.com/admin/home_user_all_list
page#
<<<
success
<<<
error
~~~
5.普通用户审核状态列表
~~~[api]
get:https://admin.nineopen.com/admin/home_user_list
state#0=>未审核,1=>待审核,2=>审核通过,3=>审核未通过
page#
<<<
success
<<<
error
~~~
-----------------------------------------------------------------------------------
1.后台登入
~~~[api]
post:https://admin.nineopen.com/admin/admin_login
name#用户名
password#密码
<<<
success
<<<
error
~~~
2.后台管理员添加
~~~[api]
post:https://admin.nineopen.com/admin/admin_user_add
name#用户名
password#密码
email#邮箱
phone#手机号
role#角色
<<<
success
<<<
error
~~~
3.管理员信息修改
~~~[api]
put:https://admin.nineopen.com/admin/admin_user_edit
id#管理员id
array#要修改的信息
<<<
success
<<<
error
~~~
4.管理员删除
~~~[api]
delete:https://admin.nineopen.com/admin/admin_user_del
id#管理员id
<<<
success
<<<
error
~~~
5.管理员列表
~~~[api]
get:https://admin.nineopen.com/admin/admin_user_list
page#页码
<<<
success
<<<
error
~~~
------------------------------------------------------------------------------------------------------------------------------
1.栏目列表
~~~[api]
get:https://admin.nineopen.com/admin/cate_list
page#页码
<<<
success
<<<
error
~~~
2.栏目添加
~~~[api]
post:https://admin.nineopen.com/admin/cate_add
cate_name#栏目名称
icons#图标
orders#排序
<<<
success
<<<
error
~~~
3.栏目修改
~~~[api]
put:https://admin.nineopen.com/admin/cate_edit
cate_id#栏目id
array#(cate_name,icons,orders,pid)查询条件
<<<
success
<<<
error
~~~
4.栏目查询
~~~[api]
get:https://admin.nineopen.com/admin/cate_find
cate_id#栏目id
<<<
success
<<<
error
~~~
5.栏目删除
~~~[api]
delete:https://admin.nineopen.com/admin/cate_del
cate_id#栏目id
<<<
success
<<<
error
~~~
------------------------------------------------------------------------------------------------
1.图片添加
~~~[api]
post:https://admin.nineopen.com/admin/picture_create
type#1=>轮播图
img_url#图片地址
<<<
success
<<<
error
~~~
2.图片修改
~~~[api]
put:https://admin.nineopen.com/admin/picture_update
img_id#图片id
type#
img_url#
orders#
<<<
success
<<<
error
~~~
3.图片查看
~~~[api]
get:https://admin.nineopen.com/admin/picture_find
img_id#
<<<
success
<<<
error
~~~
4.图片删除
~~~[api]
delete:https://admin.nineopen.com/admin/picture_del
img_id#
<<<
success
<<<
error
~~~
5.图片列表
~~~[api]
get:https://admin.nineopen.com/admin/picture_list
page#
<<<
success
<<<
error
~~~
城市------------------------------------------------------------------
1.城市添加
~~~[api]
post:https://admin.nineopen.com/admin/city_create
city#市
province#省
latitude#
longitude#
<<<
success
<<<
error
~~~
2.城市修改
~~~[api]
put:https://admin.nineopen.com/admin/city_update
area_id#城市id
city#市
province#省
latitude#
longitude#
<<<
success
<<<
error
~~~
3.城市查看
~~~[api]
get:https://admin.nineopen.com/admin/city_find
area_id#
<<<
success
<<<
error
~~~
4.城市删除
~~~[api]
delete:https://admin.nineopen.com/admin/city_del
area_id#
<<<
success
<<<
error
~~~
5.城市列表
~~~[api]
get:https://admin.nineopen.com/admin/city_list
page#页码
<<<
success
<<<
error
~~~
问答---------------------------------------------------------------------
1.问答创建
注释:question_type为0表示没有所属分类,即没有上一级
~~~[api]
post:https://admin.nineopen.com/admin/question_create
question#问题
answer#答案
question_cate#问题分类
question_type#问题分类type值
<<<
success
<<<
error
~~~
2.问答更改
~~~[api]
put:https://admin.nineopen.com/admin/question_update
question_id#id
question#问题
answer#答案
question_cate#问题分类
question_type#问题分类type值
<<<
success
<<<
error
~~~
3.问答查看
~~~[api]
get:https://admin.nineopen.com/admin/question_find
question_id#id
<<<
success
<<<
error
~~~
4.问答删除
~~~[api]
delete:https://admin.nineopen.com/admin/question_del
question_id#id
<<<
success
<<<
error
~~~
5.问答列表
~~~[api]
get:https://admin.nineopen.com/admin/question_list
question_type#问题分类type值
<<<
success
<<<
error
~~~
原因---------------------------------------------------------------
1.不通过原因创建
注释reason_type为0表示没有所属分类,即没有上一级
注释:reason_type==0时只传reason_cate一个字段
~~~[api]
post:https://admin.nineopen.com/admin/reason_create
reason#具体原因
reason_cate#原因类别名称
reason_type#原因类别值
<<<
success
<<<
error
~~~
2.不通过原因更改
注释:reason_type==0时只传reason_cate一个字段
~~~[api]
put:https://admin.nineopen.com/admin/reason_update
reason#具体原因
reason_cate#原因类别名称
reason_type#原因类别值
<<<
success
<<<
error
~~~
3.不通过原因查看
~~~[api]
get:https://admin.nineopen.com/admin/reason_find
reason_id#id
<<<
success
<<<
error
~~~
4.不通过原因删除
~~~[api]
delete:https://admin.nineopen.com/admin/reason_del
reason_id#id
<<<
success
<<<
error
~~~
5.不通过原因列表
~~~[api]
get:https://admin.nineopen.com/admin/reason_list
reason_type#原因分类type值
page#
<<<
success
<<<
error
~~~
统计---------------------------------------------------------------------
1.首行5条统计
~~~[api]
get:https://admin.nineopen.com/admin/count
<<<
success
<<<
error
~~~
2.用户饼状图
~~~[api]
get:https://admin.nineopen.com/admin/user_pie
<<<
success
<<<
error
~~~
3.商品上架分类饼状图
~~~[api]
get:https://admin.nineopen.com/admin/cate_pie
<<<
success
<<<
error
~~~
4.角色新增统计柱状图
~~~[api]
get:https://admin.nineopen.com/admin/user_bar
<<<
success
<<<
error
~~~
5.首页折线图
~~~[api]
get:https://admin.nineopen.com/admin/line
<<<
success
<<<
error
~~~
6.统计--销量柱状图
~~~[api]
get:https://admin.nineopen.com/admin/sell_bar
<<<
success
<<<
error
~~~
7.统计--销量折线图
~~~[api]
get:https://admin.nineopen.com/admin/sell_line
<<<
success
<<<
error
~~~