@@ -41,7 +41,7 @@ class WxOpenController extends BaseController
if ($id == 2) {
$openAppId = $merchant['openAppId'];
$r = wxUtil::bindOpenAccount($miniAppId, $openAppId, $merchant, true);
- MerchantExtendService::updateByCondition(['merchantId'=>$merchantId],['openAppBind'=>3]);
+ MerchantExtendService::updateByCondition(['merchantId'=>$merchantId],['openAppBind'=>3,'miniAuth'=>1]);
print_r($r);
}
//查询公众号 小程序的绑定情况