• 基于SSM的营业厅宽带系统


    末尾获取源码
    开发语言:Java
    Java开发工具:JDK1.8
    后端框架:SSM
    前端:采用JSP技术开发
    数据库:MySQL5.7和Navicat管理工具结合
    服务器:Tomcat8.5
    开发软件:IDEA / Eclipse
    是否Maven项目:是



    一、项目简介

    现代经济快节奏发展以及不断完善升级的信息化技术,让传统数据信息的管理升级为软件存储,归纳,集中处理数据信息的管理方式。本营业厅宽带系统就是在这样的大环境下诞生,其可以帮助管理者在短时间内处理完毕庞大的数据信息,使用这种软件工具可以帮助管理人员提高事务处理效率,达到事半功倍的效果。此营业厅宽带系统利用当下成熟完善的SSM框架,使用跨平台的可开发大型商业网站的Java语言,以及最受欢迎的RDBMS应用软件之一的Mysql数据库进行程序开发。实现了健身房基础数据的管理,员工的管理,公告信息的发布等功能。营业厅宽带系统的开发根据操作人员需要设计的界面简洁美观,在功能模块布局上跟同类型网站保持一致,程序在实现基本要求功能时,也为数据信息面临的安全问题提供了一些实用的解决方案。可以说该程序在帮助管理者高效率地处理工作事务的同时,也实现了数据信息的整体化,规范化与自动化。


    二、论文截图



    三、系统项目截图

    3.1用户信息管理

    此页面提供给管理员的功能有:查看已发布的用户信息,修改用户信息或更换用户内容,用户信息作废,即可删除。

    3.2宽带类型管理

    此页面提供给管理员的功能有:对宽带类型的新增、修改、删除功能

    3.3宽带信息管理

    此页面提供给管理员的功能有:对全部的宽带信息的一个管理、可以根据宽带信息名称进行模糊查询。

     


    四、核心代码

    4.1登录相关

    1. package com.controller;
    2. import java.util.Arrays;
    3. import java.util.Calendar;
    4. import java.util.Date;
    5. import java.util.Map;
    6. import javax.servlet.http.HttpServletRequest;
    7. import org.springframework.beans.factory.annotation.Autowired;
    8. import org.springframework.stereotype.Controller;
    9. import org.springframework.web.bind.annotation.GetMapping;
    10. import org.springframework.web.bind.annotation.PathVariable;
    11. import org.springframework.web.bind.annotation.PostMapping;
    12. import org.springframework.web.bind.annotation.RequestBody;
    13. import org.springframework.web.bind.annotation.RequestMapping;
    14. import org.springframework.web.bind.annotation.RequestParam;
    15. import org.springframework.web.bind.annotation.ResponseBody;
    16. import org.springframework.web.bind.annotation.RestController;
    17. import com.annotation.IgnoreAuth;
    18. import com.baomidou.mybatisplus.mapper.EntityWrapper;
    19. import com.entity.TokenEntity;
    20. import com.entity.UserEntity;
    21. import com.service.TokenService;
    22. import com.service.UserService;
    23. import com.utils.CommonUtil;
    24. import com.utils.MD5Util;
    25. import com.utils.MPUtil;
    26. import com.utils.PageUtils;
    27. import com.utils.R;
    28. import com.utils.ValidatorUtils;
    29. /**
    30. * 登录相关
    31. */
    32. @RequestMapping("users")
    33. @RestController
    34. public class UserController{
    35. @Autowired
    36. private UserService userService;
    37. @Autowired
    38. private TokenService tokenService;
    39. /**
    40. * 登录
    41. */
    42. @IgnoreAuth
    43. @PostMapping(value = "/login")
    44. public R login(String username, String password, String captcha, HttpServletRequest request) {
    45. UserEntity user = userService.selectOne(new EntityWrapper().eq("username", username));
    46. if(user==null || !user.getPassword().equals(password)) {
    47. return R.error("账号或密码不正确");
    48. }
    49. String token = tokenService.generateToken(user.getId(),username, "users", user.getRole());
    50. return R.ok().put("token", token);
    51. }
    52. /**
    53. * 注册
    54. */
    55. @IgnoreAuth
    56. @PostMapping(value = "/register")
    57. public R register(@RequestBody UserEntity user){
    58. // ValidatorUtils.validateEntity(user);
    59. if(userService.selectOne(new EntityWrapper().eq("username", user.getUsername())) !=null) {
    60. return R.error("用户已存在");
    61. }
    62. userService.insert(user);
    63. return R.ok();
    64. }
    65. /**
    66. * 退出
    67. */
    68. @GetMapping(value = "logout")
    69. public R logout(HttpServletRequest request) {
    70. request.getSession().invalidate();
    71. return R.ok("退出成功");
    72. }
    73. /**
    74. * 密码重置
    75. */
    76. @IgnoreAuth
    77. @RequestMapping(value = "/resetPass")
    78. public R resetPass(String username, HttpServletRequest request){
    79. UserEntity user = userService.selectOne(new EntityWrapper().eq("username", username));
    80. if(user==null) {
    81. return R.error("账号不存在");
    82. }
    83. user.setPassword("123456");
    84. userService.update(user,null);
    85. return R.ok("密码已重置为:123456");
    86. }
    87. /**
    88. * 列表
    89. */
    90. @RequestMapping("/page")
    91. public R page(@RequestParam Map params,UserEntity user){
    92. EntityWrapper ew = new EntityWrapper();
    93. PageUtils page = userService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.allLike(ew, user), params), params));
    94. return R.ok().put("data", page);
    95. }
    96. /**
    97. * 列表
    98. */
    99. @RequestMapping("/list")
    100. public R list( UserEntity user){
    101. EntityWrapper ew = new EntityWrapper();
    102. ew.allEq(MPUtil.allEQMapPre( user, "user"));
    103. return R.ok().put("data", userService.selectListView(ew));
    104. }
    105. /**
    106. * 信息
    107. */
    108. @RequestMapping("/info/{id}")
    109. public R info(@PathVariable("id") String id){
    110. UserEntity user = userService.selectById(id);
    111. return R.ok().put("data", user);
    112. }
    113. /**
    114. * 获取用户的session用户信息
    115. */
    116. @RequestMapping("/session")
    117. public R getCurrUser(HttpServletRequest request){
    118. Long id = (Long)request.getSession().getAttribute("userId");
    119. UserEntity user = userService.selectById(id);
    120. return R.ok().put("data", user);
    121. }
    122. /**
    123. * 保存
    124. */
    125. @PostMapping("/save")
    126. public R save(@RequestBody UserEntity user){
    127. // ValidatorUtils.validateEntity(user);
    128. if(userService.selectOne(new EntityWrapper().eq("username", user.getUsername())) !=null) {
    129. return R.error("用户已存在");
    130. }
    131. userService.insert(user);
    132. return R.ok();
    133. }
    134. /**
    135. * 修改
    136. */
    137. @RequestMapping("/update")
    138. public R update(@RequestBody UserEntity user){
    139. // ValidatorUtils.validateEntity(user);
    140. userService.updateById(user);//全部更新
    141. return R.ok();
    142. }
    143. /**
    144. * 删除
    145. */
    146. @RequestMapping("/delete")
    147. public R delete(@RequestBody Long[] ids){
    148. userService.deleteBatchIds(Arrays.asList(ids));
    149. return R.ok();
    150. }
    151. }

    4.2文件上传

    1. package com.controller;
    2. import java.io.File;
    3. import java.io.FileNotFoundException;
    4. import java.io.IOException;
    5. import java.util.Arrays;
    6. import java.util.Date;
    7. import java.util.HashMap;
    8. import java.util.List;
    9. import java.util.Map;
    10. import java.util.Random;
    11. import java.util.UUID;
    12. import org.apache.commons.io.FileUtils;
    13. import org.apache.commons.lang3.StringUtils;
    14. import org.springframework.beans.factory.annotation.Autowired;
    15. import org.springframework.http.HttpHeaders;
    16. import org.springframework.http.HttpStatus;
    17. import org.springframework.http.MediaType;
    18. import org.springframework.http.ResponseEntity;
    19. import org.springframework.util.ResourceUtils;
    20. import org.springframework.web.bind.annotation.PathVariable;
    21. import org.springframework.web.bind.annotation.RequestBody;
    22. import org.springframework.web.bind.annotation.RequestMapping;
    23. import org.springframework.web.bind.annotation.RequestParam;
    24. import org.springframework.web.bind.annotation.RestController;
    25. import org.springframework.web.multipart.MultipartFile;
    26. import com.annotation.IgnoreAuth;
    27. import com.baomidou.mybatisplus.mapper.EntityWrapper;
    28. import com.entity.ConfigEntity;
    29. import com.entity.EIException;
    30. import com.service.ConfigService;
    31. import com.utils.R;
    32. /**
    33. * 上传文件映射表
    34. */
    35. @RestController
    36. @RequestMapping("file")
    37. @SuppressWarnings({"unchecked","rawtypes"})
    38. public class FileController{
    39. @Autowired
    40. private ConfigService configService;
    41. /**
    42. * 上传文件
    43. */
    44. @RequestMapping("/upload")
    45. public R upload(@RequestParam("file") MultipartFile file,String type) throws Exception {
    46. if (file.isEmpty()) {
    47. throw new EIException("上传文件不能为空");
    48. }
    49. String fileExt = file.getOriginalFilename().substring(file.getOriginalFilename().lastIndexOf(".")+1);
    50. File path = new File(ResourceUtils.getURL("classpath:static").getPath());
    51. if(!path.exists()) {
    52. path = new File("");
    53. }
    54. File upload = new File(path.getAbsolutePath(),"/upload/");
    55. if(!upload.exists()) {
    56. upload.mkdirs();
    57. }
    58. String fileName = new Date().getTime()+"."+fileExt;
    59. File dest = new File(upload.getAbsolutePath()+"/"+fileName);
    60. file.transferTo(dest);
    61. FileUtils.copyFile(dest, new File("C:\\Users\\Desktop\\jiadian\\springbootl7own\\src\\main\\resources\\static\\upload"+"/"+fileName));
    62. if(StringUtils.isNotBlank(type) && type.equals("1")) {
    63. ConfigEntity configEntity = configService.selectOne(new EntityWrapper().eq("name", "faceFile"));
    64. if(configEntity==null) {
    65. configEntity = new ConfigEntity();
    66. configEntity.setName("faceFile");
    67. configEntity.setValue(fileName);
    68. } else {
    69. configEntity.setValue(fileName);
    70. }
    71. configService.insertOrUpdate(configEntity);
    72. }
    73. return R.ok().put("file", fileName);
    74. }
    75. /**
    76. * 下载文件
    77. */
    78. @IgnoreAuth
    79. @RequestMapping("/download")
    80. public ResponseEntity<byte[]> download(@RequestParam String fileName) {
    81. try {
    82. File path = new File(ResourceUtils.getURL("classpath:static").getPath());
    83. if(!path.exists()) {
    84. path = new File("");
    85. }
    86. File upload = new File(path.getAbsolutePath(),"/upload/");
    87. if(!upload.exists()) {
    88. upload.mkdirs();
    89. }
    90. File file = new File(upload.getAbsolutePath()+"/"+fileName);
    91. if(file.exists()){
    92. /*if(!fileService.canRead(file, SessionManager.getSessionUser())){
    93. getResponse().sendError(403);
    94. }*/
    95. HttpHeaders headers = new HttpHeaders();
    96. headers.setContentType(MediaType.APPLICATION_OCTET_STREAM);
    97. headers.setContentDispositionFormData("attachment", fileName);
    98. return new ResponseEntity<byte[]>(FileUtils.readFileToByteArray(file),headers, HttpStatus.CREATED);
    99. }
    100. } catch (IOException e) {
    101. e.printStackTrace();
    102. }
    103. return new ResponseEntity<byte[]>(HttpStatus.INTERNAL_SERVER_ERROR);
    104. }
    105. }

    4.3封装

    1. package com.utils;
    2. import java.util.HashMap;
    3. import java.util.Map;
    4. /**
    5. * 返回数据
    6. */
    7. public class R extends HashMap {
    8. private static final long serialVersionUID = 1L;
    9. public R() {
    10. put("code", 0);
    11. }
    12. public static R error() {
    13. return error(500, "未知异常,请联系管理员");
    14. }
    15. public static R error(String msg) {
    16. return error(500, msg);
    17. }
    18. public static R error(int code, String msg) {
    19. R r = new R();
    20. r.put("code", code);
    21. r.put("msg", msg);
    22. return r;
    23. }
    24. public static R ok(String msg) {
    25. R r = new R();
    26. r.put("msg", msg);
    27. return r;
    28. }
    29. public static R ok(Map map) {
    30. R r = new R();
    31. r.putAll(map);
    32. return r;
    33. }
    34. public static R ok() {
    35. return new R();
    36. }
    37. public R put(String key, Object value) {
    38. super.put(key, value);
    39. return this;
    40. }
    41. }

    4.4sql语句

    1. /*
    2. SQLyog Ultimate v11.3 (64 bit)
    3. MySQL - 5.7.32-log : Database - kd-ssmj
    4. *********************************************************************
    5. */
    6. /*!40101 SET NAMES utf8 */;
    7. /*!40101 SET SQL_MODE=''*/;
    8. /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
    9. /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
    10. /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
    11. /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
    12. CREATE DATABASE /*!32312 IF NOT EXISTS*/`kd-ssmj` /*!40100 DEFAULT CHARACTER SET utf8 */;
    13. USE `kd-ssmj`;
    14. /*Table structure for table `config` */
    15. DROP TABLE IF EXISTS `config`;
    16. CREATE TABLE `config` (
    17. `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
    18. `name` varchar(100) NOT NULL COMMENT '配置参数名称',
    19. `value` varchar(100) DEFAULT NULL COMMENT '配置参数值',
    20. PRIMARY KEY (`id`) USING BTREE
    21. ) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='配置文件';
    22. /*Data for the table `config` */
    23. insert into `config`(`id`,`name`,`value`) values (1,'picture1','http://localhost:8080/ssm1z8hn/upload/picture1.jpg'),(2,'picture2','http://localhost:8080/ssm1z8hn/upload/picture2.jpg'),(3,'picture3','http://localhost:8080/ssm1z8hn/upload/picture3.jpg'),(4,'homepage',NULL);
    24. /*Table structure for table `dictionary` */
    25. DROP TABLE IF EXISTS `dictionary`;
    26. CREATE TABLE `dictionary` (
    27. `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
    28. `dic_code` varchar(200) DEFAULT NULL COMMENT '字段',
    29. `dic_name` varchar(200) DEFAULT NULL COMMENT '字段名',
    30. `code_index` tinyint(4) DEFAULT NULL COMMENT '编码',
    31. `index_name` varchar(200) DEFAULT NULL COMMENT '编码名字',
    32. `super_id` int(11) DEFAULT NULL COMMENT '父字段id',
    33. `create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
    34. PRIMARY KEY (`id`)
    35. ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COMMENT='字典表';
    36. /*Data for the table `dictionary` */
    37. insert into `dictionary`(`id`,`dic_code`,`dic_name`,`code_index`,`index_name`,`super_id`,`create_time`) values (1,'mariadb_types','是否通过',1,'已安装',NULL,'2021-01-25 11:41:54'),(2,'mariadb_types','是否通过',2,'未安装',NULL,'2021-01-25 11:41:54'),(3,'mariadb_types','是否通过',3,'拆机',NULL,'2021-02-03 14:26:36');
    38. /*Table structure for table `kuandaileixing` */
    39. DROP TABLE IF EXISTS `kuandaileixing`;
    40. CREATE TABLE `kuandaileixing` (
    41. `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'id',
    42. `kdname` varchar(255) DEFAULT NULL COMMENT '宽带名称 Search',
    43. `notice_content` varchar(255) DEFAULT NULL COMMENT '套餐描述',
    44. `money` decimal(10,0) DEFAULT NULL COMMENT '宽带价格',
    45. `money_time` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP COMMENT '缴费时间',
    46. `speed` int(11) DEFAULT NULL COMMENT '宽带速度',
    47. PRIMARY KEY (`id`)
    48. ) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8;
    49. /*Data for the table `kuandaileixing` */
    50. insert into `kuandaileixing`(`id`,`kdname`,`notice_content`,`money`,`money_time`,`speed`) values (1,'宽带套餐1','宽带套餐描述','1000','2021-03-26 13:30:12',1),(3,'宽带套餐2','宽带套餐描述\r\n','2000','2021-02-03 13:58:07',2),(4,'宽带套餐3','宽带套餐描述\r\n','3000','2021-02-03 13:58:21',3);
    51. /*Table structure for table `kuandaixinxi` */
    52. DROP TABLE IF EXISTS `kuandaixinxi`;
    53. CREATE TABLE `kuandaixinxi` (
    54. `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'id',
    55. `yh_types` tinyint(255) DEFAULT NULL COMMENT '所属用户 Search',
    56. `family` varchar(255) DEFAULT NULL COMMENT '安装地址',
    57. `number` varchar(255) DEFAULT NULL COMMENT '联系电话',
    58. `kd_types` tinyint(255) DEFAULT NULL COMMENT '套餐信息 Search',
    59. `create_time` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP COMMENT '安装时间',
    60. `mariadb_types` tinyint(255) DEFAULT NULL COMMENT '是否安装 Search',
    61. PRIMARY KEY (`id`)
    62. ) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8 COMMENT='宽带信息表';
    63. /*Data for the table `kuandaixinxi` */
    64. insert into `kuandaixinxi`(`id`,`yh_types`,`family`,`number`,`kd_types`,`create_time`,`mariadb_types`) values (2,3,'地址1','123123123123',3,'2021-02-03 14:45:36',3),(5,1,'住址1','44444444',4,'2021-02-03 16:43:17',1);
    65. /*Table structure for table `liuyanxinxi` */
    66. DROP TABLE IF EXISTS `liuyanxinxi`;
    67. CREATE TABLE `liuyanxinxi` (
    68. `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'id',
    69. `note` varchar(255) DEFAULT NULL COMMENT '留言信息',
    70. `yhnote` varchar(11) DEFAULT NULL COMMENT '留言人',
    71. `note_time` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP COMMENT '留言时间 Search',
    72. `reply` varchar(255) DEFAULT NULL COMMENT '回复',
    73. `glreply` varchar(11) DEFAULT NULL COMMENT '回复人',
    74. `reply_time` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP COMMENT '回复时间 Search',
    75. PRIMARY KEY (`id`)
    76. ) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;
    77. /*Data for the table `liuyanxinxi` */
    78. insert into `liuyanxinxi`(`id`,`note`,`yhnote`,`note_time`,`reply`,`glreply`,`reply_time`) values (4,'1231111','admin','2021-02-03 17:15:28','只有管理员可以回复','admin','2021-02-03 17:15:29');
    79. /*Table structure for table `token` */
    80. DROP TABLE IF EXISTS `token`;
    81. CREATE TABLE `token` (
    82. `id` int(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
    83. `userid` int(20) NOT NULL COMMENT '用户id',
    84. `username` varchar(100) NOT NULL COMMENT '用户名',
    85. `tablename` varchar(100) DEFAULT NULL COMMENT '表名',
    86. `role` varchar(100) DEFAULT NULL COMMENT '角色',
    87. `token` varchar(200) NOT NULL COMMENT '密码',
    88. `addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '新增时间',
    89. `expiratedtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '过期时间',
    90. PRIMARY KEY (`id`) USING BTREE
    91. ) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='token表';
    92. /*Data for the table `token` */
    93. insert into `token`(`id`,`userid`,`username`,`tablename`,`role`,`token`,`addtime`,`expiratedtime`) values (1,1,'admin','users','管理员','zm35bb7hm8q3168evf5hltqszow1v9k8','2021-01-28 18:04:51','2021-02-03 18:15:49'),(2,1,'小札','users','用户','fcfwfb0a3vfa9intt5xqj4oq0d1x0hok','2021-02-03 16:33:33','2021-02-03 17:33:33'),(3,30,'123','users',NULL,'31ztl98nm0uiodqbiajww0ig3bkqm92z','2021-02-03 16:59:57','2021-02-03 17:59:57'),(4,30,'123','users','用户','y33tglpuy0aacwtcyu9x6ewodbs15tox','2021-02-03 17:05:40','2021-02-03 18:05:57'),(5,32,'1233','users','用户','vkl4u1yicgsxytzrhxztol20vp3ha6g0','2021-02-03 17:15:57','2021-02-03 18:16:16');
    94. /*Table structure for table `users` */
    95. DROP TABLE IF EXISTS `users`;
    96. CREATE TABLE `users` (
    97. `id` int(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
    98. `username` varchar(100) NOT NULL COMMENT '用户名',
    99. `password` varchar(100) NOT NULL COMMENT '密码',
    100. `role` varchar(100) NOT NULL DEFAULT '管理员' COMMENT '角色',
    101. `addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '新增时间',
    102. PRIMARY KEY (`id`) USING BTREE
    103. ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='用户表';
    104. /*Data for the table `users` */
    105. insert into `users`(`id`,`username`,`password`,`role`,`addtime`) values (1,'admin','admin','管理员','2021-01-28 18:04:51');
    106. /*Table structure for table `xitonggonggao` */
    107. DROP TABLE IF EXISTS `xitonggonggao`;
    108. CREATE TABLE `xitonggonggao` (
    109. `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
    110. `addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
    111. `biaoti` varchar(200) DEFAULT NULL COMMENT '标题 Search',
    112. `leixing` varchar(200) DEFAULT NULL COMMENT '类型',
    113. `neirong` longtext COMMENT '内容',
    114. `riqi` datetime DEFAULT NULL COMMENT '日期',
    115. PRIMARY KEY (`id`) USING BTREE
    116. ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='系统公告';
    117. /*Data for the table `xitonggonggao` */
    118. insert into `xitonggonggao`(`id`,`addtime`,`biaoti`,`leixing`,`neirong`,`riqi`) values (1,'2020-12-17 17:35:20','2020/12/17日常公告','日常公告','公告信息','2020-12-17 17:34:43'),(2,'2020-12-17 17:35:40','2020/12/17紧急公告','紧急公告','公告信息','2020-12-17 17:35:22'),(3,'2020-12-17 17:36:13','2020/12/17其他公告','其他公告','公告信息','2020-12-17 17:35:43');
    119. /*Table structure for table `yonghuxinxi` */
    120. DROP TABLE IF EXISTS `yonghuxinxi`;
    121. CREATE TABLE `yonghuxinxi` (
    122. `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'id',
    123. `name` varchar(255) CHARACTER SET utf8 DEFAULT NULL COMMENT '用户名称 Search',
    124. `account` varchar(255) CHARACTER SET utf8 DEFAULT NULL COMMENT '账号',
    125. `password` varchar(255) CHARACTER SET utf8 DEFAULT NULL COMMENT '密码',
    126. `img_photo` varchar(255) CHARACTER SET utf8 DEFAULT NULL COMMENT '头像',
    127. `balance` decimal(10,2) DEFAULT NULL COMMENT '余额',
    128. `role` varchar(255) CHARACTER SET utf8 DEFAULT NULL COMMENT '身份',
    129. `number` varchar(11) CHARACTER SET utf8 DEFAULT NULL COMMENT '手机号',
    130. `family` varchar(255) CHARACTER SET utf8 DEFAULT NULL COMMENT '住址',
    131. `identity` varchar(255) CHARACTER SET utf8 DEFAULT NULL COMMENT '身份证号',
    132. PRIMARY KEY (`id`)
    133. ) ENGINE=InnoDB AUTO_INCREMENT=33 DEFAULT CHARSET=latin1;
    134. /*Data for the table `yonghuxinxi` */
    135. insert into `yonghuxinxi`(`id`,`name`,`account`,`password`,`img_photo`,`balance`,`role`,`number`,`family`,`identity`) values (1,'小札','111','111','http://localhost:8080/kd-ssmj/file/download?fileName=1612330131778.jpg','9999999.00','用户','1111111111','住址1','11111111111'),(2,'小站','222','222','http://localhost:8080/kd-ssmj/file/download?fileName=1612330113785.jpg','40000.00','用户','22222222','住址2','2222222222'),(3,'汪汪','333','333','http://localhost:8080/kd-ssmj/file/download?fileName=1612330142088.JPG','10000.00','用户','333333333','住址3','3333333333'),(29,'小夏','444','444','http://localhost:8080/kd-ssmj/file/download?fileName=1612330051317.jpg','443804.00','用户','44444444','住址1','4444444444'),(32,'1233','1233','123','http://localhost:8080/kd-ssmj/file/download?fileName=1612343631389.JPG','0.00','用户','444444443','1233','1233');
    136. /*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
    137. /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
    138. /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
    139. /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

  • 相关阅读:
    html中image 区域点击的优点
    websocket flv 客户端解封包
    详解中断系统
    B - 缺失的数据范围
    C++内存管理:其二、数组内存管理
    QT webengine显示HTML简单示例
    MYSQL约束
    33、Java 异常掌握这些就够了(图解 Java 中的异常)
    java基于微信小程序的竞赛报名管理系统
    java字符串的split方法第二个参数是什么意思?-1意味着什么?
  • 原文地址:https://blog.csdn.net/weixin_52721608/article/details/132736500