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() . '';