|
@@ -65,14 +65,14 @@ class WebsiteService implements WebsiteServiceInterface
|
|
|
'website_name'=>$data['website_name'],
|
|
|
'logo'=>$data['logo']??'',
|
|
|
'website_url'=>$data['website_url']??'',
|
|
|
-// 'city_id'=>$data['city_id']??0,
|
|
|
+// 'city_id'=>$data['city_id']??0,
|
|
|
'website_column_id'=>$data['website_column_id'],
|
|
|
'title'=>$data['title']??'',
|
|
|
'keywords'=>$data['keywords']??'',
|
|
|
'description'=>$data['description']??'',
|
|
|
'status'=>$data['status']??0,
|
|
|
'website_column_arr_id'=>$data['website_column_arr_id'],
|
|
|
-// 'city_arr_id'=>$data['city_arr_id']??[0],
|
|
|
+// 'city_arr_id'=>$data['city_arr_id']??[0],
|
|
|
'template_id' =>$data['template_id']??0,
|
|
|
];
|
|
|
$result = Website::insertGetId($insertData);
|
|
@@ -94,14 +94,14 @@ class WebsiteService implements WebsiteServiceInterface
|
|
|
'website_name'=>$data['website_name'],
|
|
|
'logo'=>$data['logo']??'',
|
|
|
'website_url'=>$data['website_url']??'',
|
|
|
-// 'city_id'=>$data['city_id']??0,
|
|
|
+// 'city_id'=>$data['city_id']??0,
|
|
|
'website_column_id'=>$data['website_column_id'],
|
|
|
'title'=>$data['title']??'',
|
|
|
'keywords'=>$data['keywords']??'',
|
|
|
'description'=>$data['description']??'',
|
|
|
'status'=>$data['status']??0,
|
|
|
'website_column_arr_id'=>$data['website_column_arr_id'],
|
|
|
-// 'city_arr_id'=>$data['city_arr_id']??[0],
|
|
|
+// 'city_arr_id'=>$data['city_arr_id']??[0],
|
|
|
'template_id' =>$data['template_id']??0,
|
|
|
];
|
|
|
$result = Website::where('id',$id)->update($insertData);
|