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