HEX
Server: nginx/1.28.1
System: Linux 10-41-63-61 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 x86_64
User: www (1001)
PHP: 7.4.33
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: //www/wwwroot/jiafen.twues.com/wukong.sql
#####################管理员列表#############################
DROP TABLE IF EXISTS wuk_admin;
CREATE TABLE wuk_admin
(
    id tinyint unsigned not null auto_increment,
    username varchar(30) not null comment '账号',
    password char(32) not null comment '密码',
    login_time int unsigned comment '最后登录时间',
    login_ip varchar(15) comment '最后登录ip地址',
    login_number int unsigned not null default '0' comment '登录共计次数',
    endtime int unsigned not null comment '账号到期时间',
    procount int unsigned not null default 10 comment '可添加的产品数量默认10个',
    gro_switch char(1) not null default '0' comment '是否开启微信池',
	roletype char(1) not null default '0' comment '权限角色',
    primary key (id)
)engine=MyISAM default charset=utf8 comment '管理员表';
INSERT INTO wuk_admin VALUES('1','admin','8408A152F58F507224F5A257E146E1B4','0','0','0','1924876800','10000','0','0');

###########################操作日志########################
DROP TABLE IF EXISTS wuk_log;
CREATE TABLE wuk_log
(
    id int unsigned not null auto_increment,
    admin_id smallint unsigned not null comment '管理员id',
    handle_time int unsigned not null comment '操作时间',
    handle varchar(500) not null default '' comment '具体操作',
    primary key (id),
    key (admin_id)
)engine=MyISAM default charset=utf8 comment '操作日志表';

###############################产品表######################
DROP TABLE IF EXISTS wuk_product;
CREATE TABLE wuk_product
(
    id smallint unsigned not null auto_increment,
    uniq char(13) not null comment '产品的唯一标识用于',
    admin_id smallint not null comment '添加产品的管理员id',
    product_name char(32) not null comment '产品名称必填',
    weixin_medthod char(1) not null default '0' comment '微信号显示方式0随机显示',
    area_switch char(1) not null default '0' comment '是否开启屏蔽0不开启',
    pc_switch char(1) not null default '0' comment '是否开启PC屏蔽0不开启',
    pc_ewm char(1) not null default '0' comment '是否开启PC二维码0不开启',
    pcwz char(100) not null default '0' comment '二维码提示文字',
    area_shd char(100) not null default '0' comment '地区屏蔽',
    tzurl char(100) not null default '0' comment '屏蔽地区跳转网址',
    zd_copy char(1) not null default '0' comment '点击复制0不开启',
    zd_goto char(1) not null default '0' comment '自动唤醒微信0不开启',
    tztime char(1) not null default '0' comment '唤醒微信等待时间',
    lbtime char(2) not null default '1' comment '微信切换时间',
    wxcache char(2) not null default '0' comment '微信缓存',
    apitoken char(100) not null default '' comment '百度token',
    apinewtype char(20) not null default '3' comment 'api回传newType',
    tuigtype char(20) not null default '' comment '360推广类型',
    sllsecret char(100) not null default '' comment '360Secret',
    shennewtype char(20) not null default '' comment '百度深度转化类型',
    shendukg char(1) not null default '0' comment '深度统计开关',
    apikg char(1) not null default '0' comment 'api开关',
    istiao char(1) not null default '0' comment '是否开启二跳 0关闭',
    tiaourl char(100) not null default '' comment '二跳域名',
    apitype char(1) not null default '1' comment 'api类型 0头条 1百度 2神马',
    autofre char(2) not null default '0' comment '是否开启自动刷新',
    apiauto char(1) not null default '0' comment 'api是否自动回传 1自动 0手动',
    smname char(100) not null default '' comment '神马账号',
    smpass char(100) not null default '' comment '神马密码',
    gdtid char(20) not null default '' comment '广点通账号ID',
    gdtdataid char(20) not null default '' comment '广点通数据源ID',
    showtype char(3) not null default 'v0' comment '弹窗样式',
    tongjikg char(1) not null default '0' comment '百度统计api开关',
    keyname char(50) not null default '' comment '百度统计账号',
    keypass char(50) not null default '' comment '百度统计密码',
    keytoken char(50) not null default '' comment '百度统计token',
    keyid char(50) not null default '' comment '百度统计站点Id',
    add_time int unsigned not null comment '添加时间',
    view_count int unsigned not null comment '浏览次数',
    gzid varchar(100) not null default '' comment '渠道码',
    fullswitch char(1) not null default '0' comment '是否开启自动下线0关闭1开启',
    isonline char(1) not null default '0' comment '是否统计实时流量',
	apiheight char(2) not null default '10' comment 'api回传比例',
    small char(200) comment '小程序唯一标识',
    copytime char(3) not null default '0' comment 'js回传时间过滤',
    copyheight char(2) not null default '0' comment 'js回传高度过滤',
    shield char(1) not null default '0' comment '是否开启js过滤',
    searchfrom char(20) not null default '0' comment '数据来源触发',
    zduan char(1) not null default '1' comment '触发终端',
    ztime smallint not null default '10' comment 'js回传比例控制',
    zcount smallint not null default '0' comment '触发次数',
    iptz char(1) not null default '0' comment '小程序长按统计规则0长按2名片',
    ipurl char(100) not null default '' comment 'ip跳转网址',
    wk_beizhu char(100) not null default '' comment '信息备注',
	gtwchat char(1) not null default '0' comment '小程序跳转开关',
    wchattoken char(32) not null default '' comment '小程序跳转token',
    wchattitle char(200) not null default '' comment '小程序标题',
    wchattype char(1) not null default '1' comment '小程序模板',
    gtwchaturl char(100) not null default 'error' comment '小程序跳转网址',
    muyuurl char(100) not null default 'error' comment '基木鱼跳转网址',
	isbridge char(100) not null default '' comment '中间页面网址',
	tongbu char(1) not null default 'n' comment '是否开启同步显示',
	apiback char(1) not null default '0' comment 'API回传过滤开关',
    apibacktime char(3) not null default '0' comment 'API回传过滤时长比例',
    apibackpb char(2) not null default '0' comment 'API回传过滤屏幕比例',
    apibackacc char(50) not null default '' comment 'API回传过滤动作',
	jsbackacc char(50) not null default '' comment 'JS回传过滤动作',
    apibackwchat char(1) not null default '0' comment 'API是否以小程序作为回传依据',
	corpwchat char(1) not null default '0' comment '是否使用企业微信',
    corpid char(18) not null default '' comment '企业微信Id',
    corpsecret char(50) not null default '' comment '企业微信API密码',
    encodingaeckey char(50) not null default '' comment '企业微信通知密码',
    corptoken char(50) not null default '' comment '企业微信token',
    corpback char(1) not null default '1' comment '是否以真实加粉数据进行自动上报',
	mywchat char(1) not null default '0' comment '是否使用基木鱼回传',
    myusername varchar(50) not null comment '基木鱼微信回传账号',
    mypassword varchar(50) not null comment '基木鱼微信回传密码',
    mytoken char(32) not null comment '基木鱼微信回传token',
	tjguolvkg char(1) not null default '0' comment '是否开启统计过滤',
    tongjitime char(3) not null default '0' comment '统计时间过滤',
    tongjiheight char(2) not null default '0' comment '统计高度过滤',
    primary key (id),
    key uniq(uniq)
)engine=MYISAM default charset=utf8 comment '产品表';


#############################产品微信号表########################
DROP TABLE IF EXISTS wuk_weixin;
CREATE TABLE wuk_weixin
(
    id int unsigned not null auto_increment,
    product_id smallint unsigned not null comment '所属产品表的id',
    wcgroup char(10) not null default '' comment '微信号分组',
    wxname char(30) not null default '' comment '微信昵称',
    wxsex char(10) not null default '' comment '性别他她',
    weixin char(30) not null comment '微信号',
    state_w char(5) not null default '1' comment '微信状态',
    tel char(11) not null default '' comment '手机号',
    weixin_img char(112) not null default '0' comment '二维码图片',
    weixin_sjd char(100) not null default '0' comment '微信时间段',
    add_time int unsigned not null comment '添加时间',
    fullnumber int unsigned not null default 10 comment '复制次数上限',
    weight int unsigned not null default 1 comment '权重',
    primary key (id),
    key product_id(product_id),
    key state_w(state_w)
)engine=MYISAM default charset=utf8 comment '产品微信表';
#############################微信池########################
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 '微信池';
####################################微信统计表############################
DROP TABLE IF EXISTS wuk_order;
CREATE TABLE wuk_order
(
    id int unsigned not null auto_increment,
    product_id smallint unsigned not null comment '统计所属产品id',
    wk_ip char(16) not null comment 'ip',
    wk_ippos char(30) not null comment 'ip归宿地',
    add_time int unsigned not null comment '提交时间',
    weixin char(30) not null comment '复制微信号',
    action_wx char(200) not null comment '具体动作',
    wk_key char(100) not null comment '搜索关键字',
    wk_gzid char(150) not null default ''  comment 'gzid',
    wk_viewtime int unsigned not null default 1 comment '浏览时长',
    wk_height int unsigned not null default 1 comment '浏览百分比',
    wk_api char(10) not null default 'n'  comment 'api回传状态 n未上传 y已上传 e数据不合符',
    shendustate char(1) not null default '0'  comment '深度回传状态 1已回传',
    apibacktime int unsigned not null default 0 comment 'api回传时间',
    wk_terminal char(50) not null  comment '设备终端',
    wk_xiadanurl varchar(500) not null comment '页面地址',
    wk_beizhu char(100) not null default '' comment '信息备注',
    wk_url varchar(500) not null comment 'url过滤',
	wchatid int unsigned not null default 0 comment '识别的小程序数据id',
    wchatstate char(1) not null default '0' comment '小程序识别状态打开还是长按',
    checktype char(1) not null default '0' comment '识别模式',
	unionid char(50) not null default ''  comment '长按用户的unioid',
	fid char(50) not null default ''  comment '基木鱼fid',
	wk_js char(1) not null default 'n'  comment 'js回传是否触发过 n没有',
    wchattitle char(200) not null default '' comment '小程序标题',
    weixin_img char(112) not null default '0' comment '二维码图片',
    primary key (id),
    key product_id(product_id),
    key weixin(weixin),
    key add_time(add_time)
)engine=MYISAM default charset=utf8 comment '微信统计表';
#####################商盾拦截系统#######################################
DROP TABLE IF EXISTS wuk_shield;
CREATE TABLE wuk_shield
(
    id int unsigned not null auto_increment,
    product_id smallint unsigned not null comment '统计所属产品id',
    wk_source char(30) not null comment '来源判定',
    wk_count char(30) not null comment '访问次数',
    wk_terminal char(30) not null comment '设备终端',
    wk_ip char(30) not null comment 'ip',
    wk_ippos char(30) not null comment 'ip归宿地',
    wk_xiadanurl varchar(500) not null comment '页面地址',
    add_time int unsigned not null comment '触发时间',
    primary key (id),
    key product_id(product_id)
)engine=MYISAM default charset=utf8 comment '商盾拦截系统';
####################################实时流量############################
DROP TABLE IF EXISTS wuk_online;
CREATE TABLE wuk_online
(
    id int unsigned not null auto_increment,
    product_id smallint unsigned not null comment '统计所属产品id',
    viewcount smallint unsigned not null comment '访问次数',
    wk_ip char(16) not null comment 'ip',
    wk_ippos char(30) not null comment 'ip归宿地',
    add_time int unsigned comment '浏览时间',
    weixin char(30) not null comment '浏览微信号',
    gzid char(150) not null default '' comment '渠道码',
    iscopy char(50) not null default '0' comment '是否复制',
    wk_height int unsigned not null default 1 comment '浏览百分比',
    viewhour char(5) not null default '0' comment '浏览小时',
    wk_viewtime int unsigned not null default 1 comment '浏览时长',
    wk_key char(100) not null comment '搜索关键字',
    wk_terminal char(50) not null  comment '设备终端',
    wk_xiadanurl varchar(500) not null comment '页面地址',
    wk_url varchar(500) not null comment 'url过滤',
    primary key (id),
    key product_id(product_id),
    key weixin(weixin),
    key wk_ip(wk_ip),
    key add_time(add_time)
)engine=MYISAM default charset=utf8 comment '微信实时流量';
###########################小程序#############################
DROP TABLE IF EXISTS wuk_small;
CREATE TABLE wuk_small
(
    id int unsigned not null auto_increment,
    adminid tinyint unsigned not null comment '安装的账户id',
    small_name char(50) not null comment '小程序名称',
    small_rulname char(100) not null comment '小程序文件名',
    primary key (id)
)engine=MYISAM default charset=utf8 comment '小程序安装文件表';
###########################加粉上报#############################
DROP TABLE IF EXISTS wuk_upchat;
CREATE TABLE wuk_upchat
(
    id int unsigned not null auto_increment,
    product_id smallint unsigned not null comment '产品id',
    weixin char(30) not null comment '上报微信号',
    wxstate smallint unsigned not null comment '微信状态',
    add_time int unsigned not null comment '上报时间',
    primary key (id),
    key product_id(product_id),
    key weixin(weixin)
)engine=MYISAM default charset=utf8 comment '真实加粉上报';
###########################计划任务表#############################
DROP TABLE IF EXISTS wuk_ontime;
CREATE TABLE wuk_ontime
(
    id int unsigned not null auto_increment,
    product_id smallint unsigned not null comment '产品id',
    ac_type char(1) not null comment '计划动作 0下线 1上线',
    ac_count char(1) not null comment '执行次数 0执行一次 1循环',
    ac_wxtype char(50) not null comment '执行微信单元 0微信1分组2全部',
    ac_weixin char(50) not null comment '待执行的微信号或者分组名',
    ac_time int unsigned not null comment '计划时间',
    ac_allcount int unsigned not null default 0 comment '已执行次数',
    ac_state char(1) not null default '0' comment '执行状态 0等待执行 1已执行',
    admin_id smallint not null comment '添加者ID',
    primary key (id),
    key product_id(product_id)
)engine=MYISAM default charset=utf8 comment '计划任务';
###########################屏蔽跳转表#############################
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 '屏蔽跳转';
###########################基木鱼百度账号#############################
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 '基木鱼线索表';
####################################小程序长按统计############################
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还是时间',
	avatar char(150) not null default '' comment '好友头像',
    wxname char(50) not null default '' comment '好友名称',
    primary key (id),
    key product_id(product_id),
    key wchatip(wchatip)
)engine=MYISAM default charset=utf8 comment '小程序长按统计';