💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
[TOC] ## 更改会员等级时,检查可送会员电子券信息 ~~~[api] post:/memberlevel/checkinfo *int:id=默认值1#会员等级id *int:member_id=1#会员ID <<< success <<< error ~~~ ## 会员等级信息 ~~~[api] post:/memberlevel/info *int:id=默认值1#会员等级id <<< success { "code": 0, "info": "成功", "data":{ "id": 1, "name": "会员等级", "url": "www.baidu.com", "remark": "test", "powerList":[ {"id": 6, "name": "权益7", "num": 6, "term_validity": "2018-11-11",…}, {"id": 5, "name": "权益6", "num": 6, "term_validity": "2018-11-11",…}, {"id": 4, "name": "权益4", "num": 6, "term_validity": "2018-11-11",…}, {"id": 3, "name": "权益3", "num": 6, "term_validity": "2018-11-11",…}, {"id": 2, "name": "权益2", "num": 6, "term_validity": "2018-11-11",…} ] } } <<< error ~~~ ## 会员等级列表 ~~~[api] post:/memberlevel/getlist *int:page=1#页码 *int:limit=10#每页显示个数 <<< success { "code": 0, "info": "成功", "data":[ { "id": 2, "name": "会员等级2", "url": "", "remark": "", "powerList":[ { "id": 1, "name": "权益1修改", "num": 4, "term_validity": "2018-10-19", "day_validity": 4, "mlevel_id": 2, "create_date": "2018-10-26 00:00:00" } ] }, { "id": 1, "name": "会员等级", "url": "www.baidu.com", "remark": "test", "powerList":[{"id": 6, "name": "权益7", "num": 6, "term_validity": "2018-11-11",…] } ] } <<< error ~~~ ## 添加会员等级 ~~~[api] post:/memberlevel/add *string:name=test#会员等级 string:url= #图片地址 *string:remark= #特权说明 <<< success { "code": 0, "info": "成功", "data":{ "name": "会员等级1", "id": "1" } } <<< error ~~~ ## 编辑会员等级 ~~~[api] post:/memberlevel/edit *int:id=1000#会员等级Id *string:name=test#会员等级 string:url= #图片地址 *string:remark= #特权说明 <<< success { "code": 0, "info": "成功", "data":{ "name": "会员等级1", "id": "1" } } <<< error ~~~ ## 删除会员等级 ~~~[api] post:/memberlevel/del *int:id=1000#会员等级Id <<< success { "code": 0, "info": "成功", "data":true } <<< error ~~~