数据表字典


ky_addon

字段备注类型长度默认值主键自增可为空
id自增主键int10
110
title应用名称varchar50
000
name标识名varchar50
000
desc简介varchar200
000
version版本号varchar10
000
author作者姓名varchar50
000
logoLOGOvarchar255
000
admin_url后台入口varchar160
000
admin_url_type管理后台:1使用系统 2自建后台tinyint
1000
status状态tinyint
1000
create_time
int100000
update_time
int100000
type支持平台varchar100mp000
cates分类标签varchar200
000

ky_admin

字段备注类型长度默认值主键自增可为空
id
int10
110
group_id所属部门int101000
username账号varchar50
000
password密码char60
000
email邮箱varchar100
000
mobile手机号varchar15
000
realname姓名varchar20
000
ip登录ipvarchar15
000
status状态tinyint
1000
last_time最后登录时间int100000
create_time新增时间int100000
update_time最后修改时间int100000
pid所属商户IDint100000

ky_admin_group

字段备注类型长度默认值主键自增可为空
id
smallint5
110
admin_id商户IDint100000
name部门标识varchar15
000
title
char100
000
status
tinyint
1000
rules
text65535
000
sort
tinyint
0000
pid
int100000
create_time创建时间int100000
remark备注varchar255
000
update_time
int100000
tenant_group是否客户角色tinyint
0000

ky_admin_rule

字段备注类型长度默认值主键自增可为空
id
int10
110
name标识varchar30
000
title标题名称varchar30
000
pid父级菜单int100000
icon图标varchar30
000
href路径varchar50
000
target打开方式enum_self,_blank_self000
status是否显示tinyint
1000
create_time创建时间int100000
update_time最后更新时间int100000
sort数字越小越靠前int100000
type1菜单 2权限tinyint
1000

ky_bot

字段备注类型长度默认值主键自增可为空
id
int10
110
admin_id商户IDint101000
staff_id员工IDint100000
title账号varchar50
000
app_key密码varchar64
000
nickname微信用户昵称varchar50
000
headimgurl头像varchar255
000
status状态tinyint
1000
create_time新增时间int100000
update_time最后修改时间int100000
uuid微信号或会话IDvarchar30
000
uin当前登录微信用户的idvarchar320000
is_current是否当前操作tinyint
0000
login_time登录时间int100000
protocol使用协议: vlw,webvarchar20vlw000
url接口地址varchar200
000
alive是否登录tinyint
0000
username微信号varchar30
000

ky_bot_apply

字段备注类型长度默认值主键自增可为空
id
int10
110
admin_id
int100000
wx_num
varchar50
000
deadline截至日期int100000
status0 1 2tinyint
0000
create_time
int100000
update_time
int100000
month开通月数int100000
staff_id绑定员工idint100000

ky_bot_groupmember

字段备注类型长度默认值主键自增可为空
id
int10
110
bot_id机器人idint100000
group_id群idint100000
wxid成员wxidvarchar1000000
nickname成员微信昵称varchar50
000
group_nickname群内昵称varchar50
000
username微信号varchar100
000
create_time新增时间int100000
update_time最后修改时间int100000
headimgurl头像varchar200
000

ky_bot_member


字段备注类型长度默认值主键自增可为空
id
int10
110
uin机器人idvarchar32
000
alias别名varchar30
000
nickname微信用户昵称varchar50
000
remark_name备注名varchar50
000
usernamexp:  用户微信号 web:当前登录下的好友唯一标识(每次登录不一样)varchar100
000
create_time新增时间int100000
update_time最后修改时间int100000
typefriend、group、mpvarchar10friend000
headimgurl
varchar200
000
wxid微信idvarchar100
000
internal企业微信区分内部和外部,默认外部群tinyint
2000
last_chat_time最后聊天时间int100000
sex1男 2女tinyint
1000
province
varchar50
000
city
varchar50
000
dnd消息免打扰tinyint
0000
new是否有新消息tinyint
0000
tags用户分组varchar200
000



ky_district

字段备注类型长度默认值主键自增可为空
id
int10
100
title名称varchar50
000
pid上级idint100000

ky_emoji_code

字段备注类型长度默认值主键自增可为空
id
int10
110
class
varchar30
000
name
varchar40
000
unified
varchar20
000
docomo
varchar20
000
kddi
varchar20
000
softbank
varchar20
000
google
varchar20
000
softb_unicode
varchar20
000

ky_forward

字段备注类型长度默认值主键自增可为空
id
int10
110
admin_id
int10
000
bot_idbot idint100000
group_id群聊idint100000
officer指挥官varchar200
000
create_time
int100000
update_time
int100000
status
tinyint
1000
wxids转发对象text65535
001
member_tags分组标签varchar200
000

ky_group_rule

字段备注类型长度默认值主键自增可为空
id
int10
110
admin_id
int100000
bot_id
int100000
wxids
text65535
001
rulerm移除群varchar20rm000
status
tinyint
0000
create_time
int100000
update_time
int100000
value设置值varchar100
000

ky_keyword

字段备注类型长度默认值主键自增可为空
id
int10
110
admin_id
int10
000
bot_id
int100000
keyword关键词varchar50
000
media_type回复类型varchar20
000
media_id触发应用int100000
status1正常 0禁用tinyint
1000
create_time
int100000
update_time
int100000
wxids作用对象,好友wxid或群wxidtext65535
001
sort
int100000
user_type0所有 1好友 2群聊tinyint
0000
need_at艾特提问者tinyint
0000

ky_media_file_1

字段备注类型长度默认值主键自增可为空
id自增idint10
110
admin_id会员idint100000
title文本内容varchar50
000
url图片urlvarchar200
000
create_time
int100000
update_time
int100000
size文件大小(用于判断上传的图片是否小于微信素材库的限制2M)int100000
ext格式varchar255
000
location
varchar20qiniu000
group_id分组idint100000

ky_media_file_2

字段备注类型长度默认值主键自增可为空
id自增idint10
110
admin_id会员idint100000
title文本内容varchar50
000
url图片urlvarchar200
000
create_time
int100000
update_time
int100000
size文件大小(用于判断上传的图片是否小于微信素材库的限制2M)int100000
ext格式varchar255
000
location
varchar20qiniu000
group_id分组idint100000

ky_media_file_3

字段备注类型长度默认值主键自增可为空
id自增idint10
110
admin_id会员idint100000
title文本内容varchar50
000
url图片urlvarchar200
000
create_time
int100000
update_time
int100000
size文件大小(用于判断上传的图片是否小于微信素材库的限制2M)int100000
ext格式varchar255
000
location
varchar20qiniu000
group_id分组idint100000

ky_media_file_4

字段备注类型长度默认值主键自增可为空
id自增idint10
110
admin_id会员idint100000
title文本内容varchar50
000
url图片urlvarchar200
000
create_time
int100000
update_time
int100000
size文件大小(用于判断上传的图片是否小于微信素材库的限制2M)int100000
ext格式varchar255
000
location
varchar20qiniu000
group_id分组idint100000

ky_media_file_5

字段备注类型长度默认值主键自增可为空
id自增idint10
110
admin_id会员idint100000
title文本内容varchar50
000
url图片urlvarchar200
000
create_time
int100000
update_time
int100000
size文件大小(用于判断上传的图片是否小于微信素材库的限制2M)int100000
ext格式varchar255
000
location
varchar20qiniu000
group_id分组idint100000

ky_media_group

字段备注类型长度默认值主键自增可为空
id
int10
110
title
varchar255
000
create_time
int100000
update_time
int100000
admin_id
int100000

ky_media_image_1

字段备注类型长度默认值主键自增可为空
id自增idint10
110
admin_id会员idint100000
title文本内容varchar50
000
url图片urlvarchar200
000
create_time
int100000
update_time
int100000
size文件大小(用于判断上传的图片是否小于微信素材库的限制2M)int100000
ext图片格式enumbmp,jpg,jpeg,png,gifjpg000
location位置Local,Qiniuvarchar50
000
group_id分组idint100000

ky_media_image_2

字段备注类型长度默认值主键自增可为空
id自增idint10
110
admin_id会员idint100000
title文本内容varchar50
000
url图片urlvarchar200
000
create_time
int100000
update_time
int100000
size文件大小(用于判断上传的图片是否小于微信素材库的限制2M)int100000
ext图片格式enumbmp,jpg,jpeg,png,gifjpg000
location位置Local,Qiniuvarchar50
000
group_id分组idint100000

ky_media_image_3

字段备注类型长度默认值主键自增可为空
id自增idint10
110
admin_id会员idint100000
title文本内容varchar50
000
url图片urlvarchar200
000
create_time
int100000
update_time
int100000
size文件大小(用于判断上传的图片是否小于微信素材库的限制2M)int100000
ext图片格式enumbmp,jpg,jpeg,png,gifjpg000
location位置Local,Qiniuvarchar50
000
group_id分组idint100000

ky_media_image_4

字段备注类型长度默认值主键自增可为空
id自增idint10
110
admin_id会员idint100000
title文本内容varchar50
000
url图片urlvarchar200
000
create_time
int100000
update_time
int100000
size文件大小(用于判断上传的图片是否小于微信素材库的限制2M)int100000
ext图片格式enumbmp,jpg,jpeg,png,gifjpg000
location位置Local,Qiniuvarchar50
000
group_id分组idint100000

ky_media_image_5

字段备注类型长度默认值主键自增可为空
id自增idint10
110
admin_id会员idint100000
title文本内容varchar50
000
url图片urlvarchar200
000
create_time
int100000
update_time
int100000
size文件大小(用于判断上传的图片是否小于微信素材库的限制2M)int100000
ext图片格式enumbmp,jpg,jpeg,png,gifjpg000
location位置Local,Qiniuvarchar50
000
group_id分组idint100000

ky_media_link_1

字段备注类型长度默认值主键自增可为空
id自增idint10
110
admin_id会员idint100000
title文本内容varchar50
000
desc描述varchar255
000
url图片urlvarchar200
000
image_url
varchar200
000
create_time
int100000
update_time
int100000
group_id分组idint100000

ky_media_link_2

字段备注类型长度默认值主键自增可为空
id自增idint10
110
admin_id会员idint100000
title文本内容varchar50
000
desc描述varchar255
000
url图片urlvarchar200
000
image_url
varchar200
000
create_time
int100000
update_time
int100000
group_id分组idint100000

ky_media_link_3

字段备注类型长度默认值主键自增可为空
id自增idint10
110
admin_id会员idint100000
title文本内容varchar50
000
desc描述varchar255
000
url图片urlvarchar200
000
image_url
varchar200
000
create_time
int100000
update_time
int100000
group_id分组idint100000

ky_media_link_4

字段备注类型长度默认值主键自增可为空
id自增idint10
110
admin_id会员idint100000
title文本内容varchar50
000
desc描述varchar255
000
url图片urlvarchar200
000
image_url
varchar200
000
create_time
int100000
update_time
int100000
group_id分组idint100000

ky_media_link_5

字段备注类型长度默认值主键自增可为空
id自增idint10
110
admin_id会员idint100000
title文本内容varchar50
000
desc描述varchar255
000
url图片urlvarchar200
000
image_url
varchar200
000
create_time
int100000
update_time
int100000
group_id分组idint100000

ky_media_text_1

字段备注类型长度默认值主键自增可为空
id自增主键int10
110
admin_id用户idint100000
title备注varchar30
000
content文本内容text65535
000
create_time
int100000
update_time
int100000
group_id分组idint100000

ky_media_text_2

字段备注类型长度默认值主键自增可为空
id自增主键int10
110
admin_id用户idint100000
title备注varchar30
000
content文本内容text65535
000
create_time
int100000
update_time
int100000
group_id分组idint100000

ky_media_text_3

字段备注类型长度默认值主键自增可为空
id自增主键int10
110
admin_id用户idint100000
title备注varchar30
000
content文本内容text65535
000
create_time
int100000
update_time
int100000
group_id分组idint100000

ky_media_text_4

字段备注类型长度默认值主键自增可为空
id自增主键int10
110
admin_id用户idint100000
title备注varchar30
000
content文本内容text65535
000
create_time
int100000
update_time
int100000
group_id分组idint100000

ky_media_text_5

字段备注类型长度默认值主键自增可为空
id自增主键int10
110
admin_id用户idint100000
title备注varchar30
000
content文本内容text65535
000
create_time
int100000
update_time
int100000
group_id分组idint100000

ky_media_video_1

字段备注类型长度默认值主键自增可为空
id自增idint10
110
admin_id会员idint100000
title文本内容varchar50
000
url图片urlvarchar200
000
create_time
int100000
update_time
int100000
size文件大小(用于判断上传的图片是否小于微信素材库的限制2M)int100000
ext格式varchar8
000
group_id分组idint100000

ky_media_video_2

字段备注类型长度默认值主键自增可为空
id自增idint10
110
admin_id会员idint100000
title文本内容varchar50
000
url图片urlvarchar200
000
create_time
int100000
update_time
int100000
size文件大小(用于判断上传的图片是否小于微信素材库的限制2M)int100000
ext格式varchar8
000
group_id分组idint100000

ky_media_video_3

字段备注类型长度默认值主键自增可为空
id自增idint10
110
admin_id会员idint100000
title文本内容varchar50
000
url图片urlvarchar200
000
create_time
int100000
update_time
int100000
size文件大小(用于判断上传的图片是否小于微信素材库的限制2M)int100000
ext格式varchar8
000
group_id分组idint100000

ky_media_video_4

字段备注类型长度默认值主键自增可为空
id自增idint10
110
admin_id会员idint100000
title文本内容varchar50
000
url图片urlvarchar200
000
create_time
int100000
update_time
int100000
size文件大小(用于判断上传的图片是否小于微信素材库的限制2M)int100000
ext格式varchar8
000
group_id分组idint100000

ky_media_video_5

字段备注类型长度默认值主键自增可为空
id自增idint10
110
admin_id会员idint100000
title文本内容varchar50
000
url图片urlvarchar200
000
create_time
int100000
update_time
int100000
size文件大小(用于判断上传的图片是否小于微信素材库的限制2M)int100000
ext格式varchar8
000
group_id分组idint100000

ky_member_tag

字段备注类型长度默认值主键自增可为空
id
int10
110
bot_idbot IDint100000
title标签varchar30
000
create_time
int100000
update_time
int100000

ky_moments

字段备注类型长度默认值主键自增可为空
id
int10
110
admin_id
int10
000
bot_id
text65535
001
media_type回复类型varchar20
000
media_id触发应用varchar2000000
status1正常 0禁用tinyint
1000
create_time
int100000
update_time
int100000
content配文text65535
001
publish_time
int100000
plan_time计划发圈时间int100000

ky_moments_follow

字段备注类型长度默认值主键自增可为空
id
int10
110
admin_id
int100000
bot_id机器人idint100000
wxids接收者wxids,逗号隔开text65535
001
create_time
int100000
update_time
int100000
status
tinyint
1000
last_time最后同步时间int100000

ky_reply

字段备注类型长度默认值主键自增可为空
id
int10
110
admin_id
int10
000
bot_id
int100000
event事件/消息类型varchar10beadded000
media_type回复类型varchar20
000
media_id触发应用int100000
status1正常 0禁用tinyint
1000
create_time
int100000
update_time
int100000
wxids作用对象,好友wxid或群wxidtext65535
001
sort
int100000
need_at是否需要attinyint
0000
handle_type响应类型:msg回复消息  rm移出群  del删除好友varchar20msg000
msg_type消息类型smallint51000

ky_server

字段备注类型长度默认值主键自增可为空
id
int10
110
url接口地址varchar2000.0.0.0000
app_keyappkeyvarchar200
000
num支持微信号数量int100000
status
tinyint
1000
create_time
int100000
update_time
int100000

ky_setting

字段备注类型长度默认值主键自增可为空
id
int10
110
name标识varchar30
000
title名称varchar30
000
value配置值text65535
001
create_time
int100000
update_time
int100000

ky_task

字段备注类型长度默认值主键自增可为空
id
int10
110
admin_id
int100000
bot_id机器人idint100000
title任务名称varchar100
000
member_tags分组标签varchar200
000
wxids接收者wxids,逗号隔开longtext

001
plan_time计划发送时间int100000
complete_time任务结束时间int100000
create_time
int100000
update_time
int100000
status
tinyint
1000
medias回复内容text65535
001
circle1单次 2每天发tinyint
1000
plan_hour具体的发送时段char500:00000
atall是否艾特所有人tinyint
0000

ky_tj_group

字段备注类型长度默认值主键自增可为空
id
int10
110
group_id
int100000
dayY-m-d格式日期char100000-00-00000
add_num访问量int101000
decr_num老访客访问量int100000
admin_id
int100000
bot_id
int100000

ky_whiteid

字段备注类型长度默认值主键自增可为空
id
int10
110
admin_id
int100000
bot_id
int100000
group_wxidvarchar32
000
wxids
text65535
001
status
tinyint
1000
create_time
int100000
update_time
int100000