dever 6 年之前
父節點
當前提交
76a188a887
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/Wechat.php

+ 1 - 1
lib/Wechat.php

@@ -57,7 +57,7 @@ class Wechat extends Core
 			$input->SetOpenid($openid);
 		}
 		
-		if ($type == 1 && $type == 3) {
+		if ($type == 1 || $type == 3) {
 			$order = \WxPayApi::unifiedOrder($this->config, $input);
 			# 下单信息
 			$order['time'] = '' . time() . '';