dever 6 년 전
부모
커밋
454c3b88a8
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      lib/Wechat.php

+ 1 - 1
lib/Wechat.php

@@ -53,7 +53,7 @@ class Wechat extends Core
 		if ($type == 1) {
 			$order = \WxPayApi::unifiedOrder($this->config, $input);
 			# 下单信息
-			$order['time'] = time();
+			$order['time'] = '' . time() . '';
 			$order['order_id'] = $order_id;
 			unset($order['mch_id']);
 			$this->updateOrderParam($order_id, $order);