|
@@ -58,14 +58,13 @@ class jspay implements IPay
|
|
|
|
|
|
$order = WxPayApi::unifiedOrder($input);
|
|
|
|
|
|
- Log::record("2",Log::DEBUG);
|
|
|
+ Log::record(json_encode($order),Log::DEBUG);
|
|
|
|
|
|
if(!array_key_exists("appid", $order)
|
|
|
|| !array_key_exists("prepay_id", $order)
|
|
|
|| $order['prepay_id'] == "")
|
|
|
{
|
|
|
Log::record("3",Log::DEBUG);
|
|
|
-
|
|
|
throw new WxPayException("参数错误");
|
|
|
}
|
|
|
|