| xqd
@@ -1830,7 +1830,7 @@ class AlbumController extends Controller
|
|
|
$weChatApp = AlbumManufacturerModel::where('store_id', $storeid)->first();//\Log::info('2221');
|
|
|
|
|
|
$res_account = $this->accountMesage($g_open_id,$weChatApp,$name,$content);
|
|
|
- \Log::info($res_account);
|
|
|
+
|
|
|
if($user && $formId && !empty($weChatApp->wxFurniture_template_id) && (!$weChatApp->G_app_id || !$weChatApp->G_app_secret)){
|
|
|
$config_app = [
|
|
|
'app_id' => $weChatApp->app_id,
|
| xqd
@@ -1849,6 +1849,7 @@ class AlbumController extends Controller
|
|
|
'keyword3' => date('Y-m-d H:i'),
|
|
|
],
|
|
|
]);
|
|
|
+ \Log::info($res);
|
|
|
// dd($res);
|
|
|
if($res){
|
|
|
$formId->delete();
|