作者 景龙
1 个管道 的构建 失败 耗费 0 秒

修改不重复绑定银行卡

... ... @@ -231,6 +231,10 @@ class Person extends Api
$this->error($validate->getError());
}
$bank = new Bank();
$data = $bank->where(['uid'=>$this->user_id,'bank_num'=>$bank_num])->find();
if($data){
$this->error('不能重复绑定');
}
$data = $bank::create(['uid'=>$this->user_id,'bank_num'=>$bank_num,'open_bank'=>$open_bank]);
if($data){
$this->success('保存成功');
... ...
... ... @@ -126,7 +126,7 @@ class Wxpay extends Api
}
/**
* 微信异步通知
* 微信异步通知(不需调用)
*/
public function notify(){
$pay = Pay::wechat(Service::getConfig('wechat'));
... ... @@ -187,7 +187,7 @@ class Wxpay extends Api
}
/**
* 微信异步通知
* 微信异步通知(不需调用)
*/
public function notifyCharge(){
$pay = Pay::wechat(Service::getConfig('wechat'));
... ... @@ -245,7 +245,7 @@ class Wxpay extends Api
}
/**
* 支付完成处理库存,购物车
* 支付完成处理库存,购物车(不需调用)
* @param $pay_order_sn
* @param $openid
*/
... ...
... ... @@ -292,11 +292,11 @@
<div class="child collapse" id="支付接口**">
<a href="javascript:;" data-id="83" class="list-group-item">支付订单</a>
<a href="javascript:;" data-id="84" class="list-group-item">商品订单去付款</a>
<a href="javascript:;" data-id="85" class="list-group-item">微信异步通知</a>
<a href="javascript:;" data-id="85" class="list-group-item">微信异步通知(不需调用)</a>
<a href="javascript:;" data-id="86" class="list-group-item">充值</a>
<a href="javascript:;" data-id="87" class="list-group-item">微信异步通知</a>
<a href="javascript:;" data-id="87" class="list-group-item">微信异步通知(不需调用)</a>
<a href="javascript:;" data-id="88" class="list-group-item">分享购买成功调用,增加积分并获得相应的积分</a>
<a href="javascript:;" data-id="89" class="list-group-item">支付完成处理库存,购物车</a>
<a href="javascript:;" data-id="89" class="list-group-item">支付完成处理库存,购物车(不需调用)</a>
</div>
</div>
</div>
... ... @@ -11542,7 +11542,7 @@
<div class="panel-heading" id="heading-85">
<h4 class="panel-title">
<span class="label label-success">GET</span>
<a data-toggle="collapse" data-parent="#accordion85" href="#collapseOne85"> 微信异步通知 <span class="text-muted">/api/wxpay/notify</span></a>
<a data-toggle="collapse" data-parent="#accordion85" href="#collapseOne85"> 微信异步通知(不需调用) <span class="text-muted">/api/wxpay/notify</span></a>
</h4>
</div>
<div id="collapseOne85" class="panel-collapse collapse">
... ... @@ -11560,7 +11560,7 @@
<div class="tab-pane active" id="info85">
<div class="well">
微信异步通知 </div>
微信异步通知(不需调用) </div>
<div class="panel panel-default">
<div class="panel-heading"><strong>Headers</strong></div>
<div class="panel-body">
... ... @@ -11777,7 +11777,7 @@
<div class="panel-heading" id="heading-87">
<h4 class="panel-title">
<span class="label label-success">GET</span>
<a data-toggle="collapse" data-parent="#accordion87" href="#collapseOne87"> 微信异步通知 <span class="text-muted">/api/wxpay/notifyCharge</span></a>
<a data-toggle="collapse" data-parent="#accordion87" href="#collapseOne87"> 微信异步通知(不需调用) <span class="text-muted">/api/wxpay/notifyCharge</span></a>
</h4>
</div>
<div id="collapseOne87" class="panel-collapse collapse">
... ... @@ -11795,7 +11795,7 @@
<div class="tab-pane active" id="info87">
<div class="well">
微信异步通知 </div>
微信异步通知(不需调用) </div>
<div class="panel panel-default">
<div class="panel-heading"><strong>Headers</strong></div>
<div class="panel-body">
... ... @@ -12012,7 +12012,7 @@
<div class="panel-heading" id="heading-89">
<h4 class="panel-title">
<span class="label label-success">GET</span>
<a data-toggle="collapse" data-parent="#accordion89" href="#collapseOne89"> 支付完成处理库存,购物车 <span class="text-muted">/api/wxpay/handle</span></a>
<a data-toggle="collapse" data-parent="#accordion89" href="#collapseOne89"> 支付完成处理库存,购物车(不需调用) <span class="text-muted">/api/wxpay/handle</span></a>
</h4>
</div>
<div id="collapseOne89" class="panel-collapse collapse">
... ... @@ -12030,7 +12030,7 @@
<div class="tab-pane active" id="info89">
<div class="well">
支付完成处理库存,购物车 </div>
支付完成处理库存,购物车(不需调用) </div>
<div class="panel panel-default">
<div class="panel-heading"><strong>Headers</strong></div>
<div class="panel-body">
... ... @@ -12134,7 +12134,7 @@
<div class="row mt0 footer">
<div class="col-md-6" align="left">
Generated on 2019-04-04 15:38:58 </div>
Generated on 2019-04-04 15:53:15 </div>
<div class="col-md-6" align="right">
<a href="https://www.fastadmin.net" target="_blank">FastAdmin</a>
</div>
... ...