no message
This commit is contained in:
parent
cae092e80b
commit
a2abbe9f12
@ -110,8 +110,8 @@ final class Epay extends Base
|
||||
$data['sign'] = $epaySubmit->buildRequestMysign(EpayTool::argSort($data));
|
||||
$data['sign_type'] = $this->epay['sign_type'];
|
||||
$client = new Client();
|
||||
var_dump($this->epay['apiurl']);
|
||||
exit;
|
||||
// var_dump($this->epay['apiurl']);
|
||||
// exit;
|
||||
try {
|
||||
$res = $client->request('POST', $this->epay['apiurl'] . 'mapi.php', ['form_params' => $data]);
|
||||
|
||||
@ -134,8 +134,8 @@ final class Epay extends Base
|
||||
}
|
||||
}
|
||||
|
||||
var_dump($resData);
|
||||
exit;
|
||||
// var_dump($resData);
|
||||
// exit;
|
||||
|
||||
return $response->withHeader('HX-Redirect', $resData['payurl'])->withJson([
|
||||
'ret' => 1,
|
||||
|
||||
@ -88,7 +88,7 @@ final class Payment
|
||||
|
||||
public static function purchase($request, $response, $args)
|
||||
{
|
||||
exit(1111111);
|
||||
// exit(1111111);
|
||||
$payment = self::getPaymentByName($args['type']);
|
||||
|
||||
if ($payment !== null) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user