| xqd
@@ -1831,7 +1831,7 @@ class AlbumController extends Controller
|
|
|
|
|
|
$res_account = $this->accountMesage($g_open_id,$weChatApp,$name,$content);
|
|
|
\Log::info($weChatApp->wxFurniture_template_id);
|
|
|
- if($user && $formId && !empty($weChatApp->wxFurniture_template_id) && (!$weChatApp->G_app_id || !$weChatApp->G_app_secret) && $res_account['errcode']!=0){
|
|
|
+ if ($user && $formId && !empty($weChatApp->wxFurniture_template_id) && ((!$weChatApp->G_app_id || !$weChatApp->G_app_secret) || $res_account['errcode']!=0)) {
|
|
|
$config_app = [
|
|
|
'app_id' => $weChatApp->app_id,
|
|
|
'secret' => $weChatApp->app_secret,
|