table('daily_wechat_label') ->addColumn('show', 'integer',['limit' => 1,'comment'=>'类别是否展示,当类型为其它时不展示','default'=>0]) ->update(); $info = Permission::where('id',17)->find(); $info->relation = $info->relation . ',material/cate_wechat_join_count,material/cate_wechat_delete'; $info->save(); $infos = Permission::where('id',149)->find(); $infos->relation = $infos->relation . ',material/cate_wechat_join_count,material/cate_wechat_delete'; $infos->save(); } }