作者 jinglong
1 个管道 的构建 通过 耗费 1 秒

修改申请退款接口

... ... @@ -256,7 +256,7 @@ class Orders extends Api
* @ApiTitle (取消订单)
* @ApiSummary (取消订单)
* @ApiMethod (GET)
* @ApiRoute (/api/order/cancelOrder)
* @ApiRoute (/api/orders/cancelOrder)
* @ApiHeaders (name=token, type=string, required=true, description="请求的Token")
*
* @ApiParams (name="order_id", type="inter", required=true, description="订单id")
... ... @@ -296,10 +296,11 @@ class Orders extends Api
* @ApiTitle (申请退款)
* @ApiSummary (申请退款)
* @ApiMethod (GET)
* @ApiRoute (/api/order/applyRefund)
* @ApiRoute (/api/orders/applyRefund)
* @ApiHeaders (name=token, type=string, required=true, description="请求的Token")
*
* @ApiParams (name="order_id", type="inter", required=true, description="订单id")
* @ApiParams (name="refund_reason", type="string", required=true, description="退款原因")
*
* @ApiReturn({
"code": 1,
... ... @@ -311,51 +312,80 @@ class Orders extends Api
public function applyRefund(){
if($this->request->isGet()){
$order_id = $this->request->get('order_id');
$refund_reason = $this->request->get('refund_reason');
$rule = config('verify.order_detail');
$rule = config('verify.apply_refund');
$validate = new Validate($rule['rule'],$rule['msg']);
if (!$validate->check(['order_id'=>$order_id])) {
if (!$validate->check(['order_id'=>$order_id,'refund_reason'=>$refund_reason])) {
$this->error($validate->getError());
}
//查询订单
$status = $this->order_status;
$order = Common::findSoftWhereData('order',['id'=>$order_id,'uid'=>$this->uid,'status'=>$status[2]],'id');
$where = ['id'=>$order_id,'uid'=>$this->uid,'status'=>$status[2]];
$order = Common::findSoftWhereData('order',$where,'id');
if($order){
$security_price = $order['security_price'];
$order['security_price'] = $security_price*100;
if($security_price < 1){
//暂时全额退款
$order['refund_price'] = $security_price*100;
$orderModel = new Order();
$res = $orderModel->where($where)->update(['status'=>$status[3],'return_refund_flag'=>1,'refund_reason'=>$refund_reason]);
if($res){
$this->error('申请成功');
}else{
//计算免费取消时间
$cancel_time = $order['start_time'] + $order['know4']*3600 - $order['know1']*3600;
$current_time = time();
if($current_time <= $cancel_time){
//正常
$order['refund_price'] = $security_price*100;
}else{
//扣除扣取百分比
$order['refund_price'] = $security_price*100*(1-$order['know2']/100);
}
$this->error('申请失败');
}
}
$this->error('未找到订单');
//查询订单
$result = $this->refund($order);
if($result['return_code'] === 'SUCCESS' && $result['result_code'] === 'SUCCESS'){
$orderModel = new \app\admin\model\Order();
//退款保证金成功,更新订单表
$res = $orderModel->where(['id'=>$order_id,'uid'=>$this->uid,'status'=>1])->update(['status'=>4,'return_status'=>1]);
if($res){
//删除订单记录表
$bookModel = new BookRecord();
$bookModel->where(['order_id'=>$order_id])->delete();
$this->success('成功');
}else{
$this->error('失败');
}
}else{
$this->error('请求方式错误');
}
}
/**
* @ApiTitle (申请退换货)
* @ApiSummary (申请退换货)
* @ApiMethod (GET)
* @ApiRoute (/api/orders/applyReturnGoods)
* @ApiHeaders (name=token, type=string, required=true, description="请求的Token")
*
* @ApiParams (name="order_id", type="inter", required=true, description="订单id")
* @ApiParams (name="return_flag", type="inter", required=true, description="退换货标识(0:退货,1:换货)")
* @ApiParams (name="return_reason", type="string", required=true, description="退换货原因")
*
* @ApiReturn({
"code": 1,
"msg": "成功",
"time": "1571730709",
"data": null
})
*/
public function applyReturnGoods(){
if($this->request->isGet()){
$order_id = $this->request->get('order_id');
$return_flag = $this->request->get('return_flag');
$return_reason = $this->request->get('return_reason');
$rule = config('verify.apply_return');
$validate = new Validate($rule['rule'],$rule['msg']);
if (!$validate->check(['order_id'=>$order_id,'return_flag'=>$return_flag,'return_reason'=>$return_reason])) {
$this->error($validate->getError());
}
//查询订单
$status = $this->order_status;
$where = ['id'=>$order_id,'uid'=>$this->uid,'status'=>$status[2]];
$order = Common::findSoftWhereData('order',$where,'id');
if($order){
$orderModel = new Order();
if($return_flag == 0){
$returnFlag = 2;
}else{
$returnFlag = 3;
}
$res = $orderModel->where($where)->update(['status'=>$status[3],'return_refund_flag'=>$returnFlag,'return_reason'=>$return_reason]);
if($res){
$this->error('申请成功');
}else{
$this->error($result['return_msg']);
$this->error('申请失败');
}
}
$this->error('未找到订单');
... ...
... ... @@ -273,4 +273,31 @@ return [
'order_id.number' => '订单id必须为数字',
]
],
//申请退款
'apply_refund' => [
'rule' => [
'order_id' => 'require|number',
'refund_reason' => 'require',
],
'msg' => [
'order_id.require' => '订单id不能为空',
'order_id.number' => '订单id必须为数字',
'refund_reason.require' => '退款原因不能为空',
]
],
//申请退换货
'apply_return' => [
'rule' => [
'order_id' => 'require|number',
'return_flag' => 'require|number',
'return_reason' => 'require',
],
'msg' => [
'order_id.require' => '订单id不能为空',
'order_id.number' => '订单id必须为数字',
'return_flag.require' => '退换货标识不能为空',
'return_flag.number' => '退换货标识必须为数字',
'return_reason.require' => '退货/换货原因不能为空',
]
],
];
\ No newline at end of file
... ...
... ... @@ -188,29 +188,30 @@
<a href="javascript:;" data-id="23" class="list-group-item">订单详情</a>
<a href="javascript:;" data-id="24" class="list-group-item">取消订单</a>
<a href="javascript:;" data-id="25" class="list-group-item">申请退款</a>
<a href="javascript:;" data-id="26" class="list-group-item">申请退换货</a>
</div>
<a href="#支付接口" class="list-group-item" data-toggle="collapse" data-parent="#sidebar">支付接口 <i class="fa fa-caret-down"></i></a>
<div class="child collapse" id="支付接口">
<a href="javascript:;" data-id="26" class="list-group-item">支付订单</a>
<a href="javascript:;" data-id="27" class="list-group-item">立即购买</a>
<a href="javascript:;" data-id="27" class="list-group-item">支付订单</a>
<a href="javascript:;" data-id="28" class="list-group-item">立即购买</a>
</div>
<a href="#商品检索接口" class="list-group-item" data-toggle="collapse" data-parent="#sidebar">商品检索接口 <i class="fa fa-caret-down"></i></a>
<div class="child collapse" id="商品检索接口">
<a href="javascript:;" data-id="28" class="list-group-item">商品检索列表</a>
<a href="javascript:;" data-id="29" class="list-group-item">商品检索列表</a>
</div>
<a href="#品类接口" class="list-group-item" data-toggle="collapse" data-parent="#sidebar">品类接口 <i class="fa fa-caret-down"></i></a>
<div class="child collapse" id="品类接口">
<a href="javascript:;" data-id="29" class="list-group-item">品类分类</a>
<a href="javascript:;" data-id="30" class="list-group-item">品类分类</a>
</div>
<a href="#个人中心接口" class="list-group-item" data-toggle="collapse" data-parent="#sidebar">个人中心接口 <i class="fa fa-caret-down"></i></a>
<div class="child collapse" id="个人中心接口">
<a href="javascript:;" data-id="30" class="list-group-item">小程序登录</a>
<a href="javascript:;" data-id="31" class="list-group-item">获取个人信息(新人/旧人)</a>
<a href="javascript:;" data-id="32" class="list-group-item">获取二维码</a>
<a href="javascript:;" data-id="33" class="list-group-item">收藏</a>
<a href="javascript:;" data-id="34" class="list-group-item">取消收藏</a>
<a href="javascript:;" data-id="35" class="list-group-item">我的收藏</a>
<a href="javascript:;" data-id="36" class="list-group-item">我的优惠券</a>
<a href="javascript:;" data-id="31" class="list-group-item">小程序登录</a>
<a href="javascript:;" data-id="32" class="list-group-item">获取个人信息(新人/旧人)</a>
<a href="javascript:;" data-id="33" class="list-group-item">获取二维码</a>
<a href="javascript:;" data-id="34" class="list-group-item">收藏</a>
<a href="javascript:;" data-id="35" class="list-group-item">取消收藏</a>
<a href="javascript:;" data-id="36" class="list-group-item">我的收藏</a>
<a href="javascript:;" data-id="37" class="list-group-item">我的优惠券</a>
</div>
</div>
</div>
... ... @@ -3816,7 +3817,7 @@
<div class="panel-heading" id="heading-24">
<h4 class="panel-title">
<span class="label label-success">GET</span>
<a data-toggle="collapse" data-parent="#accordion24" href="#collapseOne24"> 取消订单 <span class="text-muted">/api/order/cancelOrder</span></a>
<a data-toggle="collapse" data-parent="#accordion24" href="#collapseOne24"> 取消订单 <span class="text-muted">/api/orders/cancelOrder</span></a>
</h4>
</div>
<div id="collapseOne24" class="panel-collapse collapse">
... ... @@ -3905,7 +3906,7 @@
<div class="panel panel-default">
<div class="panel-heading"><strong>参数</strong></div>
<div class="panel-body">
<form enctype="application/x-www-form-urlencoded" role="form" action="/api/order/cancelOrder" method="GET" name="form24" id="form24">
<form enctype="application/x-www-form-urlencoded" role="form" action="/api/orders/cancelOrder" method="GET" name="form24" id="form24">
<div class="form-group">
<label class="control-label" for="order_id">order_id</label>
<input type="inter" class="form-control input-sm" id="order_id" required placeholder="订单id" name="order_id">
... ... @@ -3959,7 +3960,7 @@
<div class="panel-heading" id="heading-25">
<h4 class="panel-title">
<span class="label label-success">GET</span>
<a data-toggle="collapse" data-parent="#accordion25" href="#collapseOne25"> 申请退款 <span class="text-muted">/api/order/applyRefund</span></a>
<a data-toggle="collapse" data-parent="#accordion25" href="#collapseOne25"> 申请退款 <span class="text-muted">/api/orders/applyRefund</span></a>
</h4>
</div>
<div id="collapseOne25" class="panel-collapse collapse">
... ... @@ -4020,6 +4021,12 @@
<td></td>
<td>订单id</td>
</tr>
<tr>
<td>refund_reason</td>
<td>string</td>
<td></td>
<td>退款原因</td>
</tr>
</tbody>
</table>
</div>
... ... @@ -4048,12 +4055,16 @@
<div class="panel panel-default">
<div class="panel-heading"><strong>参数</strong></div>
<div class="panel-body">
<form enctype="application/x-www-form-urlencoded" role="form" action="/api/order/applyRefund" method="GET" name="form25" id="form25">
<form enctype="application/x-www-form-urlencoded" role="form" action="/api/orders/applyRefund" method="GET" name="form25" id="form25">
<div class="form-group">
<label class="control-label" for="order_id">order_id</label>
<input type="inter" class="form-control input-sm" id="order_id" required placeholder="订单id" name="order_id">
</div>
<div class="form-group">
<label class="control-label" for="refund_reason">refund_reason</label>
<input type="string" class="form-control input-sm" id="refund_reason" required placeholder="退款原因" name="refund_reason">
</div>
<div class="form-group">
<button type="submit" class="btn btn-success send" rel="25">提交</button>
<button type="reset" class="btn btn-info" rel="25">重置</button>
</div>
... ... @@ -4098,13 +4109,11 @@
</div>
</div>
</div>
<h2>支付接口</h2>
<hr>
<div class="panel panel-default">
<div class="panel-heading" id="heading-26">
<h4 class="panel-title">
<span class="label label-primary">POST</span>
<a data-toggle="collapse" data-parent="#accordion26" href="#collapseOne26"> 支付订单 <span class="text-muted">/api/pay/pay</span></a>
<span class="label label-success">GET</span>
<a data-toggle="collapse" data-parent="#accordion26" href="#collapseOne26"> 申请退换货 <span class="text-muted">/api/orders/applyReturnGoods</span></a>
</h4>
</div>
<div id="collapseOne26" class="panel-collapse collapse">
... ... @@ -4122,7 +4131,7 @@
<div class="tab-pane active" id="info26">
<div class="well">
支付订单 </div>
申请退换货 </div>
<div class="panel panel-default">
<div class="panel-heading"><strong>Headers</strong></div>
<div class="panel-body">
... ... @@ -4160,16 +4169,22 @@
</thead>
<tbody>
<tr>
<td>openid</td>
<td>string</td>
<td>order_id</td>
<td>inter</td>
<td></td>
<td>小程序openid</td>
<td>订单id</td>
</tr>
<tr>
<td>order_sn</td>
<td>return_flag</td>
<td>inter</td>
<td></td>
<td>订单号</td>
<td>退换货标识(0:退货,1:换货)</td>
</tr>
<tr>
<td>return_reason</td>
<td>string</td>
<td></td>
<td>退换货原因</td>
</tr>
</tbody>
</table>
... ... @@ -4199,14 +4214,18 @@
<div class="panel panel-default">
<div class="panel-heading"><strong>参数</strong></div>
<div class="panel-body">
<form enctype="application/x-www-form-urlencoded" role="form" action="/api/pay/pay" method="POST" name="form26" id="form26">
<form enctype="application/x-www-form-urlencoded" role="form" action="/api/orders/applyReturnGoods" method="GET" name="form26" id="form26">
<div class="form-group">
<label class="control-label" for="openid">openid</label>
<input type="string" class="form-control input-sm" id="openid" required placeholder="小程序openid" name="openid">
<label class="control-label" for="order_id">order_id</label>
<input type="inter" class="form-control input-sm" id="order_id" required placeholder="订单id" name="order_id">
</div>
<div class="form-group">
<label class="control-label" for="order_sn">order_sn</label>
<input type="inter" class="form-control input-sm" id="order_sn" required placeholder="订单号" name="order_sn">
<label class="control-label" for="return_flag">return_flag</label>
<input type="inter" class="form-control input-sm" id="return_flag" required placeholder="退换货标识(0:退货,1:换货)" name="return_flag">
</div>
<div class="form-group">
<label class="control-label" for="return_reason">return_reason</label>
<input type="string" class="form-control input-sm" id="return_reason" required placeholder="退换货原因" name="return_reason">
</div>
<div class="form-group">
<button type="submit" class="btn btn-success send" rel="26">提交</button>
... ... @@ -4239,7 +4258,12 @@
<div class="tab-pane" id="sample26">
<div class="row">
<div class="col-md-12">
<pre id="sample_response26"></pre>
<pre id="sample_response26">{
"code": 1,
"msg": "成功",
"time": "1571730709",
"data": null
}</pre>
</div>
</div>
</div><!-- #sample -->
... ... @@ -4248,11 +4272,13 @@
</div>
</div>
</div>
<h2>支付接口</h2>
<hr>
<div class="panel panel-default">
<div class="panel-heading" id="heading-27">
<h4 class="panel-title">
<span class="label label-primary">POST</span>
<a data-toggle="collapse" data-parent="#accordion27" href="#collapseOne27"> 立即购买 <span class="text-muted">/api/pay/purchase</span></a>
<a data-toggle="collapse" data-parent="#accordion27" href="#collapseOne27"> 支付订单 <span class="text-muted">/api/pay/pay</span></a>
</h4>
</div>
<div id="collapseOne27" class="panel-collapse collapse">
... ... @@ -4270,6 +4296,154 @@
<div class="tab-pane active" id="info27">
<div class="well">
支付订单 </div>
<div class="panel panel-default">
<div class="panel-heading"><strong>Headers</strong></div>
<div class="panel-body">
<table class="table table-hover">
<thead>
<tr>
<th>名称</th>
<th>类型</th>
<th>必选</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>token</td>
<td>string</td>
<td></td>
<td>请求的Token</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading"><strong>参数</strong></div>
<div class="panel-body">
<table class="table table-hover">
<thead>
<tr>
<th>名称</th>
<th>类型</th>
<th>必选</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>openid</td>
<td>string</td>
<td></td>
<td>小程序openid</td>
</tr>
<tr>
<td>order_sn</td>
<td>inter</td>
<td></td>
<td>订单号</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading"><strong>正文</strong></div>
<div class="panel-body">
</div>
</div>
</div><!-- #info -->
<div class="tab-pane" id="sandbox27">
<div class="row">
<div class="col-md-12">
<div class="panel panel-default">
<div class="panel-heading"><strong>Headers</strong></div>
<div class="panel-body">
<div class="headers">
<div class="form-group">
<label class="control-label" for="token">token</label>
<input type="string" class="form-control input-sm" id="token" required placeholder="请求的Token - Ex: " name="token">
</div>
</div>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading"><strong>参数</strong></div>
<div class="panel-body">
<form enctype="application/x-www-form-urlencoded" role="form" action="/api/pay/pay" method="POST" name="form27" id="form27">
<div class="form-group">
<label class="control-label" for="openid">openid</label>
<input type="string" class="form-control input-sm" id="openid" required placeholder="小程序openid" name="openid">
</div>
<div class="form-group">
<label class="control-label" for="order_sn">order_sn</label>
<input type="inter" class="form-control input-sm" id="order_sn" required placeholder="订单号" name="order_sn">
</div>
<div class="form-group">
<button type="submit" class="btn btn-success send" rel="27">提交</button>
<button type="reset" class="btn btn-info" rel="27">重置</button>
</div>
</form>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading"><strong>响应输出</strong></div>
<div class="panel-body">
<div class="row">
<div class="col-md-12" style="overflow-x:auto">
<pre id="response_headers27"></pre>
<pre id="response27"></pre>
</div>
</div>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading"><strong>返回参数</strong></div>
<div class="panel-body">
</div>
</div>
</div>
</div>
</div><!-- #sandbox -->
<div class="tab-pane" id="sample27">
<div class="row">
<div class="col-md-12">
<pre id="sample_response27"></pre>
</div>
</div>
</div><!-- #sample -->
</div><!-- .tab-content -->
</div>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading" id="heading-28">
<h4 class="panel-title">
<span class="label label-primary">POST</span>
<a data-toggle="collapse" data-parent="#accordion28" href="#collapseOne28"> 立即购买 <span class="text-muted">/api/pay/purchase</span></a>
</h4>
</div>
<div id="collapseOne28" class="panel-collapse collapse">
<div class="panel-body">
<!-- Nav tabs -->
<ul class="nav nav-tabs" id="doctab28">
<li class="active"><a href="#info28" data-toggle="tab">基础信息</a></li>
<li><a href="#sandbox28" data-toggle="tab">在线测试</a></li>
<li><a href="#sample28" data-toggle="tab">返回示例</a></li>
</ul>
<!-- Tab panes -->
<div class="tab-content">
<div class="tab-pane active" id="info28">
<div class="well">
立即购买 </div>
<div class="panel panel-default">
<div class="panel-heading"><strong>Headers</strong></div>
... ... @@ -4396,7 +4570,7 @@
</div>
</div><!-- #info -->
<div class="tab-pane" id="sandbox27">
<div class="tab-pane" id="sandbox28">
<div class="row">
<div class="col-md-12">
<div class="panel panel-default">
... ... @@ -4413,7 +4587,7 @@
<div class="panel panel-default">
<div class="panel-heading"><strong>参数</strong></div>
<div class="panel-body">
<form enctype="application/x-www-form-urlencoded" role="form" action="/api/pay/purchase" method="POST" name="form27" id="form27">
<form enctype="application/x-www-form-urlencoded" role="form" action="/api/pay/purchase" method="POST" name="form28" id="form28">
<div class="form-group">
<label class="control-label" for="receive_name">receive_name</label>
<input type="string" class="form-control input-sm" id="receive_name" required placeholder="收货人" name="receive_name">
... ... @@ -4467,8 +4641,8 @@
<input type="inter" class="form-control input-sm" id="total_expense_price" required placeholder="运费总金额" name="total_expense_price">
</div>
<div class="form-group">
<button type="submit" class="btn btn-success send" rel="27">提交</button>
<button type="reset" class="btn btn-info" rel="27">重置</button>
<button type="submit" class="btn btn-success send" rel="28">提交</button>
<button type="reset" class="btn btn-info" rel="28">重置</button>
</div>
</form>
</div>
... ... @@ -4478,8 +4652,8 @@
<div class="panel-body">
<div class="row">
<div class="col-md-12" style="overflow-x:auto">
<pre id="response_headers27"></pre>
<pre id="response27"></pre>
<pre id="response_headers28"></pre>
<pre id="response28"></pre>
</div>
</div>
</div>
... ... @@ -4494,10 +4668,10 @@
</div>
</div><!-- #sandbox -->
<div class="tab-pane" id="sample27">
<div class="tab-pane" id="sample28">
<div class="row">
<div class="col-md-12">
<pre id="sample_response27"></pre>
<pre id="sample_response28"></pre>
</div>
</div>
</div><!-- #sample -->
... ... @@ -4509,26 +4683,26 @@
<h2>商品检索接口</h2>
<hr>
<div class="panel panel-default">
<div class="panel-heading" id="heading-28">
<div class="panel-heading" id="heading-29">
<h4 class="panel-title">
<span class="label label-success">GET</span>
<a data-toggle="collapse" data-parent="#accordion28" href="#collapseOne28"> 商品检索列表 <span class="text-muted">/api/search/searchGoodsList</span></a>
<a data-toggle="collapse" data-parent="#accordion29" href="#collapseOne29"> 商品检索列表 <span class="text-muted">/api/search/searchGoodsList</span></a>
</h4>
</div>
<div id="collapseOne28" class="panel-collapse collapse">
<div id="collapseOne29" class="panel-collapse collapse">
<div class="panel-body">
<!-- Nav tabs -->
<ul class="nav nav-tabs" id="doctab28">
<li class="active"><a href="#info28" data-toggle="tab">基础信息</a></li>
<li><a href="#sandbox28" data-toggle="tab">在线测试</a></li>
<li><a href="#sample28" data-toggle="tab">返回示例</a></li>
<ul class="nav nav-tabs" id="doctab29">
<li class="active"><a href="#info29" data-toggle="tab">基础信息</a></li>
<li><a href="#sandbox29" data-toggle="tab">在线测试</a></li>
<li><a href="#sample29" data-toggle="tab">返回示例</a></li>
</ul>
<!-- Tab panes -->
<div class="tab-content">
<div class="tab-pane active" id="info28">
<div class="tab-pane active" id="info29">
<div class="well">
商品检索列表 </div>
<div class="panel panel-default">
... ... @@ -4590,7 +4764,7 @@
</div>
</div><!-- #info -->
<div class="tab-pane" id="sandbox28">
<div class="tab-pane" id="sandbox29">
<div class="row">
<div class="col-md-12">
<div class="panel panel-default">
... ... @@ -4607,7 +4781,7 @@
<div class="panel panel-default">
<div class="panel-heading"><strong>参数</strong></div>
<div class="panel-body">
<form enctype="application/x-www-form-urlencoded" role="form" action="/api/search/searchGoodsList" method="GET" name="form28" id="form28">
<form enctype="application/x-www-form-urlencoded" role="form" action="/api/search/searchGoodsList" method="GET" name="form29" id="form29">
<div class="form-group">
<label class="control-label" for="keyword">keyword</label>
<input type="string" class="form-control input-sm" id="keyword" required placeholder="检索关键字" name="keyword">
... ... @@ -4617,8 +4791,8 @@
<input type="inter" class="form-control input-sm" id="page" required placeholder="分页页码" name="page">
</div>
<div class="form-group">
<button type="submit" class="btn btn-success send" rel="28">提交</button>
<button type="reset" class="btn btn-info" rel="28">重置</button>
<button type="submit" class="btn btn-success send" rel="29">提交</button>
<button type="reset" class="btn btn-info" rel="29">重置</button>
</div>
</form>
</div>
... ... @@ -4628,8 +4802,8 @@
<div class="panel-body">
<div class="row">
<div class="col-md-12" style="overflow-x:auto">
<pre id="response_headers28"></pre>
<pre id="response28"></pre>
<pre id="response_headers29"></pre>
<pre id="response29"></pre>
</div>
</div>
</div>
... ... @@ -4644,10 +4818,10 @@
</div>
</div><!-- #sandbox -->
<div class="tab-pane" id="sample28">
<div class="tab-pane" id="sample29">
<div class="row">
<div class="col-md-12">
<pre id="sample_response28">{
<pre id="sample_response29">{
"code": 1,
"msg": "成功",
"time": "1574941706",
... ... @@ -4697,26 +4871,26 @@
<h2>品类接口</h2>
<hr>
<div class="panel panel-default">
<div class="panel-heading" id="heading-29">
<div class="panel-heading" id="heading-30">
<h4 class="panel-title">
<span class="label label-success">GET</span>
<a data-toggle="collapse" data-parent="#accordion29" href="#collapseOne29"> 品类分类 <span class="text-muted">/api/sort/sortType</span></a>
<a data-toggle="collapse" data-parent="#accordion30" href="#collapseOne30"> 品类分类 <span class="text-muted">/api/sort/sortType</span></a>
</h4>
</div>
<div id="collapseOne29" class="panel-collapse collapse">
<div id="collapseOne30" class="panel-collapse collapse">
<div class="panel-body">
<!-- Nav tabs -->
<ul class="nav nav-tabs" id="doctab29">
<li class="active"><a href="#info29" data-toggle="tab">基础信息</a></li>
<li><a href="#sandbox29" data-toggle="tab">在线测试</a></li>
<li><a href="#sample29" data-toggle="tab">返回示例</a></li>
<ul class="nav nav-tabs" id="doctab30">
<li class="active"><a href="#info30" data-toggle="tab">基础信息</a></li>
<li><a href="#sandbox30" data-toggle="tab">在线测试</a></li>
<li><a href="#sample30" data-toggle="tab">返回示例</a></li>
</ul>
<!-- Tab panes -->
<div class="tab-content">
<div class="tab-pane active" id="info29">
<div class="tab-pane active" id="info30">
<div class="well">
品类分类 </div>
<div class="panel panel-default">
... ... @@ -4738,19 +4912,19 @@
</div>
</div><!-- #info -->
<div class="tab-pane" id="sandbox29">
<div class="tab-pane" id="sandbox30">
<div class="row">
<div class="col-md-12">
<div class="panel panel-default">
<div class="panel-heading"><strong>参数</strong></div>
<div class="panel-body">
<form enctype="application/x-www-form-urlencoded" role="form" action="/api/sort/sortType" method="GET" name="form29" id="form29">
<form enctype="application/x-www-form-urlencoded" role="form" action="/api/sort/sortType" method="GET" name="form30" id="form30">
<div class="form-group">
</div>
<div class="form-group">
<button type="submit" class="btn btn-success send" rel="29">提交</button>
<button type="reset" class="btn btn-info" rel="29">重置</button>
<button type="submit" class="btn btn-success send" rel="30">提交</button>
<button type="reset" class="btn btn-info" rel="30">重置</button>
</div>
</form>
</div>
... ... @@ -4760,8 +4934,8 @@
<div class="panel-body">
<div class="row">
<div class="col-md-12" style="overflow-x:auto">
<pre id="response_headers29"></pre>
<pre id="response29"></pre>
<pre id="response_headers30"></pre>
<pre id="response30"></pre>
</div>
</div>
</div>
... ... @@ -4776,10 +4950,10 @@
</div>
</div><!-- #sandbox -->
<div class="tab-pane" id="sample29">
<div class="tab-pane" id="sample30">
<div class="row">
<div class="col-md-12">
<pre id="sample_response29">{
<pre id="sample_response30">{
"code": 1,
"msg": "成功",
"time": "1574939035",
... ... @@ -4815,26 +4989,26 @@
<h2>个人中心接口</h2>
<hr>
<div class="panel panel-default">
<div class="panel-heading" id="heading-30">
<div class="panel-heading" id="heading-31">
<h4 class="panel-title">
<span class="label label-primary">POST</span>
<a data-toggle="collapse" data-parent="#accordion30" href="#collapseOne30"> 小程序登录 <span class="text-muted">/api/user/login</span></a>
<a data-toggle="collapse" data-parent="#accordion31" href="#collapseOne31"> 小程序登录 <span class="text-muted">/api/user/login</span></a>
</h4>
</div>
<div id="collapseOne30" class="panel-collapse collapse">
<div id="collapseOne31" class="panel-collapse collapse">
<div class="panel-body">
<!-- Nav tabs -->
<ul class="nav nav-tabs" id="doctab30">
<li class="active"><a href="#info30" data-toggle="tab">基础信息</a></li>
<li><a href="#sandbox30" data-toggle="tab">在线测试</a></li>
<li><a href="#sample30" data-toggle="tab">返回示例</a></li>
<ul class="nav nav-tabs" id="doctab31">
<li class="active"><a href="#info31" data-toggle="tab">基础信息</a></li>
<li><a href="#sandbox31" data-toggle="tab">在线测试</a></li>
<li><a href="#sample31" data-toggle="tab">返回示例</a></li>
</ul>
<!-- Tab panes -->
<div class="tab-content">
<div class="tab-pane active" id="info30">
<div class="tab-pane active" id="info31">
<div class="well">
小程序登录 </div>
<div class="panel panel-default">
... ... @@ -4885,13 +5059,13 @@
</div>
</div><!-- #info -->
<div class="tab-pane" id="sandbox30">
<div class="tab-pane" id="sandbox31">
<div class="row">
<div class="col-md-12">
<div class="panel panel-default">
<div class="panel-heading"><strong>参数</strong></div>
<div class="panel-body">
<form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/login" method="POST" name="form30" id="form30">
<form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/login" method="POST" name="form31" id="form31">
<div class="form-group">
<label class="control-label" for="code">code</label>
<input type="string" class="form-control input-sm" id="code" required placeholder="小程序code" name="code">
... ... @@ -4905,8 +5079,8 @@
<input type="string" class="form-control input-sm" id="avatar" required placeholder="小程序头像" name="avatar">
</div>
<div class="form-group">
<button type="submit" class="btn btn-success send" rel="30">提交</button>
<button type="reset" class="btn btn-info" rel="30">重置</button>
<button type="submit" class="btn btn-success send" rel="31">提交</button>
<button type="reset" class="btn btn-info" rel="31">重置</button>
</div>
</form>
</div>
... ... @@ -4916,8 +5090,8 @@
<div class="panel-body">
<div class="row">
<div class="col-md-12" style="overflow-x:auto">
<pre id="response_headers30"></pre>
<pre id="response30"></pre>
<pre id="response_headers31"></pre>
<pre id="response31"></pre>
</div>
</div>
</div>
... ... @@ -4932,10 +5106,10 @@
</div>
</div><!-- #sandbox -->
<div class="tab-pane" id="sample30">
<div class="tab-pane" id="sample31">
<div class="row">
<div class="col-md-12">
<pre id="sample_response30">{
<pre id="sample_response31">{
"code": 1,
"msg": "登录成功",
"time": "1553839125",
... ... @@ -4956,26 +5130,26 @@
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading" id="heading-31">
<div class="panel-heading" id="heading-32">
<h4 class="panel-title">
<span class="label label-success">GET</span>
<a data-toggle="collapse" data-parent="#accordion31" href="#collapseOne31"> 获取个人信息(新人/旧人) <span class="text-muted">/api/user/info</span></a>
<a data-toggle="collapse" data-parent="#accordion32" href="#collapseOne32"> 获取个人信息(新人/旧人) <span class="text-muted">/api/user/info</span></a>
</h4>
</div>
<div id="collapseOne31" class="panel-collapse collapse">
<div id="collapseOne32" class="panel-collapse collapse">
<div class="panel-body">
<!-- Nav tabs -->
<ul class="nav nav-tabs" id="doctab31">
<li class="active"><a href="#info31" data-toggle="tab">基础信息</a></li>
<li><a href="#sandbox31" data-toggle="tab">在线测试</a></li>
<li><a href="#sample31" data-toggle="tab">返回示例</a></li>
<ul class="nav nav-tabs" id="doctab32">
<li class="active"><a href="#info32" data-toggle="tab">基础信息</a></li>
<li><a href="#sandbox32" data-toggle="tab">在线测试</a></li>
<li><a href="#sample32" data-toggle="tab">返回示例</a></li>
</ul>
<!-- Tab panes -->
<div class="tab-content">
<div class="tab-pane active" id="info31">
<div class="tab-pane active" id="info32">
<div class="well">
获取个人信息(新人/旧人) </div>
<div class="panel panel-default">
... ... @@ -5014,7 +5188,7 @@
</div>
</div><!-- #info -->
<div class="tab-pane" id="sandbox31">
<div class="tab-pane" id="sandbox32">
<div class="row">
<div class="col-md-12">
<div class="panel panel-default">
... ... @@ -5031,13 +5205,13 @@
<div class="panel panel-default">
<div class="panel-heading"><strong>参数</strong></div>
<div class="panel-body">
<form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/info" method="GET" name="form31" id="form31">
<form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/info" method="GET" name="form32" id="form32">
<div class="form-group">
</div>
<div class="form-group">
<button type="submit" class="btn btn-success send" rel="31">提交</button>
<button type="reset" class="btn btn-info" rel="31">重置</button>
<button type="submit" class="btn btn-success send" rel="32">提交</button>
<button type="reset" class="btn btn-info" rel="32">重置</button>
</div>
</form>
</div>
... ... @@ -5047,8 +5221,8 @@
<div class="panel-body">
<div class="row">
<div class="col-md-12" style="overflow-x:auto">
<pre id="response_headers31"></pre>
<pre id="response31"></pre>
<pre id="response_headers32"></pre>
<pre id="response32"></pre>
</div>
</div>
</div>
... ... @@ -5063,10 +5237,10 @@
</div>
</div><!-- #sandbox -->
<div class="tab-pane" id="sample31">
<div class="tab-pane" id="sample32">
<div class="row">
<div class="col-md-12">
<pre id="sample_response31">{
<pre id="sample_response32">{
"code": 1,
"msg": "成功",
"time": "1575188985",
... ... @@ -5093,26 +5267,26 @@
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading" id="heading-32">
<div class="panel-heading" id="heading-33">
<h4 class="panel-title">
<span class="label label-success">GET</span>
<a data-toggle="collapse" data-parent="#accordion32" href="#collapseOne32"> 获取二维码 <span class="text-muted">/api/user/getWxCode</span></a>
<a data-toggle="collapse" data-parent="#accordion33" href="#collapseOne33"> 获取二维码 <span class="text-muted">/api/user/getWxCode</span></a>
</h4>
</div>
<div id="collapseOne32" class="panel-collapse collapse">
<div id="collapseOne33" class="panel-collapse collapse">
<div class="panel-body">
<!-- Nav tabs -->
<ul class="nav nav-tabs" id="doctab32">
<li class="active"><a href="#info32" data-toggle="tab">基础信息</a></li>
<li><a href="#sandbox32" data-toggle="tab">在线测试</a></li>
<li><a href="#sample32" data-toggle="tab">返回示例</a></li>
<ul class="nav nav-tabs" id="doctab33">
<li class="active"><a href="#info33" data-toggle="tab">基础信息</a></li>
<li><a href="#sandbox33" data-toggle="tab">在线测试</a></li>
<li><a href="#sample33" data-toggle="tab">返回示例</a></li>
</ul>
<!-- Tab panes -->
<div class="tab-content">
<div class="tab-pane active" id="info32">
<div class="tab-pane active" id="info33">
<div class="well">
获取二维码 </div>
<div class="panel panel-default">
... ... @@ -5168,7 +5342,7 @@
</div>
</div><!-- #info -->
<div class="tab-pane" id="sandbox32">
<div class="tab-pane" id="sandbox33">
<div class="row">
<div class="col-md-12">
<div class="panel panel-default">
... ... @@ -5185,14 +5359,14 @@
<div class="panel panel-default">
<div class="panel-heading"><strong>参数</strong></div>
<div class="panel-body">
<form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/getWxCode" method="GET" name="form32" id="form32">
<form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/getWxCode" method="GET" name="form33" id="form33">
<div class="form-group">
<label class="control-label" for="goods_id">goods_id</label>
<input type="inter" class="form-control input-sm" id="goods_id" required placeholder="商品id" name="goods_id">
</div>
<div class="form-group">
<button type="submit" class="btn btn-success send" rel="32">提交</button>
<button type="reset" class="btn btn-info" rel="32">重置</button>
<button type="submit" class="btn btn-success send" rel="33">提交</button>
<button type="reset" class="btn btn-info" rel="33">重置</button>
</div>
</form>
</div>
... ... @@ -5202,8 +5376,8 @@
<div class="panel-body">
<div class="row">
<div class="col-md-12" style="overflow-x:auto">
<pre id="response_headers32"></pre>
<pre id="response32"></pre>
<pre id="response_headers33"></pre>
<pre id="response33"></pre>
</div>
</div>
</div>
... ... @@ -5218,10 +5392,10 @@
</div>
</div><!-- #sandbox -->
<div class="tab-pane" id="sample32">
<div class="tab-pane" id="sample33">
<div class="row">
<div class="col-md-12">
<pre id="sample_response32">{
<pre id="sample_response33">{
"code": 1,
"msg": "成功",
"time": "1572602867",
... ... @@ -5238,26 +5412,26 @@
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading" id="heading-33">
<div class="panel-heading" id="heading-34">
<h4 class="panel-title">
<span class="label label-primary">POST</span>
<a data-toggle="collapse" data-parent="#accordion33" href="#collapseOne33"> 收藏 <span class="text-muted">/api/user/collection</span></a>
<a data-toggle="collapse" data-parent="#accordion34" href="#collapseOne34"> 收藏 <span class="text-muted">/api/user/collection</span></a>
</h4>
</div>
<div id="collapseOne33" class="panel-collapse collapse">
<div id="collapseOne34" class="panel-collapse collapse">
<div class="panel-body">
<!-- Nav tabs -->
<ul class="nav nav-tabs" id="doctab33">
<li class="active"><a href="#info33" data-toggle="tab">基础信息</a></li>
<li><a href="#sandbox33" data-toggle="tab">在线测试</a></li>
<li><a href="#sample33" data-toggle="tab">返回示例</a></li>
<ul class="nav nav-tabs" id="doctab34">
<li class="active"><a href="#info34" data-toggle="tab">基础信息</a></li>
<li><a href="#sandbox34" data-toggle="tab">在线测试</a></li>
<li><a href="#sample34" data-toggle="tab">返回示例</a></li>
</ul>
<!-- Tab panes -->
<div class="tab-content">
<div class="tab-pane active" id="info33">
<div class="tab-pane active" id="info34">
<div class="well">
收藏 </div>
<div class="panel panel-default">
... ... @@ -5313,7 +5487,7 @@
</div>
</div><!-- #info -->
<div class="tab-pane" id="sandbox33">
<div class="tab-pane" id="sandbox34">
<div class="row">
<div class="col-md-12">
<div class="panel panel-default">
... ... @@ -5330,14 +5504,14 @@
<div class="panel panel-default">
<div class="panel-heading"><strong>参数</strong></div>
<div class="panel-body">
<form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/collection" method="POST" name="form33" id="form33">
<form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/collection" method="POST" name="form34" id="form34">
<div class="form-group">
<label class="control-label" for="goods_id">goods_id</label>
<input type="inter" class="form-control input-sm" id="goods_id" required placeholder="商品id" name="goods_id">
</div>
<div class="form-group">
<button type="submit" class="btn btn-success send" rel="33">提交</button>
<button type="reset" class="btn btn-info" rel="33">重置</button>
<button type="submit" class="btn btn-success send" rel="34">提交</button>
<button type="reset" class="btn btn-info" rel="34">重置</button>
</div>
</form>
</div>
... ... @@ -5347,8 +5521,8 @@
<div class="panel-body">
<div class="row">
<div class="col-md-12" style="overflow-x:auto">
<pre id="response_headers33"></pre>
<pre id="response33"></pre>
<pre id="response_headers34"></pre>
<pre id="response34"></pre>
</div>
</div>
</div>
... ... @@ -5363,10 +5537,10 @@
</div>
</div><!-- #sandbox -->
<div class="tab-pane" id="sample33">
<div class="tab-pane" id="sample34">
<div class="row">
<div class="col-md-12">
<pre id="sample_response33">{
<pre id="sample_response34">{
"code": 1,
"msg": "成功",
"time": "1571037179",
... ... @@ -5381,26 +5555,26 @@
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading" id="heading-34">
<div class="panel-heading" id="heading-35">
<h4 class="panel-title">
<span class="label label-primary">POST</span>
<a data-toggle="collapse" data-parent="#accordion34" href="#collapseOne34"> 取消收藏 <span class="text-muted">/api/user/cancelCollection</span></a>
<a data-toggle="collapse" data-parent="#accordion35" href="#collapseOne35"> 取消收藏 <span class="text-muted">/api/user/cancelCollection</span></a>
</h4>
</div>
<div id="collapseOne34" class="panel-collapse collapse">
<div id="collapseOne35" class="panel-collapse collapse">
<div class="panel-body">
<!-- Nav tabs -->
<ul class="nav nav-tabs" id="doctab34">
<li class="active"><a href="#info34" data-toggle="tab">基础信息</a></li>
<li><a href="#sandbox34" data-toggle="tab">在线测试</a></li>
<li><a href="#sample34" data-toggle="tab">返回示例</a></li>
<ul class="nav nav-tabs" id="doctab35">
<li class="active"><a href="#info35" data-toggle="tab">基础信息</a></li>
<li><a href="#sandbox35" data-toggle="tab">在线测试</a></li>
<li><a href="#sample35" data-toggle="tab">返回示例</a></li>
</ul>
<!-- Tab panes -->
<div class="tab-content">
<div class="tab-pane active" id="info34">
<div class="tab-pane active" id="info35">
<div class="well">
取消收藏 </div>
<div class="panel panel-default">
... ... @@ -5456,7 +5630,7 @@
</div>
</div><!-- #info -->
<div class="tab-pane" id="sandbox34">
<div class="tab-pane" id="sandbox35">
<div class="row">
<div class="col-md-12">
<div class="panel panel-default">
... ... @@ -5473,14 +5647,14 @@
<div class="panel panel-default">
<div class="panel-heading"><strong>参数</strong></div>
<div class="panel-body">
<form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/cancelCollection" method="POST" name="form34" id="form34">
<form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/cancelCollection" method="POST" name="form35" id="form35">
<div class="form-group">
<label class="control-label" for="goods_id">goods_id</label>
<input type="inter" class="form-control input-sm" id="goods_id" required placeholder="商品id" name="goods_id">
</div>
<div class="form-group">
<button type="submit" class="btn btn-success send" rel="34">提交</button>
<button type="reset" class="btn btn-info" rel="34">重置</button>
<button type="submit" class="btn btn-success send" rel="35">提交</button>
<button type="reset" class="btn btn-info" rel="35">重置</button>
</div>
</form>
</div>
... ... @@ -5490,8 +5664,8 @@
<div class="panel-body">
<div class="row">
<div class="col-md-12" style="overflow-x:auto">
<pre id="response_headers34"></pre>
<pre id="response34"></pre>
<pre id="response_headers35"></pre>
<pre id="response35"></pre>
</div>
</div>
</div>
... ... @@ -5506,10 +5680,10 @@
</div>
</div><!-- #sandbox -->
<div class="tab-pane" id="sample34">
<div class="tab-pane" id="sample35">
<div class="row">
<div class="col-md-12">
<pre id="sample_response34">{
<pre id="sample_response35">{
"code": 1,
"msg": "成功",
"time": "1571037179",
... ... @@ -5524,26 +5698,26 @@
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading" id="heading-35">
<div class="panel-heading" id="heading-36">
<h4 class="panel-title">
<span class="label label-success">GET</span>
<a data-toggle="collapse" data-parent="#accordion35" href="#collapseOne35"> 我的收藏 <span class="text-muted">/api/user/myCollectionList</span></a>
<a data-toggle="collapse" data-parent="#accordion36" href="#collapseOne36"> 我的收藏 <span class="text-muted">/api/user/myCollectionList</span></a>
</h4>
</div>
<div id="collapseOne35" class="panel-collapse collapse">
<div id="collapseOne36" class="panel-collapse collapse">
<div class="panel-body">
<!-- Nav tabs -->
<ul class="nav nav-tabs" id="doctab35">
<li class="active"><a href="#info35" data-toggle="tab">基础信息</a></li>
<li><a href="#sandbox35" data-toggle="tab">在线测试</a></li>
<li><a href="#sample35" data-toggle="tab">返回示例</a></li>
<ul class="nav nav-tabs" id="doctab36">
<li class="active"><a href="#info36" data-toggle="tab">基础信息</a></li>
<li><a href="#sandbox36" data-toggle="tab">在线测试</a></li>
<li><a href="#sample36" data-toggle="tab">返回示例</a></li>
</ul>
<!-- Tab panes -->
<div class="tab-content">
<div class="tab-pane active" id="info35">
<div class="tab-pane active" id="info36">
<div class="well">
我的收藏 </div>
<div class="panel panel-default">
... ... @@ -5599,7 +5773,7 @@
</div>
</div><!-- #info -->
<div class="tab-pane" id="sandbox35">
<div class="tab-pane" id="sandbox36">
<div class="row">
<div class="col-md-12">
<div class="panel panel-default">
... ... @@ -5616,14 +5790,14 @@
<div class="panel panel-default">
<div class="panel-heading"><strong>参数</strong></div>
<div class="panel-body">
<form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/myCollectionList" method="GET" name="form35" id="form35">
<form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/myCollectionList" method="GET" name="form36" id="form36">
<div class="form-group">
<label class="control-label" for="page">page</label>
<input type="inter" class="form-control input-sm" id="page" required placeholder="分页页码" name="page">
</div>
<div class="form-group">
<button type="submit" class="btn btn-success send" rel="35">提交</button>
<button type="reset" class="btn btn-info" rel="35">重置</button>
<button type="submit" class="btn btn-success send" rel="36">提交</button>
<button type="reset" class="btn btn-info" rel="36">重置</button>
</div>
</form>
</div>
... ... @@ -5633,8 +5807,8 @@
<div class="panel-body">
<div class="row">
<div class="col-md-12" style="overflow-x:auto">
<pre id="response_headers35"></pre>
<pre id="response35"></pre>
<pre id="response_headers36"></pre>
<pre id="response36"></pre>
</div>
</div>
</div>
... ... @@ -5649,10 +5823,10 @@
</div>
</div><!-- #sandbox -->
<div class="tab-pane" id="sample35">
<div class="tab-pane" id="sample36">
<div class="row">
<div class="col-md-12">
<pre id="sample_response35">{
<pre id="sample_response36">{
"code": 1,
"msg": "成功",
"time": "1574941706",
... ... @@ -5700,26 +5874,26 @@
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading" id="heading-36">
<div class="panel-heading" id="heading-37">
<h4 class="panel-title">
<span class="label label-success">GET</span>
<a data-toggle="collapse" data-parent="#accordion36" href="#collapseOne36"> 我的优惠券 <span class="text-muted">/api/user/myCouponList</span></a>
<a data-toggle="collapse" data-parent="#accordion37" href="#collapseOne37"> 我的优惠券 <span class="text-muted">/api/user/myCouponList</span></a>
</h4>
</div>
<div id="collapseOne36" class="panel-collapse collapse">
<div id="collapseOne37" class="panel-collapse collapse">
<div class="panel-body">
<!-- Nav tabs -->
<ul class="nav nav-tabs" id="doctab36">
<li class="active"><a href="#info36" data-toggle="tab">基础信息</a></li>
<li><a href="#sandbox36" data-toggle="tab">在线测试</a></li>
<li><a href="#sample36" data-toggle="tab">返回示例</a></li>
<ul class="nav nav-tabs" id="doctab37">
<li class="active"><a href="#info37" data-toggle="tab">基础信息</a></li>
<li><a href="#sandbox37" data-toggle="tab">在线测试</a></li>
<li><a href="#sample37" data-toggle="tab">返回示例</a></li>
</ul>
<!-- Tab panes -->
<div class="tab-content">
<div class="tab-pane active" id="info36">
<div class="tab-pane active" id="info37">
<div class="well">
我的优惠券 </div>
<div class="panel panel-default">
... ... @@ -5758,20 +5932,20 @@
</div>
</div><!-- #info -->
<div class="tab-pane" id="sandbox36">
<div class="tab-pane" id="sandbox37">
<div class="row">
<div class="col-md-12">
<div class="panel panel-default">
<div class="panel-heading"><strong>参数</strong></div>
<div class="panel-body">
<form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/myCouponList" method="GET" name="form36" id="form36">
<form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/myCouponList" method="GET" name="form37" id="form37">
<div class="form-group">
<label class="control-label" for="is_flag">is_flag</label>
<input type="inter" class="form-control input-sm" id="is_flag" required placeholder="优惠券标识(0:未使用,1:已使用,2:已过期)" name="is_flag">
</div>
<div class="form-group">
<button type="submit" class="btn btn-success send" rel="36">提交</button>
<button type="reset" class="btn btn-info" rel="36">重置</button>
<button type="submit" class="btn btn-success send" rel="37">提交</button>
<button type="reset" class="btn btn-info" rel="37">重置</button>
</div>
</form>
</div>
... ... @@ -5781,8 +5955,8 @@
<div class="panel-body">
<div class="row">
<div class="col-md-12" style="overflow-x:auto">
<pre id="response_headers36"></pre>
<pre id="response36"></pre>
<pre id="response_headers37"></pre>
<pre id="response37"></pre>
</div>
</div>
</div>
... ... @@ -5797,10 +5971,10 @@
</div>
</div><!-- #sandbox -->
<div class="tab-pane" id="sample36">
<div class="tab-pane" id="sample37">
<div class="row">
<div class="col-md-12">
<pre id="sample_response36">{
<pre id="sample_response37">{
"code": 1,
"msg": "成功",
"time": "1575372162",
... ... @@ -5839,7 +6013,7 @@
<div class="row mt0 footer">
<div class="col-md-6" align="left">
Generated on 2019-12-04 19:12:54 </div>
Generated on 2019-12-04 19:57:05 </div>
<div class="col-md-6" align="right">
<a href="https://www.fastadmin.net" target="_blank">FastAdmin</a>
</div>
... ...