|
@@ -55,10 +55,7 @@ class PayHandler extends BasePayHandler
|
|
|
$data['notifyUrl'] = $this->notifyUrl; //异步回调地址
|
|
$data['notifyUrl'] = $this->notifyUrl; //异步回调地址
|
|
|
$data['payType'] = 1; //支付类型
|
|
$data['payType'] = 1; //支付类型
|
|
|
$data['signType'] = 'MD5'; //签名类型
|
|
$data['signType'] = 'MD5'; //签名类型
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
$data['sign'] = PayUtils::makeSign($data,$this->Key);
|
|
$data['sign'] = PayUtils::makeSign($data,$this->Key);
|
|
|
-
|
|
|
|
|
$result = PayUtils::send($data, $this->payUrl);
|
|
$result = PayUtils::send($data, $this->payUrl);
|
|
|
if (isset($result["code"]) && $result["code"] == 200) {
|
|
if (isset($result["code"]) && $result["code"] == 200) {
|
|
|
$order_id = $result["data"]["orderId"];
|
|
$order_id = $result["data"]["orderId"];
|