ssm開發的微信小程式社群管理系統
阿新 • • 發佈:2021-01-07
分享一個自己在學校學習開發的一個後臺ssm框架前段小程式的社群管理系統,花了很多的時間設計和開發,麻雀雖小,五臟俱全,大家可用於學習或者二次開發。其功能主要有:微信小程式物業管理系統,微信小程式端包括以下幾個模組:
社群公告、報修、資訊採集、生活繳費、二手置換
微信小程式後臺管理介面可以增刪改查社群公告、問卷、問卷問題、問題選項等
在微信小程式前端,使用者提交資訊後,可在我的介面檢視提交的資訊,管理員可以在微信小程式後臺管理介面檢視所有使用者提交的資訊。
注意:uploads檔案,可以解壓到本地磁碟的d盤或其他盤,必須和MyTool.java類的配置路徑一致
需要可以2835777178瞭解
/*Navicat MySQL Data Transfer Source Server : bishe Source Server Version : 80016 Source Host : localhost:3306 Source Database : community Target Server Type : MYSQL Target Server Version : 80016 File Encoding : 65001 Date: 2020-09-21 15:42:54 */ SET FOREIGN_KEY_CHECKS=0;-- ---------------------------- -- Table structure for admin -- ---------------------------- DROP TABLE IF EXISTS `admin`; CREATE TABLE `admin` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL, `account` varchar(255) CHARACTER SETutf8 COLLATE utf8_general_ci DEFAULT NULL, `pwd` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC; -- ---------------------------- -- Records of admin -- ---------------------------- INSERT INTO `admin` VALUES ('1', '管理員', 'admin', 'admin'); -- ---------------------------- -- Table structure for choice -- ---------------------------- DROP TABLE IF EXISTS `choice`; CREATE TABLE `choice` ( `id` int(11) NOT NULL AUTO_INCREMENT, `q_id` int(11) DEFAULT NULL, `moption` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL, `ch` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT '', PRIMARY KEY (`id`) USING BTREE ) ENGINE=InnoDB AUTO_INCREMENT=41 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC; -- ---------------------------- -- Records of choice -- ---------------------------- INSERT INTO `choice` VALUES ('33', '14', 'A.0-5次', ''); INSERT INTO `choice` VALUES ('34', '14', 'B.6-10次', ''); INSERT INTO `choice` VALUES ('35', '14', 'C.從來不買', ''); INSERT INTO `choice` VALUES ('36', '14', 'D.有錢任性,想買就買', ''); INSERT INTO `choice` VALUES ('37', '15', 'A.0-3次', ''); INSERT INTO `choice` VALUES ('38', '15', 'B.4-10次', ''); INSERT INTO `choice` VALUES ('39', '15', 'C.從來不', ''); INSERT INTO `choice` VALUES ('40', '15', 'D.有錢任性,數不過來多少次', ''); -- ---------------------------- -- Table structure for goods -- ---------------------------- DROP TABLE IF EXISTS `goods`; CREATE TABLE `goods` ( `id` int(11) NOT NULL AUTO_INCREMENT, `goods_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL, `goods_title` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL, `goods_desc` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL, `goods_img` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL, `goods_price` double(10,2) DEFAULT NULL, `publisher_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL, `publish_time` datetime DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC; -- ---------------------------- -- Records of goods -- ---------------------------- INSERT INTO `goods` VALUES ('11', 'JcALgfD3O1anEu8J', '小米', '小米促銷', '21cfd8848b7247d38bd6b1c3398c79ad.jpg', '1444.00', 'admin', '2020-03-20 23:33:50'); -- ---------------------------- -- Table structure for goodspay -- ---------------------------- DROP TABLE IF EXISTS `goodspay`; CREATE TABLE `goodspay` ( `id` int(11) NOT NULL AUTO_INCREMENT, `goods_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL, `uid` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE=InnoDB AUTO_INCREMENT=18 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC; -- ---------------------------- -- Records of goodspay -- ---------------------------- INSERT INTO `goodspay` VALUES ('16', 'JcALgfD3O1anEu8J', 'NLAHQNt4607V594q'); INSERT INTO `goodspay` VALUES ('17', 'JcALgfD3O1anEu8J', '53T0Q30hq9CExPrq'); -- ---------------------------- -- Table structure for message -- ---------------------------- DROP TABLE IF EXISTS `message`; CREATE TABLE `message` ( `id` int(11) NOT NULL AUTO_INCREMENT, `time` datetime DEFAULT NULL, `author` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL, `content` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL, `img` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL, `title` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL, `avatarUrl` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE=InnoDB AUTO_INCREMENT=23 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC; -- ---------------------------- -- Records of message -- ---------------------------- INSERT INTO `message` VALUES ('21', '2020-03-20 23:30:58', 'morty', '廣州女子核酸陰性.xml', 'Snipaste_2019-05-27_13-53-04.png', '廣州女子核酸陰性', '-28d0b2dd59677413.jpg'); INSERT INTO `message` VALUES ('22', '2020-03-20 23:32:54', 'morty', '油價暴跌對中國經濟的衝擊.xml', 'Snipaste_2019-05-27_13-52-35.png', '油價暴跌對中國經濟的衝擊', '-28d0b2dd59677413.jpg'); -- ---------------------------- -- Table structure for pay -- ---------------------------- DROP TABLE IF EXISTS `pay`; CREATE TABLE `pay` ( `id` int(11) NOT NULL AUTO_INCREMENT, `uid` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL, `itemName` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL, `payment` double(255,0) DEFAULT NULL, `paytime` datetime DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC; -- ---------------------------- -- Records of pay -- ---------------------------- INSERT INTO `pay` VALUES ('14', 'NLAHQNt4607V594q', '電費', '111', '2020-03-20 23:40:00'); INSERT INTO `pay` VALUES ('15', '53T0Q30hq9CExPrq', '電費', '100', '2020-09-21 15:06:02'); -- ---------------------------- -- Table structure for question -- ---------------------------- DROP TABLE IF EXISTS `question`; CREATE TABLE `question` ( `id` int(11) NOT NULL AUTO_INCREMENT, `content` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC; -- ---------------------------- -- Records of question -- ---------------------------- INSERT INTO `question` VALUES ('14', '一年買多少次衣服?'); INSERT INTO `question` VALUES ('15', '一年出國幾次旅遊'); -- ---------------------------- -- Table structure for repair -- ---------------------------- DROP TABLE IF EXISTS `repair`; CREATE TABLE `repair` ( `id` int(11) NOT NULL AUTO_INCREMENT, `uid` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL, `my_content` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL, `my_area` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL, `pic0` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL, `pic1` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL, `pic2` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC; -- ---------------------------- -- Records of repair -- ---------------------------- INSERT INTO `repair` VALUES ('8', 'NLAHQNt4607V594q', '熱水器壞了', '公共區域', 'wxc89c0d8edfb74c95.o6zAJs6Y7zorwYFeP25h3w93UO8w.i5uNZ83uKUJ1d2da2e13c8cd8de78fec96de8aaf5a23.png', null, null); -- ---------------------------- -- Table structure for survey -- ---------------------------- DROP TABLE IF EXISTS `survey`; CREATE TABLE `survey` ( `id` int(11) NOT NULL AUTO_INCREMENT, `title` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '調查標題', PRIMARY KEY (`id`) USING BTREE ) ENGINE=InnoDB AUTO_INCREMENT=19 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC; -- ---------------------------- -- Records of survey -- ---------------------------- INSERT INTO `survey` VALUES ('17', '你的生活質量?'); INSERT INTO `survey` VALUES ('18', '你健康嗎'); -- ---------------------------- -- Table structure for sur_que -- ---------------------------- DROP TABLE IF EXISTS `sur_que`; CREATE TABLE `sur_que` ( `id` int(11) NOT NULL AUTO_INCREMENT, `su_id` int(11) DEFAULT NULL, `qid` int(11) DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE=InnoDB AUTO_INCREMENT=21 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC; -- ---------------------------- -- Records of sur_que -- ---------------------------- INSERT INTO `sur_que` VALUES ('19', '17', '14'); INSERT INTO `sur_que` VALUES ('20', '17', '15'); -- ---------------------------- -- Table structure for user -- ---------------------------- DROP TABLE IF EXISTS `user`; CREATE TABLE `user` ( `uid` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL, `name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL, `gender` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL, `buildingNumber` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL, `unitNumber` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL, `roomNumber` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL, `phone_number` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL, `pwd` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL, `roomId` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL, PRIMARY KEY (`uid`) USING BTREE ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC; -- ---------------------------- -- Records of user -- ---------------------------- INSERT INTO `user` VALUES ('53T0Q30hq9CExPrq', 'zhangsan', '男', '03', '03', '201', '18722833723', 'zhangsan', '0303201'); -- ---------------------------- -- Table structure for user_sur -- ---------------------------- DROP TABLE IF EXISTS `user_sur`; CREATE TABLE `user_sur` ( `id` int(11) NOT NULL AUTO_INCREMENT, `uid` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL, `qid` int(11) DEFAULT NULL, `su_id` int(11) DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE=InnoDB AUTO_INCREMENT=53 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC; -- ---------------------------- -- Records of user_sur -- ---------------------------- INSERT INTO `user_sur` VALUES ('51', '53T0Q30hq9CExPrq', '14', '17'); INSERT INTO `user_sur` VALUES ('52', '53T0Q30hq9CExPrq', '15', '17'); -- ---------------------------- -- Table structure for user_sur_opt -- ---------------------------- DROP TABLE IF EXISTS `user_sur_opt`; CREATE TABLE `user_sur_opt` ( `id` int(11) NOT NULL AUTO_INCREMENT, `user_sur_id` int(11) DEFAULT NULL, `opt_id` int(11) DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE=InnoDB AUTO_INCREMENT=49 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC; -- ---------------------------- -- Records of user_sur_opt -- ---------------------------- INSERT INTO `user_sur_opt` VALUES ('47', '51', '34'); INSERT INTO `user_sur_opt` VALUES ('48', '52', '40');