...
|
...
|
@@ -688,13 +688,13 @@ class Goods extends Api |
|
|
}
|
|
|
$this->model = $order;
|
|
|
// 发起微信支付
|
|
|
if($this->request->post('type')&&$this->request->post('type')=='gzh'){
|
|
|
// if($this->request->post('type')&&$this->request->post('type')=='gzh'){
|
|
|
$this->init_wx_pay_for_gzh(true);
|
|
|
$this->make_wx_pay('wechat');
|
|
|
}else{
|
|
|
$this->init_wx_pay_for_wxapp();
|
|
|
$this->make_wx_pay('wxapp');
|
|
|
}
|
|
|
// }else{
|
|
|
// $this->init_wx_pay_for_wxapp();
|
|
|
// $this->make_wx_pay('wxapp');
|
|
|
// }
|
|
|
}
|
|
|
|
|
|
private function init_wx_pay_for_gzh($Ischeck=false){
|
...
|
...
|
|