This commit is contained in:
root 2019-12-27 01:58:21 +08:00
parent d197566922
commit a3e73893db
2 changed files with 1 additions and 2 deletions

View File

@ -112,7 +112,7 @@ class OrderController extends Controller
->where('status', 0) ->where('status', 0)
->first(); ->first();
if (!$order) { if (!$order) {
abort(500, '订单不存在或支付'); abort(500, '订单不存在或支付');
} }
switch ($method) { switch ($method) {
// return type => 0: QRCode / 1: URL // return type => 0: QRCode / 1: URL

View File

@ -9,7 +9,6 @@ class BitpayX {
* @param merKey 签名密钥 * @param merKey 签名密钥
*/ */
public function __construct($bitpayxAppSecret) { public function __construct($bitpayxAppSecret) {
var_dump('123');exit;
$this->bitpayxAppSecret = $bitpayxAppSecret; $this->bitpayxAppSecret = $bitpayxAppSecret;
$this->bitpayxGatewayUri = 'https://api.mugglepay.com/v1/'; $this->bitpayxGatewayUri = 'https://api.mugglepay.com/v1/';
} }