欢迎来到 54818模板网!这是一个yzmcms的模板分享站。

yzm_member

相关案例演示

/**(V3.1 新增)
 * 用户表
 */
CREATE TABLE `yzm_member` (
  `userid` mediumint(8) unsigned NOT NULL AUTO_INCREMENT COMMENT '用户ID',
  `username` varchar(30) NOT NULL DEFAULT '' COMMENT '用户名',
  `password` char(32) NOT NULL DEFAULT '' COMMENT '密码',
  `regdate` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '注册时间',
  `lastdate` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '上次登录时间',
  `regip` char(15) NOT NULL DEFAULT '' COMMENT '注册IP',
  `lastip` char(15) NOT NULL DEFAULT '' COMMENT '上次登录IP',
  `loginnum` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT '登录次数',
  `email` char(32) NOT NULL DEFAULT '' COMMENT '邮箱',
  `groupid` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '用户组ID',
  `amount` decimal(8,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '金钱',
  `experience` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT '经验',
  `point` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT '积分',   //V6.9 修改 smallint(5)->mediumint(8)
  `status` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '0待审核,1正常,2锁定,3拒绝',
  `vip` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否会员',
  `overduedate` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '会员过期时间',
  `connectid` char(40) NOT NULL DEFAULT '', //V5.2 删除
  `fromlogin` char(10) NOT NULL DEFAULT '', //V5.2 删除
  `email_status` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '邮箱认证状态',
  `problem` varchar(39) NOT NULL DEFAULT '' COMMENT '安全问题',
  `answer` varchar(30) NOT NULL DEFAULT '' COMMENT '答案',
  PRIMARY KEY (`userid`),
  UNIQUE KEY `username` (`username`),
  KEY `email` (`email`)   //V5.2 修改已去掉 (20)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

    上一篇:yzm_link

    下一篇:yzm_member_detail

    作者:54818模板网 关注:440 时间:2023-05-17 08:48:22
    相关网站教程