mirror of
https://github.com/675061370/xinyue-search.git
synced 2025-11-25 03:15:21 +08:00
51 lines
2.5 KiB
Plaintext
51 lines
2.5 KiB
Plaintext
3.2升级3.5 重装 或 更新文件和表 涉及更新文件如下(好像就这些了)
|
||
app/admin/controller/SourceCategory.php
|
||
app/api/controller/Other.php
|
||
app/index/controller/Index.php
|
||
extend/netdisk/Transfer.php
|
||
extend/netdisk/pan/UcPan.php
|
||
public/views/index/news/common/static/css/app.css
|
||
public/views/index/news/common/head.html
|
||
public/views/index/news/detail.html
|
||
public/views/index/news/index.html
|
||
public/views/index/news/list.html
|
||
public/views/qfadmin/source/apilist.html
|
||
public/views/qfadmin/source/category.html
|
||
INSERT INTO `qf_conf` VALUES ('70', 'ban_keywords', '', '关键词屏蔽', '屏蔽搜索关键词,如:庆余年,凡人修仙传', '0', '1', NULL, '1', '1', '1', '1', '1755842460', '1755842580');
|
||
ALTER TABLE qf_source_category ADD COLUMN is_type INT(11) NOT NULL DEFAULT 0 COMMENT '0: 网络, 1: 本地';
|
||
|
||
|
||
|
||
3.1升级3.2 重装 或 更新文件和表 涉及更新文件如下
|
||
|
||
app/common.php
|
||
app/api/controller/Other.php
|
||
app/model/ApiList.php
|
||
app/admin/controller/ApiList.php
|
||
public/views/qfadmin/source/apilist.html
|
||
public/views/index/news/list.html
|
||
|
||
CREATE TABLE qf_api_list (
|
||
id int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键ID',
|
||
name varchar(100) NOT NULL COMMENT '线路名称',
|
||
type varchar(20) NOT NULL DEFAULT 'api' COMMENT '接口类型:api(接口)、html(网页)、tg(TG频道)',
|
||
pantype tinyint(1) NOT NULL DEFAULT '0' COMMENT '0 夸克 2百度',
|
||
url varchar(255) DEFAULT NULL COMMENT '请求地址或入口URL',
|
||
method varchar(10) DEFAULT 'GET' COMMENT '请求方式:GET/POST,仅用于api/html类型',
|
||
fixed_params text COMMENT '固定请求参数(JSON格式)',
|
||
headers text COMMENT '请求头信息(JSON格式)',
|
||
field_map text COMMENT '返回字段映射(JSON格式)',
|
||
count int(11) DEFAULT '0' COMMENT '最多取多少个资源',
|
||
html_item varchar(255) DEFAULT NULL,
|
||
html_title varchar(255) DEFAULT NULL,
|
||
html_url varchar(255) DEFAULT NULL,
|
||
html_type tinyint(4) DEFAULT '0',
|
||
html_url2 varchar(255) DEFAULT NULL,
|
||
weight int(11) DEFAULT '0' COMMENT '权重,数值越大优先级越高',
|
||
status tinyint(1) DEFAULT '1' COMMENT '是否启用:1启用,0禁用',
|
||
create_time int(11) NOT NULL DEFAULT '0' COMMENT '创建时间',
|
||
update_time int(11) NOT NULL DEFAULT '0' COMMENT '更新时间',
|
||
PRIMARY KEY (id)
|
||
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COMMENT='多线路接口配置表';
|
||
|
||
INSERT INTO `qf_node` VALUES (119, '接口配置', '', 'qfadmin', 'source', 'apilist', '108', '1', '1', 'el-icon-link', NULL, '0', '1747119102', '1747119102'); |