|
|
|
|
@ -93,7 +93,15 @@ class WxMicroPay extends WxPayCommon
|
|
|
|
|
{
|
|
|
|
|
$query_result = $this->orderQuery($recharge->serial);
|
|
|
|
|
if ($query_result["trade_state"] == "SUCCESS") {
|
|
|
|
|
dd($query_result["time_end"]);
|
|
|
|
|
$datetime =
|
|
|
|
|
substr($query_result["time_end"], 0, 4)
|
|
|
|
|
. substr($query_result["time_end"], 4, 2)
|
|
|
|
|
. substr($query_result["time_end"], 6, 2)
|
|
|
|
|
. " "
|
|
|
|
|
. substr($query_result["time_end"], 8, 2)
|
|
|
|
|
. substr($query_result["time_end"], 10, 2)
|
|
|
|
|
. substr($query_result["time_end"], 12, 2);
|
|
|
|
|
dd($datetime);
|
|
|
|
|
if (!$recharge->paid_at) {
|
|
|
|
|
$transaction_id = $query_result["transaction_id"];
|
|
|
|
|
$update = [
|
|
|
|
|
|