获取个人购买的服务费套餐列表
<p><strong>简要描述:</strong> </p>
<ul>
<li>获取个人购买的服务费套餐列</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://192.168.0.56:8080/WisdomCampus/app/serviceGoods/getServiceGoodsListByUserId.do</code></li>
<li><code>http://login.richx.cn/app/serviceGoods/getServiceGoodsListByUserId.do</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST </li>
</ul>
<p><strong>参数:</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">apiKey</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>apiKey</td>
</tr>
<tr>
<td style="text-align: left;">schoolId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>schoolId</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code> {
"ResponseCode": 0,
"ResponseResult": "获取成功!",
"ResponseObject": [
{
"id": 25, //套餐id 下订单时传的goodsId
"name": "2019功能套餐2", //套餐名称
"startTime": "2019-01-09", //购买开始时间
"endTime": "2019-02-23", //购买结束时间
"type": 1,
"status": 0,
"isByuCard": 1, //是否需要购卡 0不需要 1卡押金 2卡费
"cardPrice": 10, //卡费
"discountCardPrice": 5, //卡费的折扣价
"otherPrice": 10, //其他费用
"otherRemark": "住宿费", //其他费用说明
"createTime": "2019-01-09 15:25:31.0",
"createUserId": 1,
"isDiscountPrice": 1,//0无折扣 1有折扣
"wrapList": [ //套餐包括的功能
{
"id": 28,
"goodsId": 25,
"name": "校园卡包",
"remarkName": "校园卡包", //功能包名称
"type": 2,
"createTime": "2019-01-09 15:25:32.0",
"createUserId": 1,
"menuList": [ //功能列表
{
"goodsId": 25,
"menuId": "abnormal",
"wrapId": 28,
"type": 2,
"menuName": "异常信息" //功能名称
},
{
"goodsId": 25,
"menuId": "consumeManage",
"wrapId": 28,
"type": 2,
"menuName": "校园消费管理"
}
]
},
{
"id": 29,
"goodsId": 25,
"name": "短信包",
"remarkName": "短信包",
"type": 3,
"createTime": "2019-01-09 15:25:32.0",
"createUserId": 1,
"menuList": [
{
"goodsId": 25,
"menuId": "abnormal",
"wrapId": 29,
"type": 3,
"menuName": "异常信息"
},
{
"goodsId": 25,
"menuId": "inout",
"wrapId": 29,
"type": 3,
"menuName": "进出记录"
}]
}
],
"feeList": [ //可以购买的套餐
{
"id": 19,
"goodsId": 25,
"name": "服务费", //套餐名称
"type": 5,
"status": 0,
"remark": "", //套餐说明
"detailList": [ //
{
"id": 23, //下订单时 要传的detailId
"feeId": 19,
"type": 5,
"price": 20, //价格
"discountPrice": 10, //折扣价
"status": 0,
"startTime": "2019-01-09", //套餐使用开始时间
"isDiscountPrice": 1,//0无折扣 1有折扣
"endTime": "2019-01-31" //套餐使用结束时间
}]
},
{
"id": 22,
"goodsId": 26,
"name": "试用",
"type": 4,
"status": 0,
"remark": "试用套餐",
"detailList": [
{
"id": 29,
"feeId": 22,
"type": 4,
"number": 1,
"price": 1,
"status": 0
},
{
"id": 30,
"feeId": 22,
"type": 4, //类型:2按年消费 3按月消费 4按日消费5自定义
"number": 10, //数量
"price": 10, //价格
"discountPrice": 5, //价格
"isDiscountPrice": 1,//0无折扣 1有折扣
"status": 0
}
]
}
],
"clazzList": [],
"clazzName": "四年二班", //班级名称
"realName": "陈元勋", //学生姓名
"userId": 39348, //学生id
"buyOtherPrice": 1, //是否交过其他费用 0交过 1未交
"buyCardPrice": 0, //是否购买过卡 0已购买 1未购买
"userList": [],
"paymentFee": []
},
{
"id": 16,
"name": "2018校园服务费",
"startTime": "2019-01-08",
"endTime": "2019-02-28",
"type": 1,
"status": 0,
"isByuCard": 0,
"otherRemark": "",
"createTime": "2019-01-08 15:59:20.0",
"createUserId": 1,
"updateTime": "2019-01-10 20:04:10.0",
"updateUserId": 1,
"wrapList": [
{
"id": 6,
"goodsId": 16,
"name": "校园卡包",
"remarkName": "校园卡包",
"type": 2,
"createTime": "2019-01-08 15:59:20.0",
"createUserId": 1,
"menuList": [
{
"goodsId": 16,
"menuId": "abnormal",
"wrapId": 6,
"type": 2,
"menuName": "异常信息"
},
{
"goodsId": 16,
"menuId": "consumeManage",
"wrapId": 6,
"type": 2,
"menuName": "校园消费管理"
}]
}
],
"feeList": [
{
"id": 6,
"goodsId": 16,
"name": "2018学期",
"type": 5,
"status": 0,
"remark": "",
"detailList": [
{
"id": 35,
"feeId": 6,
"type": 5,
"price": 20,
"status": 0,
"startTime": "2019-01-08",
"endTime": "2019-01-17",
"isDiscountPrice": 0,//0无折扣 1有折扣
"buyType": 0,//0未购买 1已购买 2过期
}
]
}
],
"clazzList": [],
"userList": [],
"paymentFee": []
}
]
}</code></pre>
<p><strong>返回参数说明</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">groupid</td>
<td style="text-align: left;">int</td>
<td>用户组id,1:超级管理员;2:普通用户</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>
<p>欢迎使用ShowDoc!</p>