|
|
@@ -175,7 +175,7 @@ class PayForm extends Model
|
|
|
public function handleNotify($data)
|
|
|
{
|
|
|
$payType = isset($data['payType']) ? trim($data['payType']) : '';
|
|
|
- file_put_contents('huiqi4.txt',$payType);
|
|
|
+
|
|
|
if($data['payType']=="wy_bb" || $data['payType']=="alipay_bb"){
|
|
|
$handler = BasePayHandler::getPayHandlerByPayType(19);
|
|
|
}else{
|
|
|
@@ -185,9 +185,7 @@ class PayForm extends Model
|
|
|
unset($data['token']);
|
|
|
$success = false;
|
|
|
if ($handler != null) {
|
|
|
- file_put_contents('huiqidata.txt',\GuzzleHttp\json_encode($data));
|
|
|
$success = $handler->handleNotify($data);
|
|
|
- file_put_contents('huiqi7.txt',$success);
|
|
|
$this->_outNotifyResult = $handler->outNotify($success);
|
|
|
}
|
|
|
return $success;
|