🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
#### 列表 ~~~[api] get:/admin/member/index/index string:search#搜索关键词 number:p=1#当前页数 number:ps=20#分页大小 <<< success { "code": 1, "msg": "", "time": "2018-07-12 17:05:49", "data": [ { "id": 10, "username": "memberaQxU7lbeVi", "mobile": "15377777114", "avatar": "http://thirdwx.qlogo.cn/mmopen/vi_32/zBn06Cic64ZaHEzTibg0fADCcMBQiciaBoDNdWLhEJBsaRkHmYib5vkxv7YpnQ1joiauQ90XZO4O25Fntdz73bjcN1JA/132", "nickname": "小行居士", "sex": 1, "wechat_openid": "oGi6C0hvDqUOMaFJ-5rjO_AW90ho", "status": 1, "created_at": "2018-06-14 22:06:52", "updated_at": "2018-06-14 22:06:52", "wallet": 100, "integral": 100, "status_text": "正常" } ], "_meta": { "totalCount": 1, "pageCount": 1, "currentPage": 1, "perPage": 20 } } ~~~ #### 详情 ~~~[api] get:/admin/member/index/retrieve/id/:id <<< success { "code": 1, "msg": "", "time": "2018-07-12 17:12:29", "data": { "id": 1, "username": "xihrni", "mobile": "18666868868", "avatar": "http://oss.dgyouduo.com/static/img/no-image.png", "nickname": "xihrni", "sex": 1, "wechat_openid": null, "status": 1, "created_at": "2018-06-08 09:04:22", "updated_at": "2018-06-08 09:17:20", "wallet": 100, "integral": 100, "status_text": "正常" } } ~~~ #### 更新 ~~~[api] post:/admin/member/index/update/id/:id string:username#用户名 string:password#密码 string:mobile#手机号码 string:avatar#头像 string:nickname#昵称 number:sex#性别 number:status=1#状态,0=>禁用,1=>启用 <<< success { "code": 1, "msg": "success", "time": "2018-01-11 16:48:09", "data": [] } ~~~ #### 删除 ~~~[api] post:/admin/member/index/delete/id/:id <<< success { "code": 1, "msg": "success", "time": "2018-01-10 18:05:44", "data": [] } ~~~ #### 积分日志 ~~~[api] get:/admin/member/index/integralLog/id/:id <<< success { "code": 1, "msg": "", "time": "2018-09-10 21:59:41", "data": [ { "id": 1, "member_id": 1, "integral_id": 1, "operator_id": 1, "recharge_sn": "", "operate": 1, "money": "10.00", "before": "0.00", "after": "0.00", "remark": "购物兑换,商品名称:积分商品1,数量:1", "status": 1, "created_at": "2016-01-01 00:00:00", "updated_at": "2016-01-01 00:00:00", "status_text": "正常" } ], "_meta": { "totalCount": 1, "pageCount": 1, "currentPage": 1, "perPage": 10 } } ~~~