/*
Navicat Premium Data Transfer
Source Server : 127.0.0.1
Source Server Type : MySQL
Source Server Version : 50520
Source Host : localhost:3306
Source Schema : otp
Target Server Type : MySQL
Target Server Version : 50520
File Encoding : 65001
Date: 07/04/2023 19:43:13
*/
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for cart
-- ----------------------------
DROP TABLE IF EXISTS `cart`;
CREATE TABLE `cart` (
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '购物车编号',
`uid` int(11) NULL DEFAULT NULL COMMENT '用户编号(外键)',
`cid` int(11) NULL DEFAULT NULL COMMENT '物品编号(外键)',
`cname` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '物品名',
`price` int(11) NULL DEFAULT NULL COMMENT '物品价格',
`picture` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '物品图像',
PRIMARY KEY (`id`) USING BTREE,
INDEX `uid`(`uid`) USING BTREE,
INDEX `cid`(`cid`) USING BTREE,
INDEX `cname`(`cname`) USING BTREE,
INDEX `price`(`price`) USING BTREE,
INDEX `picture`(`picture`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 34 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact;
-- ----------------------------
-- Records of cart
-- ----------------------------
INSERT INTO `cart` VALUES (23, 2022001, 100001, 'Zilli皮带', 388, '/otp/upload/commodity/1.jpg');
INSERT INTO `cart` VALUES (24, 2022001, 100002, 'Hermes皮带', 688, '/otp/upload/commodity/2.jpg');
INSERT INTO `cart` VALUES (25, 2022001, 100003, 'Berluti皮带', 468, '/otp/upload/commodity/3.jpg');
INSERT INTO `cart` VALUES (27, 2022001, 100020, 'Libbey水杯', 56, '/otp/upload/commodity/20.jpg');
INSERT INTO `cart` VALUES (29, 2022001, 100014, 'Reebok运动鞋', 568, '/otp/upload/commodity/14.jpg');
INSERT INTO `cart` VALUES (31, 2022001, 100015, 'Vans运动鞋', 288, '/otp/upload/commodity/15.jpg');
INSERT INTO `cart` VALUES (32, 2022001, 100021, '篮球', 88, '/otp/upload/commodity/21.jpg');
INSERT INTO `cart` VALUES (33, 2022001, 100027, '《西游记》', 78, '/otp/upload/commodity/27.jpg');
-- ----------------------------
-- Table structure for commodity
-- ----------------------------
DROP TABLE IF EXISTS `commodity`;
CREATE TABLE `commodity` (
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '物品id',
`uid` int(11) NULL DEFAULT NULL COMMENT '用户id(外键)',
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '物品名',
`price` int(10) NULL DEFAULT NULL COMMENT '物品价格',
`miaoshu` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '物品描述',
`picture` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '物品图片',
PRIMARY KEY (`id`) USING BTREE,
INDEX `uid2`(`uid`) USING BTREE,
INDEX `name`(`name`) USING BTREE,
INDEX `price`(`price`) USING BTREE,
INDEX `picture`(`picture`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 100031 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact;
-- ----------------------------
-- Records of commodity
-- ----------------------------
INSERT INTO `commodity` VALUES (100001, 2022000, 'Zilli皮带', 388, '珍惜皮制作', '/otp/upload/commodity/1.jpg');
INSERT INTO `commodity` VALUES (100002, 2022000, 'Hermes皮带', 688, '珍惜皮制作', '/otp/upload/commodity/2.jpg');
INSERT INTO `commodity` VALUES (100003, 2022000, 'Berluti皮带', 468, '珍惜皮制作', '/otp/upload/commodity/3.jpg');
INSERT INTO `commodity` VALUES (100004, 2022000, 'Gucci皮带', 368, '珍惜皮制作', '/otp/upload/commodity/4.jpg');
INSERT INTO `commodity` VALUES (100005, 2022000, 'Prada皮带', 568, '珍惜皮制作', '/otp/upload/commodity/5.jpg');
INSERT INTO `commodity` VALUES (100006, 2022001, 'Patagonia羽绒服', 406, '保暖,时尚', '/otp/upload/commodity/6.jpg');
INSERT INTO `commodity` VALUES (100007, 2022001, 'MAMMUT羽绒服', 398, '保暖,时尚', '/otp/upload/commodity/7.jpg');
INSERT INTO `commodity` VALUES (100008, 2022001, 'Moncler羽绒服', 3088, '保暖,时尚', '/otp/upload/commodity/8.jpg');
INSERT INTO `commodity` VALUES (100009, 2022001, 'Marmot羽绒服', 368, '保暖,时尚', '/otp/upload/commodity/9.jpg');
INSERT INTO `commodity` VALUES (100010, 2022001, 'DESCENTE羽绒服', 999, '保暖,时尚', '/otp/upload/commodity/10.jpg');
INSERT INTO `commodity` VALUES (100011, 2022002, 'NIKE运动鞋', 1088, '舒适感强', '/otp/upload/commodity/11.jpg');
INSERT INTO `commodity` VALUES (100012, 2022002, 'Adidas运动鞋', 688, '舒适感强', '/otp/upload/commodity/12.jpg');
INSERT INTO `commodity` VALUES (100013, 2022002, 'Puma运动鞋', 358, '舒适感强', '/otp/upload/commodity/13.jpg');
INSERT INTO `commodity` VALUES (100014, 2022002, 'Reebok运动鞋', 568, '舒适感强', '/otp/upload/commodity/14.jpg');
INSERT INTO `commodity` VALUES (100015, 2022002, 'Vans运动鞋', 288, '舒适感强', '/otp/upload/commodity/15.jpg');
INSERT INTO `commodity` VALUES (100016, 2022003, 'Fuguang水杯', 28, '款式简洁', '/otp/upload/commodity/16.jpg');
INSERT INTO `commodity` VALUES (100017, 2022003, 'Glasslock水杯', 36, '款式简洁', '/otp/upload/commodity/17.jpg');
INSERT INTO `commodity` VALUES (100018, 2022003, 'aderia水杯', 48, '款式简洁', '/otp/upload/commodity/18.jpg');
INSERT INTO `commodity` VALUES (100019, 2022003, 'Ocean水杯', 88, '款式简洁', '/otp/upload/commodity/19.jpg');
INSERT INTO `commodity` VALUES (100020, 2022003, 'Libbey水杯', 56, '款式简洁', '/otp/upload/commodity/20.jpg');
INSERT INTO `commodity` VALUES (100022, 2022004, '足球', 128, '实用性强', '/otp/upload/commodity/22.jpg');
INSERT INTO `commodity` VALUES (100023, 2022004, '乒乓球', 5, '实用性强', '/otp/upload/commodity/23.jpg');
INSERT INTO `commodity` VALUES (100024, 2022004, '羽毛球', 10, '实用性强', '/otp/upload/commodity/24.jpg');
INSERT INTO `commodity` VALUES (100025, 2022004, '网球', 12, '实用性强', '/otp/upload/commodity/25.jpg');
INSERT INTO `commodity` VALUES (100026, 2022005, '《红楼梦》', 88, '故事很精彩', '/otp/upload/commodity/26.jpg');
INSERT INTO `commodity` VALUES (100027, 2022005, '《西游记》', 78, '故事很精彩', '/otp/upload/commodity/27.jpg');
INSERT INTO `commodity` VALUES (100028, 2022005, '《水浒传》', 28, '故事很精彩', '/otp/upload/commodity/28.jpg');
INSERT INTO `commodity` VALUES (100029, 2022005, '《三国演义》', 38, '故事很精彩', '/otp/upload/commodity/29.jpg');
INSERT INTO `commodity` VALUES (100030, 2022005, '《白蛇传》', 58, '故事很精彩', '/otp/upload/commodity/30.jpg');
-- ----------------------------
-- Table structure for uorder
-- ----------------------------
DROP TABLE IF EXISTS `uorder`;
CREATE TABLE `uorder` (
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '订单编号',
`uid` int(11) NULL DEFAULT NULL COMMENT '用户编号(外键)',
`cid` int(11) NULL DEFAULT NULL COMMENT '物品编号(外键)',
`type` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '交易类型(购买/交换)',
`tradingtime` datetime NULL DEFAULT NULL COMMENT '交易时间',
`money` int(11) NULL DEFAULT NULL COMMENT '价格',
`comment` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '评价',
PRIMARY KEY (`id`) USING BTREE,
INDEX `uid1`(`uid`) USING BTREE,
INDEX `cid1`(`cid`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 46 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact;
-- ----------------------------
-- Records of uorder
-- ----------------------------
INSERT INTO `uorder` VALUES (34, 2022001, 100004, '购买', '2022-04-24 16:06:04', 368, '还可以吧');
INSERT INTO `uord
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
基于 SSM 架构设计开发的网上交易平台。主要功能有用户登录和注册、用户管理模块、物品管理模块和购物车管理模块、订单记录、物品的买卖与交换等。用户注册登录平台后,可以查看、修改个人信息,也能对我的物品进行添加、修改、删除,还能购买与交换物品。(若需要帮助配置请私信我或发我邮箱2371245491@qq.com) Eclipse MySQL
资源推荐
资源详情
资源评论
收起资源包目录
基于SSM框架校园物品交易平台的设计与实现.zip (62个子文件)
基于SSM框架校园物品交易平台的设计与实现
otp.zip 27.74MB
image
1
2.jpg 9KB
27.jpg 20KB
10.jpg 9KB
28.jpg 19KB
25.jpg 18KB
13.jpg 18KB
14.jpg 20KB
30.jpg 19KB
6.jpg 10KB
22.jpg 19KB
15.jpg 19KB
16.jpg 19KB
1.jpg 9KB
17.jpg 18KB
21.jpg 19KB
23.jpg 19KB
26.jpg 20KB
12.jpg 20KB
5.jpg 9KB
8.jpg 9KB
24.jpg 18KB
20.jpg 19KB
18.jpg 20KB
11.jpg 24KB
29.jpg 18KB
19.jpg 19KB
3.jpg 9KB
7.jpg 10KB
9.jpg 9KB
4.jpg 9KB
2
2.jpg 35KB
27.jpg 3KB
10.jpg 15KB
28.jpg 4KB
25.jpg 7KB
13.jpg 11KB
14.jpg 8KB
30.jpg 3KB
6.jpg 16KB
22.jpg 19KB
15.jpg 12KB
16.jpg 29KB
1.jpg 7KB
17.jpg 15KB
21.jpg 3KB
23.jpg 24KB
26.jpg 8KB
12.jpg 7KB
5.jpg 9KB
8.jpg 22KB
24.jpg 30KB
20.jpg 13KB
18.jpg 20KB
11.jpg 34KB
29.jpg 2KB
19.jpg 15KB
3.jpg 62KB
7.jpg 11KB
9.jpg 23KB
4.jpg 14KB
otp.sql 13KB
共 62 条
- 1
资源评论
十只兔子OVO
- 粉丝: 6
- 资源: 4
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功