-- 权限
insert into `@prefix@auth_rule` values (null,52,'routine/attachment/water','Watermark','routine.attachment/water','','fas fa-tint','',0,0,'normal',1,'',1658593132,1658593132);
insert into `@prefix@auth_rule` values (null,52,'routine/attachment/thumb','Thumbnail','routine.attachment/thumb','','far fa-image','',0,0,'normal',1,'',1658593175,1658593175);

-- 追加配置
insert  into `@prefix@config` values (null,'seo','html_dir','静态文件保存目录','','text',NULL,'','','','',0,1,'-1',NULL,1);
insert  into `@prefix@config` values (null,'seo','html_column_rules','栏目规则','/[list]/index.html|/[list]/index_[page].html','text',NULL,'','','','',0,1,'-1',NULL,1);
insert  into `@prefix@config` values (null,'seo','html_content_rules','内容规则','/[list]/[id].html|/[list]/[id]_[page].html','text',NULL,'','','','',0,1,'-1',NULL,1);
insert  into `@prefix@config` values (null,'water','water_on','水印功能','0','radio','{\"1\":\"\\u5f00\\u542f\",\"0\":\"\\u5173\\u95ed\"}','','','','',0,1,'-1','{\"ext\":\"\",\"filesize\":\"\",\"filter_option\":\"\"}',11);
insert  into `@prefix@config` values (null,'water','water_type','水印类型','1','radio','{\"1\":\"\\u56fe\\u7247\",\"2\":\"\\u6587\\u5b57\"}','','','','',0,1,'-1','{\"ext\":\"\",\"filesize\":\"\",\"filter_option\":\"\"}',12);
insert  into `@prefix@config` values (null,'water','water_img','水印图片','/static/common/image/water.png','text',NULL,'','','','',0,1,'-1','{\"ext\":\"\",\"filesize\":\"\",\"filter_option\":\"\"}',13);
insert  into `@prefix@config` values (null,'water','water_width','图片宽度','100','text',NULL,'','','','',0,1,'-1','{\"ext\":\"\",\"filesize\":\"\",\"filter_option\":\"\"}',14);
insert  into `@prefix@config` values (null,'water','water_height','图片高度','50','text',NULL,'','','','',0,1,'-1','{\"ext\":\"\",\"filesize\":\"\",\"filter_option\":\"\"}',15);
insert  into `@prefix@config` values (null,'water','water_text','文字','HkCms','text',NULL,'','','','',0,1,'-1','{\"ext\":\"\",\"filesize\":\"\",\"filter_option\":\"\"}',16);
insert  into `@prefix@config` values (null,'water','water_text_size','文字大小','16','text',NULL,'','','','',0,1,'-1','{\"ext\":\"\",\"filesize\":\"\",\"filter_option\":\"\"}',17);
insert  into `@prefix@config` values (null,'water','water_text_color','文字颜色','#00000042','text',NULL,'','','','',0,1,'-1','{\"ext\":\"\",\"filesize\":\"\",\"filter_option\":\"\"}',18);
insert  into `@prefix@config` values (null,'water','water_img_opacity','水印透明度','60','text',NULL,'','','','',0,1,'-1','{\"ext\":\"\",\"filesize\":\"\",\"filter_option\":\"\"}',19);
insert  into `@prefix@config` values (null,'water','water_img_position','水印位置','7','text',NULL,'','','','',0,1,'-1','{\"ext\":\"\",\"filesize\":\"\",\"filter_option\":\"\"}',20);
insert  into `@prefix@config` values (null,'thumb','thumb_on','缩略图','0','radio','{\"1\":\"\\u5f00\\u542f\",\"0\":\"\\u5173\\u95ed\"}','','','','',0,1,'-1','{\"ext\":\"\",\"filesize\":\"\",\"filter_option\":\"\"}',11);
insert  into `@prefix@config` values (null,'thumb','thumb_type','生成方式','1','text',NULL,'','','','',0,1,'-1','{\"ext\":\"\",\"filesize\":\"\",\"filter_option\":\"\"}',12);
insert  into `@prefix@config` values (null,'thumb','thumb_width','宽度','160','text',NULL,'','','','',0,1,'-1','{\"ext\":\"\",\"filesize\":\"\",\"filter_option\":\"\"}',13);
insert  into `@prefix@config` values (null,'thumb','thumb_height','高度','120','text',NULL,'','','','',0,1,'-1','{\"ext\":\"\",\"filesize\":\"\",\"filter_option\":\"\"}',14);

-- 配置更新
UPDATE `@prefix@config` SET `data_list` = '{\"1\":\"伪静态\",\"0\":\"动态\",\"2\":\"静态页面\"}' WHERE `name` = 'url_mode';