table('company_strength_cate') ->addColumn('show', 'integer',['limit' => 1,'comment'=>'类别是否展示,当类型为其它时不展示','default'=>0]) ->update(); $per = ',companyStrength/with_cate_count,companyStrength/delete_cate'; $where[] = ['id', '=', 172]; $info = Permission::where($where)->find(); $per = $info->relation . $per; $info->relation = $per; $info->save(); } }