|
|
@@ -228,7 +228,7 @@ class OrderController extends BaseController
|
|
|
|
|
|
//花卉宝代为申请的微信支付
|
|
|
$merchantExtend = $this->merchantExtend;
|
|
|
- if ($merchantExtend['wxPayApply'] == 1) {
|
|
|
+ if (isset($merchantExtend['wxPayApply']) && $merchantExtend['wxPayApply'] == 1) {
|
|
|
$input->SetSub_openid($openId);
|
|
|
} else {
|
|
|
$input->SetOpenid($openId);
|
|
|
@@ -343,7 +343,7 @@ class OrderController extends BaseController
|
|
|
|
|
|
//花卉宝代为申请的微信支付
|
|
|
$merchantExtend = $this->merchantExtend;
|
|
|
- if ($merchantExtend['wxPayApply'] == 1) {
|
|
|
+ if (isset($merchantExtend['wxPayApply']) && $merchantExtend['wxPayApply'] == 1) {
|
|
|
$input->SetSub_openid($openId);
|
|
|
} else {
|
|
|
$input->SetOpenid($openId);
|