This commit is contained in:
aozhiwei 2019-08-18 11:43:36 +08:00
parent 8b1c3792ec
commit 19b120ff90

View File

@ -2,6 +2,8 @@
class PayController {
const SCAN_PAY_API_URL = 'https://gwapi.yemadai.com/pay/scanpay';
public function getOrderId()
{
$channel = phpcommon\extractChannel($_REQUEST['accountid']);
@ -26,7 +28,29 @@ class PayController {
public function scanPay()
{
$response = '';
$params = array(
'MerNo' => '',
'BillNo' => '',
'payType' => '',
'Amount' => '',
'OrderTime' => '',
'AdviceUrl' => '',
'ScanpayMerchantCode' => '',
'SignInfo' => '',
'products' => '',
'remark' => '',
'MerName' => '',
);
$requestDomain = '';
if (phpcommon\HttpClient::post(self::SCAN_PAY_API_URL,
array(
'requestDomain' => $requestDomain
),
$response)
) {
}
}
}