File: /www/wwwroot/wuk.travelzg.com/升级版本.sql
v6.4
alter table wuk_product ADD smname char(100) not null default '' comment '神马账号';
alter table wuk_product ADD smpass char(100) not null default '' comment '神马密码';
alter table wuk_order ADD wk_beizhu char(100) not null default '' comment '信息备注';
alter table wuk_order ADD apibacktime int unsigned not null default 0 comment 'api回传时间';
v6.6 微信缓存默认为0
alter table wuk_product ADD wk_beizhu char(100) not null default '' comment '信息备注';
alter table wuk_product ADD isonline char(1) not null default '1' comment '是否开启实时流量统计';
alter table wuk_weixin ADD wcgroup char(10) not null default '' comment '微信号分组';
alter table wuk_product ADD gdtid char(20) not null default '' comment '广点通账号ID';
alter table wuk_product ADD gdtdataid char(20) not null default '' comment '广点通数据源ID';
ALTER TABLE wuk_product MODIFY COLUMN `apinewtype` CHAR(20);
6.7
alter table wuk_product ADD istiao char(1) not null default '0' comment '是否开启二跳 0关闭';
alter table wuk_product ADD tiaourl char(100) not null default '' comment '二跳域名';
6.8
alter table wuk_product ADD tongjikg char(1) not null default '0' comment '百度统计api开关';
alter table wuk_product ADD keyname char(50) not null default '' comment '百度统计账号';
alter table wuk_product ADD keypass char(50) not null default '' comment '百度统计密码';
alter table wuk_product ADD keytoken char(50) not null default '' comment '百度统计token';
alter table wuk_product ADD keyid char(50) not null default '' comment '百度统计站点Id';
6.8.1
alter table wuk_product ADD shennewtype char(20) not null default '' comment '百度深度转化类型';
alter table wuk_product ADD shendukg char(1) not null default '0' comment '深度统计开关';
alter table wuk_order ADD shendustate char(1) not null default '0' comment '深度回传状态';
6.8.2
ALTER TABLE wuk_order MODIFY COLUMN `wk_viewtime` int unsigned not null default 1;
ALTER TABLE wuk_online MODIFY COLUMN `wk_viewtime` int unsigned not null default 1;
alter table wuk_product ADD tuigtype char(20) not null default '' comment '360推广类型';
alter table wuk_product ADD sllsecret char(100) not null default '' comment '360Secret';
ALTER TABLE wuk_online MODIFY COLUMN `wk_url` varchar(500) not null comment 'url过滤';
ALTER TABLE wuk_order MODIFY COLUMN `wk_url` varchar(500) not null comment 'url过滤';
6.8.3
此版本无
6.8.4
DROP TABLE IF EXISTS wuk_weixingro;
CREATE TABLE wuk_weixingro
(
admin_id smallint unsigned not null comment '所属账号的id',
weixin char(30) not null comment '微信号',
key (admin_id)
)engine=MYISAM default charset=utf8 comment '微信池';
alter table wuk_admin ADD gro_switch char(1) not null default '0' comment '是否开启微信池';
DELETE FROM `wuk_online` WHERE `wk_height` = '100%';
DELETE FROM `wuk_order` WHERE `wk_height` = '100%';
ALTER TABLE wuk_online MODIFY COLUMN `wk_height` int unsigned not null default 1;
ALTER TABLE wuk_order MODIFY COLUMN `wk_height` int unsigned not null default 1;
alter table wuk_product ADD copyheight char(2) not null default '0' comment '转化精度屏比限制';
v6.8.5
DROP TABLE IF EXISTS wuk_shield;
CREATE TABLE wuk_shield
(
id int unsigned not null auto_increment,
uniq char(13) not null comment '产品的唯一标识用于',
ac_name char(10) not null comment '项目名称',
ac_position char(10) not null comment '1审核页2落地页',
ac_status char(1) not null default '0' comment '开关0关闭1开启',
admin_id smallint unsigned not null comment '所属账号id',
ac_url char(100) not null default '' comment '跳转网址',
ac_region char(100) not null default '' comment '屏蔽地区',
ac_lockip char(100) not null default '' comment '屏蔽ip',
ac_times char(5) not null default '' comment '屏蔽起始时间',
ac_timee char(5) not null default '' comment '屏蔽结束时间',
ac_over char(1) not null default '1' comment '是否跨天1跨越',
ac_type char(100) not null default '' comment '访问终端屏蔽',
ac_get char(100) not null default '' comment '参数屏蔽',
ac_pc char(1) not null default '0' comment '是否屏蔽pc0关闭1开启',
ac_ai char(1) not null default '0' comment '是否屏蔽安卓苹果0不屏蔽1屏蔽ios2安卓',
ac_search char(1) not null default '0' comment '是否屏蔽搜索来源1开启',
ac_ifream char(1) not null default '0' comment '框架还是跳转1跳转',
add_time int unsigned not null comment '添加时间',
primary key (id),
key admin_id(admin_id)
)engine=MYISAM default charset=utf8 comment '屏蔽跳转';
v6.8.6
无
v6.8.7
无
v6.8.8
无
v6.8.9
alter table wuk_admin ADD roletype char(1) not null default '0' comment '权限角色';
alter table wuk_product ADD apiheight char(2) not null default '10' comment 'api回传比例';
v6.9.0
无
v6.9.1
DROP TABLE IF EXISTS wuk_market;
CREATE TABLE wuk_market
(
id int unsigned not null auto_increment,
username varchar(50) not null comment '账号',
password varchar(50) not null comment '密码',
token char(32) not null comment 'token',
add_time int unsigned comment '添加时间',
admin_id int unsigned comment '所属账号ID',
solutinstr varchar(500) not null default '' comment '方案ID串',
remarks varchar(100) not null default '' comment '备注',
primary key (id)
)engine=MYISAM default charset=utf8 comment '基木鱼百度账号';
DROP TABLE IF EXISTS wuk_marketdata;
CREATE TABLE wuk_marketdata
(
id int unsigned not null auto_increment,
solutionid int unsigned not null comment '方案ID',
solutionname char(50) not null comment '方案名称',
area char(30) not null default '' comment '广告展现地域',
committime int unsigned not null comment '线索时间',
accountname char(30) not null comment '微信号',
solutiontypename char(200) not null default '' comment '具体动作',
pageid char(15) not null default '' comment '基木鱼页面ID',
pagename char(50) not null default '' comment '基木鱼页面名称',
url varchar(500) not null default '' comment '基木鱼页面地址',
keyword char(100) not null default '' comment '关键词',
searchword char(100) not null default '' comment '搜索词',
planname char(50) not null default '' comment '计划名称',
unitname char(50) not null default '' comment '单元名称',
ideaname char(50) not null default '' comment '创意名称',
wk_beizhu char(100) not null default '' comment '信息备注',
countmarket int unsigned not null default 1 comment '动作次数',
primary key (id),
key product_id(solutionId),
key weixin(pageID),
key add_time(commitTime)
)engine=MYISAM default charset=utf8 comment '基木鱼线索表';
v6.9.2
无
v6.9.3
alter table wuk_product ADD gtwchat char(1) not null default '0' comment '小程序跳转开关';
alter table wuk_product ADD wchattoken char(32) not null default '' comment '小程序跳转token';
alter table wuk_product ADD wchattitle char(200) not null default '' comment '小程序标题';
alter table wuk_product ADD wchattype char(1) not null default '1' comment '小程序模板';
alter table wuk_product ADD gtwchaturl char(100) not null default 'error' comment '小程序跳转网址';
alter table wuk_product ADD muyuurl char(100) not null default 'error' comment '基木鱼跳转网址';
v6.9.4
alter table wuk_order ADD wchatid int unsigned not null default 0 comment '识别的小程序数据id';
alter table wuk_order ADD wchatstate char(1) not null default '0' comment '小程序识别状态打开还是长按';
alter table wuk_order ADD checktype char(1) not null default '0' comment '识别模式';
DROP TABLE IF EXISTS wuk_wchatlongpree;
CREATE TABLE wuk_wchatlongpree
(
id int unsigned not null auto_increment,
acctontype char(1) not null default '1' comment '打开还是长按',
committime int unsigned not null comment '线索时间',
wchatname char(30) not null comment '微信号',
typemodel char(1) not null default '1' comment '小程序模板',
wchatip char(16) not null default '' comment '触发IP',
product_id int unsigned not null comment '产品id',
order_id int unsigned not null comment 'order表的id',
checktype char(1) not null default '1' comment '识别类型ip还是时间',
primary key (id),
key product_id(product_id),
key wchatip(wchatip)
)engine=MYISAM default charset=utf8 comment '小程序长按统计';
6.9.5小程序同步
alter table wuk_product ADD tongbu char(1) not null default 'n' comment '是否开启同步显示';
6.9.6API回传过滤
alter table wuk_product ADD apiback char(1) not null default '0' comment 'API回传过滤开关';
alter table wuk_product ADD apibackwchat char(1) not null default '0' comment 'API是否以小程序作为回传依据';
alter table wuk_product ADD apibacktime char(3) not null default '0' comment 'API回传过滤时长比例';
alter table wuk_product ADD apibackpb char(2) not null default '0' comment 'API回传过滤屏幕比例';
alter table wuk_product ADD apibackacc char(50) not null default '' comment 'API回传过滤动作';
6.9.7自建小程序
无
6.9.8头条深度
无
6.9.9企业微信接口 加粉上报
alter table wuk_product ADD corpwchat char(1) not null default '0' comment '是否使用企业微信';
alter table wuk_product ADD corpid char(18) not null default '' comment '企业微信Id';
alter table wuk_product ADD corpsecret char(50) not null default '' comment '企业微信API密码';
alter table wuk_product ADD encodingaeckey char(50) not null default '' comment '企业微信通知密码';
alter table wuk_product ADD corptoken char(50) not null default '' comment '企业微信token';
alter table wuk_product ADD corpback char(1) not null default '1' comment '是否以真实加粉数据进行自动上报';
alter table wuk_order ADD unionid char(50) not null default '' comment '长按用户的unioid';
alter table wuk_wchatlongpree ADD avatar char(150) not null default '' comment '好友头像';
alter table wuk_wchatlongpree ADD wxname char(50) not null default '' comment '好友名称';
alter table wuk_product ADD mywchat char(1) not null default '0' comment '是否使用基木鱼回传';
alter table wuk_product ADD myusername varchar(50) not null comment '基木鱼微信回传账号';
alter table wuk_product ADD mypassword varchar(50) not null comment '基木鱼微信回传密码';
alter table wuk_product ADD mytoken char(32) not null comment '基木鱼微信回传token';
alter table wuk_order ADD fid char(50) not null default '' comment '基木鱼fid';
7.0.0MP 长按最小
alter table wuk_product ADD isbridge char(100) not null default '' comment '中间页面网址';
7.0.1 更新小程序接口
无
7.0.2 优化小程序接口
无
7.0.3 js回传过滤
alter table wuk_product ADD jsbackacc char(50) not null default '' comment 'JS回传过滤动作';
alter table wuk_order ADD wk_js char(1) not null default 'n' comment 'js回传是否触发过 n没有';
alter table wuk_order ADD wchattitle char(200) not null default '' comment '小程序标题';
alter table wuk_order ADD weixin_img char(112) not null default '0' comment '二维码图片';
alter TABLE wuk_log MODIFY COLUMN `handle` varchar(500) not null default '' comment '具体操作';
7.0.4 名片识别
alter table wuk_product ADD tjguolvkg char(1) not null default '0' comment '是否开启统计过滤';
alter table wuk_product ADD tongjitime char(3) not null default '0' comment '统计时间过滤';
alter table wuk_product ADD tongjiheight char(2) not null default '0' comment '统计高度过滤';