|
|
@@ -628,10 +628,8 @@ class WechatService
|
|
|
*/
|
|
|
public static function querySignOrder($order_id,$cid=0)
|
|
|
{
|
|
|
-// $appid='wx5681205d1ef4d9d3';
|
|
|
-// $order = array_merge(compact('out_trade_no'), $options);
|
|
|
-// if ($order['detail'] == '') unset($order['detail']);
|
|
|
-// $order['notify_url']=Request::instance()->domain() . "/api/wechat/notify/" . $cid;
|
|
|
+ @file_put_contents("quanju2.txt", $order_id . "-查询的订单id\r\n", 8);
|
|
|
+ @file_put_contents("quanju2.txt", $cid . "-cid\r\n", 8);
|
|
|
$result = self::payment(false, $cid)->order->queryByOutTradeNumber(
|
|
|
$order_id
|
|
|
);
|
|
|
@@ -640,7 +638,7 @@ class WechatService
|
|
|
$time=strtotime($result['time_end']);
|
|
|
// LaveMonth::where(['order_id' => $order_id])->update(['paid' => 1,'paytime'=>$time]); //修改订单状态
|
|
|
}
|
|
|
-
|
|
|
+ sleep(5);
|
|
|
return $result;
|
|
|
}
|
|
|
/**
|