diff --git a/.idea/compiler.xml b/.idea/compiler.xml new file mode 100644 index 0000000..29b2753 --- /dev/null +++ b/.idea/compiler.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/dataSources.local.xml b/.idea/dataSources.local.xml new file mode 100644 index 0000000..42015f4 --- /dev/null +++ b/.idea/dataSources.local.xml @@ -0,0 +1,20 @@ + + + + + + #@ + ` + true + + + master_key + myuser + + + + + + + + \ No newline at end of file diff --git a/.idea/dataSources.xml b/.idea/dataSources.xml new file mode 100644 index 0000000..8576a8f --- /dev/null +++ b/.idea/dataSources.xml @@ -0,0 +1,17 @@ + + + + + mysql_aurora.aws_wrapper + true + software.amazon.jdbc.Driver + jdbc:aws-wrapper:mysql://139.196.201.231:3306/mall + + + + + + $ProjectFileDir$ + + + \ No newline at end of file diff --git a/.idea/dataSources/282d1d00-de84-4cec-a9da-44812048f8ef.xml b/.idea/dataSources/282d1d00-de84-4cec-a9da-44812048f8ef.xml new file mode 100644 index 0000000..a29590c --- /dev/null +++ b/.idea/dataSources/282d1d00-de84-4cec-a9da-44812048f8ef.xml @@ -0,0 +1,1460 @@ + + + + + exact + InnoDB + InnoDB + |root||myuser||ALTER|G +|root||root|localhost|ALTER|G +|root||myuser||ALTER ROUTINE|G +|root||root|localhost|ALTER ROUTINE|G +|root||myuser||CREATE|G +|root||root|localhost|CREATE|G +|root||myuser||CREATE ROUTINE|G +|root||root|localhost|CREATE ROUTINE|G +|root||myuser||CREATE TABLESPACE|G +|root||root|localhost|CREATE TABLESPACE|G +|root||myuser||CREATE TEMPORARY TABLES|G +|root||root|localhost|CREATE TEMPORARY TABLES|G +|root||myuser||CREATE USER|G +|root||root|localhost|CREATE USER|G +|root||myuser||CREATE VIEW|G +|root||root|localhost|CREATE VIEW|G +|root||myuser||DELETE|G +|root||root|localhost|DELETE|G +|root||myuser||DROP|G +|root||root|localhost|DROP|G +|root||myuser||EVENT|G +|root||root|localhost|EVENT|G +|root||myuser||EXECUTE|G +|root||root|localhost|EXECUTE|G +|root||myuser||FILE|G +|root||root|localhost|FILE|G +|root||myuser||INDEX|G +|root||root|localhost|INDEX|G +|root||myuser||INSERT|G +|root||root|localhost|INSERT|G +|root||myuser||LOCK TABLES|G +|root||root|localhost|LOCK TABLES|G +|root||myuser||PROCESS|G +|root||root|localhost|PROCESS|G +|root||myuser||REFERENCES|G +|root||root|localhost|REFERENCES|G +|root||myuser||RELOAD|G +|root||root|localhost|RELOAD|G +|root||myuser||REPLICATION CLIENT|G +|root||root|localhost|REPLICATION CLIENT|G +|root||myuser||REPLICATION SLAVE|G +|root||root|localhost|REPLICATION SLAVE|G +|root||myuser||SELECT|G +|root||root|localhost|SELECT|G +|root||myuser||SHOW DATABASES|G +|root||root|localhost|SHOW DATABASES|G +|root||myuser||SHOW VIEW|G +|root||root|localhost|SHOW VIEW|G +|root||myuser||SHUTDOWN|G +|root||root|localhost|SHUTDOWN|G +|root||mysql.session|localhost|SUPER|G +|root||myuser||SUPER|G +|root||root|localhost|SUPER|G +|root||myuser||TRIGGER|G +|root||root|localhost|TRIGGER|G +|root||myuser||UPDATE|G +|root||root|localhost|UPDATE|G +|root||root|localhost|grant option|G +mall|schema||myuser|localhost|ALTER|G +mall|schema||myuser|localhost|ALTER ROUTINE|G +mall|schema||myuser|localhost|CREATE|G +mall|schema||myuser|localhost|CREATE ROUTINE|G +mall|schema||myuser|localhost|CREATE TEMPORARY TABLES|G +mall|schema||myuser|localhost|CREATE VIEW|G +mall|schema||myuser|localhost|DELETE|G +mall|schema||myuser|localhost|DROP|G +mall|schema||myuser|localhost|EVENT|G +mall|schema||myuser|localhost|EXECUTE|G +mall|schema||myuser|localhost|INDEX|G +mall|schema||myuser|localhost|INSERT|G +mall|schema||myuser|localhost|LOCK TABLES|G +mall|schema||myuser|localhost|REFERENCES|G +mall|schema||myuser|localhost|SELECT|G +mall|schema||myuser|localhost|SHOW VIEW|G +mall|schema||myuser|localhost|TRIGGER|G +mall|schema||myuser|localhost|UPDATE|G +performance_schema|schema||mysql.session|localhost|SELECT|G +sys|schema||mysql.sys|localhost|TRIGGER|G + 5.7.44 + + + armscii8 + + + armscii8 + 1 + + + ascii + + + ascii + 1 + + + big5 + + + big5 + 1 + + + binary + 1 + + + cp1250 + + + cp1250 + + + cp1250 + + + cp1250 + 1 + + + cp1250 + + + cp1251 + + + cp1251 + + + cp1251 + 1 + + + cp1251 + + + cp1251 + + + cp1256 + + + cp1256 + 1 + + + cp1257 + + + cp1257 + 1 + + + cp1257 + + + cp850 + + + cp850 + 1 + + + cp852 + + + cp852 + 1 + + + cp866 + + + cp866 + 1 + + + cp932 + + + cp932 + 1 + + + dec8 + + + dec8 + 1 + + + eucjpms + + + eucjpms + 1 + + + euckr + + + euckr + 1 + + + gb18030 + + + gb18030 + 1 + + + gb18030 + + + gb2312 + + + gb2312 + 1 + + + gbk + + + gbk + 1 + + + geostd8 + + + geostd8 + 1 + + + greek + + + greek + 1 + + + hebrew + + + hebrew + 1 + + + hp8 + + + hp8 + 1 + + + keybcs2 + + + keybcs2 + 1 + + + koi8r + + + koi8r + 1 + + + koi8u + + + koi8u + 1 + + + latin1 + + + latin1 + + + latin1 + + + latin1 + + + latin1 + + + latin1 + + + latin1 + + + latin1 + 1 + + + latin2 + + + latin2 + + + latin2 + + + latin2 + 1 + + + latin2 + + + latin5 + + + latin5 + 1 + + + latin7 + + + latin7 + + + latin7 + 1 + + + latin7 + + + macce + + + macce + 1 + + + macroman + + + macroman + 1 + + + sjis + + + sjis + 1 + + + swe7 + + + swe7 + 1 + + + tis620 + + + tis620 + 1 + + + ucs2 + + + ucs2 + + + ucs2 + + + ucs2 + + + ucs2 + + + ucs2 + + + ucs2 + 1 + + + ucs2 + + + ucs2 + + + ucs2 + + + ucs2 + + + ucs2 + + + ucs2 + + + ucs2 + + + ucs2 + + + ucs2 + + + ucs2 + + + ucs2 + + + ucs2 + + + ucs2 + + + ucs2 + + + ucs2 + + + ucs2 + + + ucs2 + + + ucs2 + + + ucs2 + + + ucs2 + + + ujis + + + ujis + 1 + + + utf16 + + + utf16 + + + utf16 + + + utf16 + + + utf16 + + + utf16 + + + utf16 + 1 + + + utf16 + + + utf16 + + + utf16 + + + utf16 + + + utf16 + + + utf16 + + + utf16 + + + utf16 + + + utf16 + + + utf16 + + + utf16 + + + utf16 + + + utf16 + + + utf16 + + + utf16 + + + utf16 + + + utf16 + + + utf16 + + + utf16 + + + utf16le + + + utf16le + 1 + + + utf32 + + + utf32 + + + utf32 + + + utf32 + + + utf32 + + + utf32 + + + utf32 + 1 + + + utf32 + + + utf32 + + + utf32 + + + utf32 + + + utf32 + + + utf32 + + + utf32 + + + utf32 + + + utf32 + + + utf32 + + + utf32 + + + utf32 + + + utf32 + + + utf32 + + + utf32 + + + utf32 + + + utf32 + + + utf32 + + + utf32 + + + utf8 + + + utf8 + + + utf8 + + + utf8 + + + utf8 + + + utf8 + + + utf8 + 1 + + + utf8 + + + utf8 + + + utf8 + + + utf8 + + + utf8 + + + utf8 + + + utf8 + + + utf8 + + + utf8 + + + utf8 + + + utf8 + + + utf8 + + + utf8 + + + utf8 + + + utf8 + + + utf8 + + + utf8 + + + utf8 + + + utf8 + + + utf8 + + + utf8mb4 + + + utf8mb4 + + + utf8mb4 + + + utf8mb4 + + + utf8mb4 + + + utf8mb4 + + + utf8mb4 + 1 + + + utf8mb4 + + + utf8mb4 + + + utf8mb4 + + + utf8mb4 + + + utf8mb4 + + + utf8mb4 + + + utf8mb4 + + + utf8mb4 + + + utf8mb4 + + + utf8mb4 + + + utf8mb4 + + + utf8mb4 + + + utf8mb4 + + + utf8mb4 + + + utf8mb4 + + + utf8mb4 + + + utf8mb4 + + + utf8mb4 + + + utf8mb4 + + + utf8mb4_unicode_ci + + + utf8_general_ci + + + 1 + 2024-10-14.06:24:20 + latin1_swedish_ci + + + latin1_swedish_ci + + + utf8_general_ci + + + utf8_general_ci + + + localhost + + + localhost + + + + localhost + + + localhost + + + 地址表 + InnoDB + row_format +DYNAMIC + utf8_bin +
+ + 头像表 + InnoDB + row_format +DYNAMIC + utf8_bin +
+ + 轮播图表 + InnoDB + row_format +DYNAMIC + utf8_bin +
+ + 购物车表 + InnoDB + row_format +DYNAMIC + utf8_bin +
+ + 分类表 + InnoDB + row_format +DYNAMIC + utf8_bin +
+ + 商品表 + InnoDB + row_format +DYNAMIC + utf8_bin +
+ + 商品规格表 + InnoDB + row_format +DYNAMIC + utf8_bin +
+ + 图标表 + InnoDB + row_format +DYNAMIC + utf8_bin +
+ + 商品分类 - 图标关联表 + InnoDB + row_format +DYNAMIC + utf8_bin +
+ + InnoDB + row_format +DYNAMIC + utf8_bin +
+ + 规格表 + InnoDB + row_format +DYNAMIC + utf8_bin +
+ + 系统文件表 + InnoDB + row_format +DYNAMIC + utf8_bin +
+ + 用户表 + InnoDB + row_format +DYNAMIC + utf8_bin +
+ + 订单表 + InnoDB + row_format +DYNAMIC + utf8_bin +
+ + 5 + 主键 + 1 + 1 + bigint(20)|0s + + + 联系人 + 2 + varchar(255)|0s + + + 地址 + 3 + varchar(255)|0s + + + 电话 + 4 + varchar(255)|0s + + + 所属用户 + 5 + bigint(20)|0s + + + id + btree + 1 + + + 1 + 1 + PRIMARY + + + 5 + 主键 + 1 + 1 + bigint(20)|0s + + + 2 + varchar(255)|0s + + + 3 + bigint(20)|0s + + + 4 + varchar(255)|0s + + + 5 + varchar(255)|0s + + + id + btree + 1 + + + 1 + 1 + PRIMARY + + + 7 + 主键 + 1 + 1 + bigint(20)|0s + + + 对应的商品id + 2 + bigint(20)|0s + + + 播放顺序 + 3 + int(11)|0s + + + id + btree + 1 + + + 1 + 1 + PRIMARY + + + 5 + 主键 + 1 + 1 + bigint(20)|0s + + + 数量 + 2 + int(11)|0s + + + 加入时间 + 3 + datetime|0s + + + 商品id + 4 + bigint(20)|0s + + + 5 + varchar(255)|0s + + + 用户id + 6 + bigint(20)|0s + + + id + btree + 1 + + + 1 + 1 + PRIMARY + + + 24 + 主键 + 1 + 1 + bigint(20)|0s + + + 类别名称 + 2 + varchar(255)|0s + + + id + btree + 1 + + + 1 + 1 + PRIMARY + + + 11 + 主键 + 1 + 1 + bigint(20)|0s + + + 商品名称 + 2 + varchar(255)|0s + + + 描述 + 3 + varchar(1600)|0s + + + 折扣 + 1.00 + 1 + 4 + double(10,2 digit)|0s + + + 销量 + 0 + 1 + 5 + bigint(20)|0s + + + 销售额 + 0.00 + 6 + double(10,2 digit)|0s + + + 分类id + 7 + bigint(20)|0s + + + 商品图片 + 8 + varchar(255)|0s + + + 创建时间 + 9 + datetime|0s + + + 是否推荐。0不推荐,1推荐 + 0 + 1 + 10 + tinyint(1)|0s + + + 是否删除,0未删除,1删除 + 0 + 1 + 11 + tinyint(1)|0s + + + id + btree + 1 + + + 1 + 1 + PRIMARY + + + 商品id + 1 + bigint(20)|0s + + + 规格 + 2 + varchar(255)|0s + + + 价格 + 3 + decimal(10,2 digit)|0s + + + 库存 + 4 + bigint(20)|0s + + + 22 + 主键 + 1 + 1 + bigint(20)|0s + + + 图标的识别码 + 2 + varchar(255)|0s + + + id + btree + 1 + + + 1 + 1 + PRIMARY + + + 分类id + 1 + 1 + bigint(20)|0s + + + 图标id + 1 + 2 + bigint(20)|0s + + + category_id + btree + 1 + + + 1 + 1 + PRIMARY + + + 25 + 主键 + 1 + 1 + bigint(20)|0s + + + 订单id + 2 + bigint(20)|0s + + + 商品id + 3 + bigint(20)|0s + + + 数量 + 4 + int(11)|0s + + + 规格 + 5 + varchar(1600)|0s + + + id + btree + 1 + + + 1 + 1 + PRIMARY + + + 商品id + 1 + 1 + bigint(20)|0s + + + 商品规格 + 2 + varchar(255)|0s + + + 该规格的价格 + 3 + decimal(10,2 digit)|0s + + + 该规格的库存 + 4 + bigint(20)|0s + + + goodId + btree + 1 + + + 1 + 1 + PRIMARY + + + 34 + 主键 + 1 + 1 + bigint(20)|0s + + + 文件名称 + 2 + varchar(255)|0s + + + 文件类型 + 3 + varchar(255)|0s + + + 大小 + 4 + bigint(20)|0s + + + 文件路径 + 5 + varchar(255)|0s + + + 是否删除 + 6 + tinyint(1)|0s + + + 是否启用 + 7 + tinyint(1)|0s + + + md5值 + 8 + varchar(255)|0s + + + id + btree + 1 + + + 1 + 1 + PRIMARY + + + 4 + 主键 + 1 + 1 + bigint(20)|0s + + + 用户名 + 2 + varchar(255)|0s + + + 密码 + 3 + varchar(255)|0s + + + 昵称 + 4 + varchar(255)|0s + + + 邮箱 + 5 + varchar(255)|0s + + + 手机号码 + 6 + varchar(255)|0s + + + 地址 + 7 + varchar(1600)|0s + + + 头像链接 + 8 + varchar(255)|0s + + + 角色 + 9 + varchar(255)|0s + + + id + btree + 1 + + + 1 + 1 + PRIMARY + + + 25 + 主键 + 1 + 1 + bigint(20)|0s + + + 订单号 + 2 + varchar(255)|0s + + + 总价 + 3 + decimal(10,2 digit)|0s + + + 用户id + 4 + bigint(20)|0s + + + 联系人 + 5 + varchar(255)|0s + + + 联系电话 + 6 + varchar(255)|0s + + + 地址 + 7 + varchar(255)|0s + + + 订单状态 + 8 + varchar(255)|0s + + + 创建时间 + 9 + datetime|0s + + + id + btree + 1 + + + 1 + 1 + PRIMARY + +
+
\ No newline at end of file diff --git a/.idea/dataSources/282d1d00-de84-4cec-a9da-44812048f8ef/storage_v2/_src_/schema/mall.FAYzAA.meta b/.idea/dataSources/282d1d00-de84-4cec-a9da-44812048f8ef/storage_v2/_src_/schema/mall.FAYzAA.meta new file mode 100644 index 0000000..5130a0b --- /dev/null +++ b/.idea/dataSources/282d1d00-de84-4cec-a9da-44812048f8ef/storage_v2/_src_/schema/mall.FAYzAA.meta @@ -0,0 +1,2 @@ +#n:mall +! [0, 0, null, null, -2147483648, -2147483648] diff --git a/.idea/encodings.xml b/.idea/encodings.xml new file mode 100644 index 0000000..63e9001 --- /dev/null +++ b/.idea/encodings.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 0000000..aaf798c --- /dev/null +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,12 @@ + + + + \ No newline at end of file diff --git a/.idea/jarRepositories.xml b/.idea/jarRepositories.xml new file mode 100644 index 0000000..3e0c545 --- /dev/null +++ b/.idea/jarRepositories.xml @@ -0,0 +1,25 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..8d0ca10 --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,12 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml new file mode 100644 index 0000000..5df373b --- /dev/null +++ b/.idea/workspace.xml @@ -0,0 +1,205 @@ + + + + + + + + + + + + + + + + + { + "associatedIndex": 6 +} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1728808808514 + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/target/classes/com/rabbiter/em/config/CorsConfig$1.class b/target/classes/com/rabbiter/em/config/CorsConfig$1.class new file mode 100644 index 0000000..cd0af35 Binary files /dev/null and b/target/classes/com/rabbiter/em/config/CorsConfig$1.class differ diff --git a/target/classes/com/rabbiter/em/interceptor/AuthorityInterceptor$1.class b/target/classes/com/rabbiter/em/interceptor/AuthorityInterceptor$1.class new file mode 100644 index 0000000..26ca515 Binary files /dev/null and b/target/classes/com/rabbiter/em/interceptor/AuthorityInterceptor$1.class differ diff --git a/target/test-classes/com/rabbiter/em/mapper/CartMapperTest.class b/target/test-classes/com/rabbiter/em/mapper/CartMapperTest.class new file mode 100644 index 0000000..41f0a9b Binary files /dev/null and b/target/test-classes/com/rabbiter/em/mapper/CartMapperTest.class differ