|
@@ -35,16 +35,14 @@ class Pay extends BaseModel
|
|
|
* @param unknown $app_type 支付端口场景
|
|
|
* @return Ambigous <>
|
|
|
*/
|
|
|
- public function pay($pay_type, $out_trade_no, $app_type, $member_id,$event){
|
|
|
+ public function pay($pay_type, $out_trade_no, $app_type, $member_id,$event,$return_url){
|
|
|
if(REWRITE_MODULE)
|
|
|
{
|
|
|
$notify_url = addon_url("pay/pay/".$event);
|
|
|
}else{
|
|
|
$notify_url = request()->domain().'/pay.php';
|
|
|
}
|
|
|
-// if(empty($return_url)) {
|
|
|
- $return_url = 'http://yueshengshop.zhousi.hdlkeji.com/dist/#/index';
|
|
|
-// }
|
|
|
+// $return_url = 'http://yueshengshop.zhousi.hdlkeji.com/dist/#/index';
|
|
|
$pay_info = $this->getPayInfo($out_trade_no);
|
|
|
$data = $pay_info['data'];
|
|
|
$data['app_type'] = $app_type;
|