# nlc_server **Repository Path**: hzygit/nlc_server ## Basic Information - **Project Name**: nlc_server - **Description**: No description available - **Primary Language**: Python - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2015-03-26 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #nlc_server #个人用户 CREATE TABLE `nlc_user` ( `user_login_name` char(15) NOT NULL DEFAULT '', //登录名 `user_pass` char(32) NOT NULL, //密码,需要用MD5加密后储存 `user_web_name` char(10) DEFAULT NULL, //网名,可为中文 `user_gender` char(1) DEFAULT '无', //性别 `user_school` char(20) DEFAULT '无', //学校 `user_qq` char(11) DEFAULT '无', //qq `user_phone` char(11) DEFAULT NULL, //手机号 `user_score` int(11) DEFAULT '0', //评分 `user_star_level` int(1) DEFAULT '0', //星级 `user_flag` char(10) DEFAULT '新用户', `user_pic` char(30) DEFAULT 'default_path', `user_ver_problem` char(20) DEFAULT NULL, `user_ver_answer` char(20) DEFAULT NULL, PRIMARY KEY (`user_login_name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; #学校团体 CREATE TABLE `nlc_group` ( `group_login_name` char(20) NOT NULL, `group_pass` char(32) NOT NULL, `group_name` char(20) NOT NULL DEFAULT '', `group_school` char(20) DEFAULT NULL, `group_leader_name` char(15) DEFAULT NULL, `group_email` char(20) DEFAULT NULL, `group_pic` char(30) DEFAULT 'default_path', `group_score` int(11) DEFAULT NULL, `group_star_level` int(11) DEFAULT '0', `group_flag` char(11) DEFAULT '推荐团体', `group_ver_problem` char(20) DEFAULT NULL, `group_ver_answer` char(20) DEFAULT NULL, PRIMARY KEY (`group_login_name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; #活动 CREATE TABLE `nlc_activity` ( `ac_id` int(11) unsigned NOT NULL AUTO_INCREMENT, `ac_title` char(30) NOT NULL DEFAULT '', `ac_address` char(30) NOT NULL, `ac_key_word` char(8) DEFAULT NULL, `ac_start_time` date NOT NULL DEFAULT '2015-01-01', `ac_end_time` date NOT NULL DEFAULT '2015-11-11', `ac_content` varchar(300) NOT NULL DEFAULT '', `ac_pics` char(100) DEFAULT NULL, `ac_rank` int(11) unsigned NOT NULL DEFAULT '1', `ac_score` int(11) unsigned NOT NULL DEFAULT '0', `ac_flag` char(11) DEFAULT '新活动', `ac_creator_type` int(1) NOT NULL DEFAULT '0', `ac_creator_name` char(20) NOT NULL DEFAULT '', PRIMARY KEY (`ac_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8;