|
@@ -1653,6 +1653,26 @@ class PublicRpcService implements PublicRpcServiceInterface
|
|
|
default:
|
|
|
break;
|
|
|
}
|
|
|
+ $cll_column = [
|
|
|
+ 'img_num' => null,
|
|
|
+ 'text_num' => null,
|
|
|
+ 'child_imgnum' => null,
|
|
|
+ 'child_textnum' => null,
|
|
|
+ 'category_id' => null,
|
|
|
+ 'child_id' => null,
|
|
|
+ 'num' => null,
|
|
|
+ 'level' => null,
|
|
|
+ 'fcatid' => null,
|
|
|
+ 'article_id' => null,
|
|
|
+ 'cate_place' => null,
|
|
|
+ 'pageSize' => null,
|
|
|
+ 'ad_img' => null,
|
|
|
+ 'ad_width' => null,
|
|
|
+ 'ad_height' => null,
|
|
|
+ 'ad' => '',
|
|
|
+ 'ad_type' => null,
|
|
|
+ ];
|
|
|
+ $add_arr = array_merge($cll_column,$add_arr);
|
|
|
$result = Component::where('id',$id)->update($add_arr);
|
|
|
if(empty($result)){
|
|
|
Db::rollBack();
|