diff --git a/.idea/compiler.xml b/.idea/compiler.xml index ed9663d..e67f790 100644 --- a/.idea/compiler.xml +++ b/.idea/compiler.xml @@ -2,6 +2,7 @@ + diff --git a/.idea/dataSources.xml b/.idea/dataSources.xml new file mode 100644 index 0000000..cd6416c --- /dev/null +++ b/.idea/dataSources.xml @@ -0,0 +1,32 @@ + + + + + redis + true + true + jdbc.RedisDriver + jdbc:redis://106.15.251.123:6379/2 + + + + + + + $ProjectFileDir$ + + + mysql.8 + true + true + com.mysql.cj.jdbc.Driver + jdbc:mysql://106.15.251.123:3305/db_spzx?serverTimezone=GMT + + + + + + $ProjectFileDir$ + + + \ No newline at end of file diff --git a/.idea/uiDesigner.xml b/.idea/uiDesigner.xml new file mode 100644 index 0000000..2b63946 --- /dev/null +++ b/.idea/uiDesigner.xml @@ -0,0 +1,124 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/pom.xml b/pom.xml index 967a645..3800150 100644 --- a/pom.xml +++ b/pom.xml @@ -1,66 +1,71 @@ - - - - org.springframework.boot - spring-boot-starter-parent - 3.0.5 - - 4.0.0 + + + + org.springframework.boot + spring-boot-starter-parent + 3.0.5 + + 4.0.0 - com.atguigu - spzx-parent - 1.0-SNAPSHOT - pom + com.atguigu + spzx-parent + 1.0-SNAPSHOT + pom - spzx-parent - https://maven.apache.org - - spzx-common - spzx-model - spzx-manager - + spzx-parent + https://maven.apache.org + + spzx-common + spzx-model + spzx-manager + - - 17 - 17 - UTF-8 - 8.0.30 - 2.0.21 - 1.18.20 - 3.0.1 - + + 17 + 17 + UTF-8 + 8.0.32 + 2.0.21 + 1.18.20 + 3.0.1 + 2.1.0 + - - - - - - org.mybatis.spring.boot - mybatis-spring-boot-starter - ${mybatis.version} - + + + + + + org.mybatis.spring.boot + mybatis-spring-boot-starter + ${mybatis.version} + + + + mysql + mysql-connector-java + ${mysql.version} + - - - mysql - mysql-connector-java - ${mysql.version} - - - - - com.alibaba - fastjson - ${fastjson.version} - - - - - org.projectlombok - lombok - ${lombok.version} - - - + + + com.alibaba + fastjson + ${fastjson.version} + + + + org.projectlombok + lombok + ${lombok.version} + + + + com.github.pagehelper + pagehelper-spring-boot-starter + ${pagehelper.version} + + + diff --git a/spzx-common/common-service/pom.xml b/spzx-common/common-service/pom.xml index 7ea1290..0b2adb1 100644 --- a/spzx-common/common-service/pom.xml +++ b/spzx-common/common-service/pom.xml @@ -1,4 +1,4 @@ - 4.0.0 @@ -38,7 +38,6 @@ org.springframework.boot spring-boot-starter-data-redis - provided diff --git a/spzx-common/common-service/src/main/java/com/atguigu/App.java b/spzx-common/common-service/src/main/java/com/atguigu/App.java deleted file mode 100644 index 74498e7..0000000 --- a/spzx-common/common-service/src/main/java/com/atguigu/App.java +++ /dev/null @@ -1,13 +0,0 @@ -package com.atguigu; - -/** - * Hello world! - * - */ -public class App -{ - public static void main( String[] args ) - { - System.out.println( "Hello World!" ); - } -} diff --git a/spzx-common/common-service/src/main/java/com/atguigu/config/Knife4jConfig.java b/spzx-common/common-service/src/main/java/com/atguigu/config/Knife4jConfig.java new file mode 100644 index 0000000..dcadcf1 --- /dev/null +++ b/spzx-common/common-service/src/main/java/com/atguigu/config/Knife4jConfig.java @@ -0,0 +1,25 @@ +package com.atguigu.config; + +import io.swagger.v3.oas.models.OpenAPI; +import io.swagger.v3.oas.models.info.Contact; +import io.swagger.v3.oas.models.info.Info; +import org.springdoc.core.models.GroupedOpenApi; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; + +@Configuration +public class Knife4jConfig { + @Bean + public GroupedOpenApi adminApi() { + return GroupedOpenApi.builder() // 分组名称 + .group("admin-api").pathsToMatch("/admin/**") // 接口请求路径规则 + .build(); + } + + @Bean + public OpenAPI customOpenAPI() { + return new OpenAPI().info(new Info().title("尚品甑选API接口文档") + .version("1.0").description("尚品甑选API接口文档") + .contact(new Contact().name("atguigu"))); // 设定作者 + } +} \ No newline at end of file diff --git a/spzx-common/common-service/src/main/java/com/atguigu/constant/LocalDateTimeConstant.java b/spzx-common/common-service/src/main/java/com/atguigu/constant/LocalDateTimeConstant.java new file mode 100644 index 0000000..ba175b9 --- /dev/null +++ b/spzx-common/common-service/src/main/java/com/atguigu/constant/LocalDateTimeConstant.java @@ -0,0 +1,8 @@ +package com.atguigu.constant; + +public class LocalDateTimeConstant { + public static final String DEFAULT_DATE_FORMAT = "yyyy-MM-dd"; + public static final String DEFAULT_DATE_TIME_FORMAT = "yyyy-MM-dd HH:mm"; + public static final String DEFAULT_DATE_TIME_SECOND_FORMAT = "yyyy-MM-dd HH:mm:ss"; + public static final String DEFAULT_TIME_FORMAT = "HH:mm:ss"; +} diff --git a/spzx-common/common-service/src/main/java/com/atguigu/constant/MessageConstant.java b/spzx-common/common-service/src/main/java/com/atguigu/constant/MessageConstant.java new file mode 100644 index 0000000..123526d --- /dev/null +++ b/spzx-common/common-service/src/main/java/com/atguigu/constant/MessageConstant.java @@ -0,0 +1,20 @@ +package com.atguigu.constant; + +/** + * 信息提示常量类 + */ +public class MessageConstant { + public static final String PASSWORD_ERROR = "密码错误"; + public static final String OLD_PASSWORD_ERROR = "旧密码不匹配"; + public static final String OLD_PASSWORD_SAME_NEW_PASSWORD = "旧密码与新密码相同"; + public static final String ACCOUNT_NOT_FOUND = "账号不存在"; + public static final String ACCOUNT_LOCKED = "账号被锁定"; + public static final String UNKNOWN_ERROR = "未知错误"; + public static final String USER_NOT_LOGIN = "用户未登录"; + public static final String USER_TOKEN_OUT_OF_DATE = "用户登录过期"; + public static final String LOGIN_FAILED = "登录失败"; + public static final String UPLOAD_FAILED = "文件上传失败"; + public static final String PASSWORD_EDIT_FAILED = "密码修改失败"; + public static final String ALREADY_EXISTS = "已存在"; + public static final String REQUEST_NOT_EMPTY = "请求不为空"; +} diff --git a/spzx-common/common-service/src/main/java/com/atguigu/constant/PasswordConstant.java b/spzx-common/common-service/src/main/java/com/atguigu/constant/PasswordConstant.java new file mode 100644 index 0000000..6c4166b --- /dev/null +++ b/spzx-common/common-service/src/main/java/com/atguigu/constant/PasswordConstant.java @@ -0,0 +1,15 @@ +package com.atguigu.constant; + +/** + * 密码常量 + */ +public class PasswordConstant { + // 默认密码 + public static final String DEFAULT_PASSWORD = "123456"; + // JWT密码 + public static final String DEFAULT_JWT_PASSWORD = "123456"; + // 默认头像 + public static final String AVTAR = "https://oss.aliyuncs.com/aliyun_id_photo_bucket/default_handsome.jpg"; + // 设置token过期时间 + public static final long TOKEN_EXPIRATION = 365L * 24 * 60 * 60 * 1000; +} diff --git a/spzx-common/common-service/src/main/java/com/atguigu/constant/StatusConstant.java b/spzx-common/common-service/src/main/java/com/atguigu/constant/StatusConstant.java new file mode 100644 index 0000000..eb33661 --- /dev/null +++ b/spzx-common/common-service/src/main/java/com/atguigu/constant/StatusConstant.java @@ -0,0 +1,11 @@ +package com.atguigu.constant; + +/** + * 状态常量,启用或者禁用 + */ +public class StatusConstant { + // 启用为1 + public static final Integer ENABLE = 1; + // 禁用为0 + public static final Integer DISABLE = 0; +} diff --git a/spzx-common/common-service/target/classes/com/atguigu/config/Knife4jConfig.class b/spzx-common/common-service/target/classes/com/atguigu/config/Knife4jConfig.class new file mode 100644 index 0000000..652deee Binary files /dev/null and b/spzx-common/common-service/target/classes/com/atguigu/config/Knife4jConfig.class differ diff --git a/spzx-common/common-service/target/classes/com/atguigu/constant/LocalDateTimeConstant.class b/spzx-common/common-service/target/classes/com/atguigu/constant/LocalDateTimeConstant.class new file mode 100644 index 0000000..c33655f Binary files /dev/null and b/spzx-common/common-service/target/classes/com/atguigu/constant/LocalDateTimeConstant.class differ diff --git a/spzx-common/common-service/target/classes/com/atguigu/constant/MessageConstant.class b/spzx-common/common-service/target/classes/com/atguigu/constant/MessageConstant.class new file mode 100644 index 0000000..bd8cd10 Binary files /dev/null and b/spzx-common/common-service/target/classes/com/atguigu/constant/MessageConstant.class differ diff --git a/spzx-common/common-service/target/classes/com/atguigu/constant/PasswordConstant.class b/spzx-common/common-service/target/classes/com/atguigu/constant/PasswordConstant.class new file mode 100644 index 0000000..075bc8b Binary files /dev/null and b/spzx-common/common-service/target/classes/com/atguigu/constant/PasswordConstant.class differ diff --git a/spzx-common/common-service/target/classes/com/atguigu/constant/StatusConstant.class b/spzx-common/common-service/target/classes/com/atguigu/constant/StatusConstant.class new file mode 100644 index 0000000..730e26e Binary files /dev/null and b/spzx-common/common-service/target/classes/com/atguigu/constant/StatusConstant.class differ diff --git a/spzx-common/common-util/pom.xml b/spzx-common/common-util/pom.xml index 39e82fa..a379e71 100644 --- a/spzx-common/common-util/pom.xml +++ b/spzx-common/common-util/pom.xml @@ -1,4 +1,4 @@ - 4.0.0 @@ -28,7 +28,6 @@ org.springframework.boot spring-boot-starter-web - provided diff --git a/spzx-common/common-util/src/main/java/com/atguigu/context/BaseContext.java b/spzx-common/common-util/src/main/java/com/atguigu/context/BaseContext.java new file mode 100644 index 0000000..5b5d2e0 --- /dev/null +++ b/spzx-common/common-util/src/main/java/com/atguigu/context/BaseContext.java @@ -0,0 +1,30 @@ +package com.atguigu.context; + +public class BaseContext { + public static ThreadLocal threadLocal = new ThreadLocal<>(); + + /** + * 获取当前用户id + * + * @return 用户id + */ + public static Long getUserId() { + return threadLocal.get(); + } + + /** + * 设置用户id + * + * @param userId 用户id + */ + public static void setUserId(Long userId) { + threadLocal.set(userId); + } + + /** + * 移出当前id + */ + public static void removeCurrentId() { + threadLocal.remove(); + } +} diff --git a/spzx-common/common-util/src/main/java/com/atguigu/exception/BunnyException.java b/spzx-common/common-util/src/main/java/com/atguigu/exception/BunnyException.java new file mode 100644 index 0000000..951eca9 --- /dev/null +++ b/spzx-common/common-util/src/main/java/com/atguigu/exception/BunnyException.java @@ -0,0 +1,34 @@ +package com.atguigu.exception; + +import com.atguigu.spzx.model.vo.result.ResultCodeEnum; +import lombok.Getter; +import lombok.NoArgsConstructor; +import lombok.ToString; +import lombok.extern.slf4j.Slf4j; + +@NoArgsConstructor +@Getter +@ToString +@Slf4j +public class BunnyException extends RuntimeException { + + Integer code;// 状态码 + String message;// 描述信息 + + public BunnyException(Integer code, String message) { + super(message); + this.code = code; + this.message = message; + } + + public BunnyException(String message) { + super(message); + log.error("业务异常:{}", message); + } + + public BunnyException(ResultCodeEnum codeEnum) { + super(codeEnum.getMessage()); + this.code = codeEnum.getCode(); + this.message = codeEnum.getMessage(); + } +} diff --git a/spzx-common/common-util/src/main/java/com/atguigu/exception/LoginFailedException.java b/spzx-common/common-util/src/main/java/com/atguigu/exception/LoginFailedException.java new file mode 100644 index 0000000..60eb400 --- /dev/null +++ b/spzx-common/common-util/src/main/java/com/atguigu/exception/LoginFailedException.java @@ -0,0 +1,22 @@ +package com.atguigu.exception; + +import lombok.extern.slf4j.Slf4j; + +/** + * 登录失败 + */ +@Slf4j +public class LoginFailedException extends BunnyException { + /** + * Constructs a new runtime exception with {@code null} as its + * detail message. The cause is not initialized, and may subsequently be + * initialized by a call to {@link #initCause}. + */ + public LoginFailedException() { + } + + public LoginFailedException(String message) { + super(message); + log.error("登录失败:{}", message); + } +} diff --git a/spzx-common/common-util/src/main/java/com/atguigu/exception/PasswordErrorException.java b/spzx-common/common-util/src/main/java/com/atguigu/exception/PasswordErrorException.java new file mode 100644 index 0000000..a5a9ae5 --- /dev/null +++ b/spzx-common/common-util/src/main/java/com/atguigu/exception/PasswordErrorException.java @@ -0,0 +1,22 @@ +package com.atguigu.exception; + +import lombok.extern.slf4j.Slf4j; + +/** + * 密码错误异常 + */ +@Slf4j +public class PasswordErrorException extends BunnyException { + /** + * Constructs a new runtime exception with {@code null} as its + * detail message. The cause is not initialized, and may subsequently be + * initialized by a call to {@link #initCause}. + */ + public PasswordErrorException() { + } + + public PasswordErrorException(String message) { + super(message); + log.error("密码错误异常:{}", message); + } +} diff --git a/spzx-common/common-util/src/main/java/com/atguigu/exception/UserNotLoginException.java b/spzx-common/common-util/src/main/java/com/atguigu/exception/UserNotLoginException.java new file mode 100644 index 0000000..087fdb3 --- /dev/null +++ b/spzx-common/common-util/src/main/java/com/atguigu/exception/UserNotLoginException.java @@ -0,0 +1,22 @@ +package com.atguigu.exception; + +import lombok.extern.slf4j.Slf4j; + +/** + * 用户未登录异常 + */ +@Slf4j +public class UserNotLoginException extends BunnyException { + /** + * Constructs a new runtime exception with {@code null} as its + * detail message. The cause is not initialized, and may subsequently be + * initialized by a call to {@link #initCause}. + */ + public UserNotLoginException() { + } + + public UserNotLoginException(String message) { + super(message); + log.error("用户未登录异常:{}", message); + } +} diff --git a/spzx-common/common-util/target/classes/com/atguigu/context/BaseContext.class b/spzx-common/common-util/target/classes/com/atguigu/context/BaseContext.class new file mode 100644 index 0000000..bb2efee Binary files /dev/null and b/spzx-common/common-util/target/classes/com/atguigu/context/BaseContext.class differ diff --git a/spzx-common/common-util/target/classes/com/atguigu/exception/BunnyException.class b/spzx-common/common-util/target/classes/com/atguigu/exception/BunnyException.class new file mode 100644 index 0000000..b3d8918 Binary files /dev/null and b/spzx-common/common-util/target/classes/com/atguigu/exception/BunnyException.class differ diff --git a/spzx-common/common-util/target/classes/com/atguigu/exception/LoginFailedException.class b/spzx-common/common-util/target/classes/com/atguigu/exception/LoginFailedException.class new file mode 100644 index 0000000..8aa47d0 Binary files /dev/null and b/spzx-common/common-util/target/classes/com/atguigu/exception/LoginFailedException.class differ diff --git a/spzx-common/common-util/target/classes/com/atguigu/exception/PasswordErrorException.class b/spzx-common/common-util/target/classes/com/atguigu/exception/PasswordErrorException.class new file mode 100644 index 0000000..68c5a39 Binary files /dev/null and b/spzx-common/common-util/target/classes/com/atguigu/exception/PasswordErrorException.class differ diff --git a/spzx-common/common-util/target/classes/com/atguigu/exception/UserNotLoginException.class b/spzx-common/common-util/target/classes/com/atguigu/exception/UserNotLoginException.class new file mode 100644 index 0000000..68f5132 Binary files /dev/null and b/spzx-common/common-util/target/classes/com/atguigu/exception/UserNotLoginException.class differ diff --git a/spzx-manager/pom.xml b/spzx-manager/pom.xml index 7c58a92..3193a8f 100644 --- a/spzx-manager/pom.xml +++ b/spzx-manager/pom.xml @@ -1,59 +1,58 @@ - - 4.0.0 - - com.atguigu - spzx-parent - 1.0-SNAPSHOT - + 4.0.0 + + com.atguigu + spzx-parent + 1.0-SNAPSHOT + - spzx-manager - jar + spzx-manager + jar - spzx-manager - https://maven.apache.org + spzx-manager + https://maven.apache.org - - UTF-8 - + + UTF-8 + - - - - org.springframework.boot - spring-boot-starter-web - - - - org.springframework.boot - spring-boot-starter-test - - - - org.springframework.boot - spring-boot-starter-data-redis - - - - org.mybatis.spring.boot - mybatis-spring-boot-starter - - - - mysql - mysql-connector-java - - - - com.atguigu - common-service - 1.0-SNAPSHOT - - - - com.github.pagehelper - pagehelper-spring-boot-starter - 1.4.3 - - + + + + com.atguigu + common-service + 1.0-SNAPSHOT + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + + + + org.springframework.boot + spring-boot-starter-data-redis + + + + org.mybatis.spring.boot + mybatis-spring-boot-starter + + + + mysql + mysql-connector-java + + + + com.github.pagehelper + pagehelper-spring-boot-starter + + diff --git a/spzx-manager/src/main/java/com/atguigu/App.java b/spzx-manager/src/main/java/com/atguigu/App.java deleted file mode 100644 index 74498e7..0000000 --- a/spzx-manager/src/main/java/com/atguigu/App.java +++ /dev/null @@ -1,13 +0,0 @@ -package com.atguigu; - -/** - * Hello world! - * - */ -public class App -{ - public static void main( String[] args ) - { - System.out.println( "Hello World!" ); - } -} diff --git a/spzx-manager/src/main/java/com/atguigu/spzx/manger/MangerApplication.java b/spzx-manager/src/main/java/com/atguigu/spzx/manger/MangerApplication.java new file mode 100644 index 0000000..2b3edfe --- /dev/null +++ b/spzx-manager/src/main/java/com/atguigu/spzx/manger/MangerApplication.java @@ -0,0 +1,15 @@ +package com.atguigu.spzx.manger; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; +import org.springframework.context.annotation.ComponentScan; +import org.springframework.scheduling.annotation.EnableScheduling; + +@SpringBootApplication +@EnableScheduling +@ComponentScan("com.atguigu") +public class MangerApplication { + public static void main(String[] args) { + SpringApplication.run(MangerApplication.class, args); + } +} diff --git a/spzx-manager/src/main/java/com/atguigu/spzx/manger/controller/IndexController.java b/spzx-manager/src/main/java/com/atguigu/spzx/manger/controller/IndexController.java new file mode 100644 index 0000000..f2bae49 --- /dev/null +++ b/spzx-manager/src/main/java/com/atguigu/spzx/manger/controller/IndexController.java @@ -0,0 +1,11 @@ +package com.atguigu.spzx.manger.controller; + +import io.swagger.v3.oas.annotations.tags.Tag; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +@Tag(name = "用户接口") +@RestController +@RequestMapping("/admin/system/index") +public class IndexController { +} diff --git a/spzx-manager/src/main/java/com/atguigu/spzx/manger/mapper/SysUserMapper.java b/spzx-manager/src/main/java/com/atguigu/spzx/manger/mapper/SysUserMapper.java new file mode 100644 index 0000000..402dfe4 --- /dev/null +++ b/spzx-manager/src/main/java/com/atguigu/spzx/manger/mapper/SysUserMapper.java @@ -0,0 +1,7 @@ +package com.atguigu.spzx.manger.mapper; + +import org.apache.ibatis.annotations.Mapper; + +@Mapper +public interface SysUserMapper { +} diff --git a/spzx-manager/src/main/java/com/atguigu/spzx/manger/service/SysUserService.java b/spzx-manager/src/main/java/com/atguigu/spzx/manger/service/SysUserService.java new file mode 100644 index 0000000..14d717c --- /dev/null +++ b/spzx-manager/src/main/java/com/atguigu/spzx/manger/service/SysUserService.java @@ -0,0 +1,4 @@ +package com.atguigu.spzx.manger.service; + +public interface SysUserService { +} diff --git a/spzx-manager/src/main/java/com/atguigu/spzx/manger/service/impl/SysUserServiceImpl.java b/spzx-manager/src/main/java/com/atguigu/spzx/manger/service/impl/SysUserServiceImpl.java new file mode 100644 index 0000000..00ca061 --- /dev/null +++ b/spzx-manager/src/main/java/com/atguigu/spzx/manger/service/impl/SysUserServiceImpl.java @@ -0,0 +1,7 @@ +package com.atguigu.spzx.manger.service.impl; + +import org.springframework.stereotype.Service; + +@Service +public class SysUserServiceImpl { +} diff --git a/spzx-manager/src/main/resources/application-dev.yml b/spzx-manager/src/main/resources/application-dev.yml new file mode 100644 index 0000000..e72a30c --- /dev/null +++ b/spzx-manager/src/main/resources/application-dev.yml @@ -0,0 +1,16 @@ +bunny: + datasource: + host: 106.15.251.123 + port: 3305 + sqlData: db_spzx + username: root + password: "02120212" + + redis: + host: 106.15.251.123 + port: 6379 + database: 2 + +# jackson: +# date-format: yyyy-MM-dd HH:mm:ss +# time-zone: GMT+8 \ No newline at end of file diff --git a/spzx-manager/src/main/resources/application.yml b/spzx-manager/src/main/resources/application.yml new file mode 100644 index 0000000..8bc2f8d --- /dev/null +++ b/spzx-manager/src/main/resources/application.yml @@ -0,0 +1,41 @@ +server: + port: 8501 +spring: + application: + name: service-spzx + profiles: + active: dev + main: + allow-bean-definition-overriding: true + + datasource: + type: com.zaxxer.hikari.HikariDataSource + driver-class-name: com.mysql.cj.jdbc.Driver + url: jdbc:mysql://${bunny.datasource.host}:${bunny.datasource.port}/${bunny.datasource.sqlData}?serverTimezone=GMT%2B8&useSSL=false&characterEncoding=utf-8&allowPublicKeyRetrieval=true + username: ${bunny.datasource.username} + password: "${bunny.datasource.password}" + data: + redis: + host: ${bunny.redis.host} + port: ${bunny.redis.port} + database: ${bunny.redis.database} + +logging: + level: + com.atguigu.mapper: debug + com.atguigu.controller: info + com.atguigu.service: info + com.github.pagehelper: debug + pattern: + dateformat: HH:mm:ss:SSS + file: + path: " logs/${spring.application.name}" + +mybatis: + type-aliases-package: com.atguigu.spzx.model + mapper-locations: classpath:mapper/*.xml + config-location: classpath:mybatis-config.xml +# configuration: +# log-impl: org.apache.ibatis.logging.stdout.StdOutImpl +# map-underscore-to-camel-case: true +# auto-mapping-behavior: full \ No newline at end of file diff --git a/spzx-manager/src/main/resources/banner.txt b/spzx-manager/src/main/resources/banner.txt new file mode 100644 index 0000000..cc77fc2 --- /dev/null +++ b/spzx-manager/src/main/resources/banner.txt @@ -0,0 +1,16 @@ +-----------------▄██-█▄--------- +-----------------███▄██▄-------- +-----------------███████-------- +-----------------▀███████------- +-------------------██████▄▄----- +-------------------█████████▄--- +-------------------██████▄████-- +-------▄███████████████████████- +-----▄███████████████████████▀-- +---▄██████████████████████------ +---███████████████████████------ +---███████████████████████------ +-▄▄██████████████████████▀------ +-█████████████████▀█████-------- +-▀██████████████▀▀-▀█████▄------ +-------▀▀▀▀▀▀▀▀▀------▀▀▀▀------ \ No newline at end of file diff --git a/spzx-manager/src/main/resources/logback-spring.xml b/spzx-manager/src/main/resources/logback-spring.xml new file mode 100644 index 0000000..eb59d34 --- /dev/null +++ b/spzx-manager/src/main/resources/logback-spring.xml @@ -0,0 +1,56 @@ + + + + logback + + + + + + + + + + + + + + + + + + + + + + + INFO + + + ${CONSOLE_LOG_PATTERN} + ${ENCODING} + + + + + + ${log.path}//log.log + true + + %date{yyyy-MM-dd HH:mm:ss} %msg%n + ${ENCODING} + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/spzx-manager/src/main/resources/mapper/SysUserMapper.xml b/spzx-manager/src/main/resources/mapper/SysUserMapper.xml new file mode 100644 index 0000000..1145174 --- /dev/null +++ b/spzx-manager/src/main/resources/mapper/SysUserMapper.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/spzx-manager/src/main/resources/mybatis-config.xml b/spzx-manager/src/main/resources/mybatis-config.xml new file mode 100644 index 0000000..89898c2 --- /dev/null +++ b/spzx-manager/src/main/resources/mybatis-config.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + diff --git a/spzx-manager/target/classes/application-dev.yml b/spzx-manager/target/classes/application-dev.yml new file mode 100644 index 0000000..e72a30c --- /dev/null +++ b/spzx-manager/target/classes/application-dev.yml @@ -0,0 +1,16 @@ +bunny: + datasource: + host: 106.15.251.123 + port: 3305 + sqlData: db_spzx + username: root + password: "02120212" + + redis: + host: 106.15.251.123 + port: 6379 + database: 2 + +# jackson: +# date-format: yyyy-MM-dd HH:mm:ss +# time-zone: GMT+8 \ No newline at end of file diff --git a/spzx-manager/target/classes/application.yml b/spzx-manager/target/classes/application.yml new file mode 100644 index 0000000..8bc2f8d --- /dev/null +++ b/spzx-manager/target/classes/application.yml @@ -0,0 +1,41 @@ +server: + port: 8501 +spring: + application: + name: service-spzx + profiles: + active: dev + main: + allow-bean-definition-overriding: true + + datasource: + type: com.zaxxer.hikari.HikariDataSource + driver-class-name: com.mysql.cj.jdbc.Driver + url: jdbc:mysql://${bunny.datasource.host}:${bunny.datasource.port}/${bunny.datasource.sqlData}?serverTimezone=GMT%2B8&useSSL=false&characterEncoding=utf-8&allowPublicKeyRetrieval=true + username: ${bunny.datasource.username} + password: "${bunny.datasource.password}" + data: + redis: + host: ${bunny.redis.host} + port: ${bunny.redis.port} + database: ${bunny.redis.database} + +logging: + level: + com.atguigu.mapper: debug + com.atguigu.controller: info + com.atguigu.service: info + com.github.pagehelper: debug + pattern: + dateformat: HH:mm:ss:SSS + file: + path: " logs/${spring.application.name}" + +mybatis: + type-aliases-package: com.atguigu.spzx.model + mapper-locations: classpath:mapper/*.xml + config-location: classpath:mybatis-config.xml +# configuration: +# log-impl: org.apache.ibatis.logging.stdout.StdOutImpl +# map-underscore-to-camel-case: true +# auto-mapping-behavior: full \ No newline at end of file diff --git a/spzx-manager/target/classes/banner.txt b/spzx-manager/target/classes/banner.txt new file mode 100644 index 0000000..cc77fc2 --- /dev/null +++ b/spzx-manager/target/classes/banner.txt @@ -0,0 +1,16 @@ +-----------------▄██-█▄--------- +-----------------███▄██▄-------- +-----------------███████-------- +-----------------▀███████------- +-------------------██████▄▄----- +-------------------█████████▄--- +-------------------██████▄████-- +-------▄███████████████████████- +-----▄███████████████████████▀-- +---▄██████████████████████------ +---███████████████████████------ +---███████████████████████------ +-▄▄██████████████████████▀------ +-█████████████████▀█████-------- +-▀██████████████▀▀-▀█████▄------ +-------▀▀▀▀▀▀▀▀▀------▀▀▀▀------ \ No newline at end of file diff --git a/spzx-manager/target/classes/com/atguigu/spzx/manger/MangerApplication.class b/spzx-manager/target/classes/com/atguigu/spzx/manger/MangerApplication.class new file mode 100644 index 0000000..073831e Binary files /dev/null and b/spzx-manager/target/classes/com/atguigu/spzx/manger/MangerApplication.class differ diff --git a/spzx-manager/target/classes/com/atguigu/spzx/manger/controller/IndexController.class b/spzx-manager/target/classes/com/atguigu/spzx/manger/controller/IndexController.class new file mode 100644 index 0000000..c9ee57f Binary files /dev/null and b/spzx-manager/target/classes/com/atguigu/spzx/manger/controller/IndexController.class differ diff --git a/spzx-manager/target/classes/com/atguigu/spzx/manger/mapper/SysUserMapper.class b/spzx-manager/target/classes/com/atguigu/spzx/manger/mapper/SysUserMapper.class new file mode 100644 index 0000000..6927299 Binary files /dev/null and b/spzx-manager/target/classes/com/atguigu/spzx/manger/mapper/SysUserMapper.class differ diff --git a/spzx-manager/target/classes/com/atguigu/spzx/manger/service/SysUserService.class b/spzx-manager/target/classes/com/atguigu/spzx/manger/service/SysUserService.class new file mode 100644 index 0000000..5237fc5 Binary files /dev/null and b/spzx-manager/target/classes/com/atguigu/spzx/manger/service/SysUserService.class differ diff --git a/spzx-manager/target/classes/com/atguigu/spzx/manger/service/impl/SysUserServiceImpl.class b/spzx-manager/target/classes/com/atguigu/spzx/manger/service/impl/SysUserServiceImpl.class new file mode 100644 index 0000000..c289ff2 Binary files /dev/null and b/spzx-manager/target/classes/com/atguigu/spzx/manger/service/impl/SysUserServiceImpl.class differ diff --git a/spzx-manager/target/classes/logback-spring.xml b/spzx-manager/target/classes/logback-spring.xml new file mode 100644 index 0000000..eb59d34 --- /dev/null +++ b/spzx-manager/target/classes/logback-spring.xml @@ -0,0 +1,56 @@ + + + + logback + + + + + + + + + + + + + + + + + + + + + + + INFO + + + ${CONSOLE_LOG_PATTERN} + ${ENCODING} + + + + + + ${log.path}//log.log + true + + %date{yyyy-MM-dd HH:mm:ss} %msg%n + ${ENCODING} + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/spzx-manager/target/classes/mapper/SysUserMapper.xml b/spzx-manager/target/classes/mapper/SysUserMapper.xml new file mode 100644 index 0000000..1145174 --- /dev/null +++ b/spzx-manager/target/classes/mapper/SysUserMapper.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/spzx-manager/target/classes/mybatis-config.xml b/spzx-manager/target/classes/mybatis-config.xml new file mode 100644 index 0000000..89898c2 --- /dev/null +++ b/spzx-manager/target/classes/mybatis-config.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + diff --git a/spzx-model/src/main/java/com/atguigu/spzx/model/vo/common/Result.java b/spzx-model/src/main/java/com/atguigu/spzx/model/vo/common/Result.java deleted file mode 100644 index bb3a851..0000000 --- a/spzx-model/src/main/java/com/atguigu/spzx/model/vo/common/Result.java +++ /dev/null @@ -1,39 +0,0 @@ -package com.atguigu.spzx.model.vo.common; - -import io.swagger.v3.oas.annotations.media.Schema; -import lombok.Data; - -@Data -@Schema(description = "响应结果实体类") -public class Result { - - //返回码 - @Schema(description = "业务状态码") - private Integer code; - - //返回消息 - @Schema(description = "响应消息") - private String message; - - //返回数据 - @Schema(description = "业务数据") - private T data; - - // 私有化构造 - private Result() {} - - // 返回数据 - public static Result build(T body, Integer code, String message) { - Result result = new Result<>(); - result.setData(body); - result.setCode(code); - result.setMessage(message); - return result; - } - - // 通过枚举构造Result对象 - public static Result build(T body , ResultCodeEnum resultCodeEnum) { - return build(body , resultCodeEnum.getCode() , resultCodeEnum.getMessage()) ; - } - -} diff --git a/spzx-model/src/main/java/com/atguigu/spzx/model/vo/common/ResultCodeEnum.java b/spzx-model/src/main/java/com/atguigu/spzx/model/vo/common/ResultCodeEnum.java deleted file mode 100644 index d3d1d5b..0000000 --- a/spzx-model/src/main/java/com/atguigu/spzx/model/vo/common/ResultCodeEnum.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.atguigu.spzx.model.vo.common; - -import lombok.Getter; - -@Getter // 提供获取属性值的getter方法 -public enum ResultCodeEnum { - - SUCCESS(200 , "操作成功") , - LOGIN_ERROR(201 , "用户名或者密码错误"), - VALIDATECODE_ERROR(202 , "验证码错误") , - LOGIN_AUTH(208 , "用户未登录"), - USER_NAME_IS_EXISTS(209 , "用户名已经存在"), - SYSTEM_ERROR(9999 , "您的网络有问题请稍后重试"), - NODE_ERROR( 217, "该节点下有子节点,不可以删除"), - DATA_ERROR(204, "数据异常"), - ACCOUNT_STOP( 216, "账号已停用"), - - STOCK_LESS( 219, "库存不足"), - - ; - - private Integer code ; // 业务状态码 - private String message ; // 响应消息 - - private ResultCodeEnum(Integer code , String message) { - this.code = code ; - this.message = message ; - } - -} diff --git a/spzx-common/common-util/src/main/java/com/atguigu/result/Result.java b/spzx-model/src/main/java/com/atguigu/spzx/model/vo/result/Result.java similarity index 98% rename from spzx-common/common-util/src/main/java/com/atguigu/result/Result.java rename to spzx-model/src/main/java/com/atguigu/spzx/model/vo/result/Result.java index c0afdee..cc30c54 100644 --- a/spzx-common/common-util/src/main/java/com/atguigu/result/Result.java +++ b/spzx-model/src/main/java/com/atguigu/spzx/model/vo/result/Result.java @@ -1,4 +1,4 @@ -package com.atguigu.result; +package com.atguigu.spzx.model.vo.result; import lombok.AllArgsConstructor; import lombok.Data; diff --git a/spzx-common/common-util/src/main/java/com/atguigu/result/ResultCodeEnum.java b/spzx-model/src/main/java/com/atguigu/spzx/model/vo/result/ResultCodeEnum.java similarity index 93% rename from spzx-common/common-util/src/main/java/com/atguigu/result/ResultCodeEnum.java rename to spzx-model/src/main/java/com/atguigu/spzx/model/vo/result/ResultCodeEnum.java index 2d36800..33f9a56 100644 --- a/spzx-common/common-util/src/main/java/com/atguigu/result/ResultCodeEnum.java +++ b/spzx-model/src/main/java/com/atguigu/spzx/model/vo/result/ResultCodeEnum.java @@ -1,4 +1,4 @@ -package com.atguigu.result; +package com.atguigu.spzx.model.vo.result; import lombok.Getter; diff --git a/spzx-model/target/classes/com/atguigu/spzx/model/dto/h5/OrderInfoDto.class b/spzx-model/target/classes/com/atguigu/spzx/model/dto/h5/OrderInfoDto.class new file mode 100644 index 0000000..6393a2e Binary files /dev/null and b/spzx-model/target/classes/com/atguigu/spzx/model/dto/h5/OrderInfoDto.class differ diff --git a/spzx-model/target/classes/com/atguigu/spzx/model/dto/h5/ProductSkuDto.class b/spzx-model/target/classes/com/atguigu/spzx/model/dto/h5/ProductSkuDto.class new file mode 100644 index 0000000..e9d89cc Binary files /dev/null and b/spzx-model/target/classes/com/atguigu/spzx/model/dto/h5/ProductSkuDto.class differ diff --git a/spzx-model/target/classes/com/atguigu/spzx/model/dto/h5/UserLoginDto.class b/spzx-model/target/classes/com/atguigu/spzx/model/dto/h5/UserLoginDto.class new file mode 100644 index 0000000..2dde95a Binary files /dev/null and b/spzx-model/target/classes/com/atguigu/spzx/model/dto/h5/UserLoginDto.class differ diff --git a/spzx-model/target/classes/com/atguigu/spzx/model/dto/h5/UserRegisterDto.class b/spzx-model/target/classes/com/atguigu/spzx/model/dto/h5/UserRegisterDto.class new file mode 100644 index 0000000..e48a6c6 Binary files /dev/null and b/spzx-model/target/classes/com/atguigu/spzx/model/dto/h5/UserRegisterDto.class differ diff --git a/spzx-model/target/classes/com/atguigu/spzx/model/dto/order/OrderStatisticsDto.class b/spzx-model/target/classes/com/atguigu/spzx/model/dto/order/OrderStatisticsDto.class new file mode 100644 index 0000000..29bb4c5 Binary files /dev/null and b/spzx-model/target/classes/com/atguigu/spzx/model/dto/order/OrderStatisticsDto.class differ diff --git a/spzx-model/target/classes/com/atguigu/spzx/model/dto/product/CategoryBrandDto.class b/spzx-model/target/classes/com/atguigu/spzx/model/dto/product/CategoryBrandDto.class new file mode 100644 index 0000000..895af0c Binary files /dev/null and b/spzx-model/target/classes/com/atguigu/spzx/model/dto/product/CategoryBrandDto.class differ diff --git a/spzx-model/target/classes/com/atguigu/spzx/model/dto/product/ProductDto.class b/spzx-model/target/classes/com/atguigu/spzx/model/dto/product/ProductDto.class new file mode 100644 index 0000000..21a9e50 Binary files /dev/null and b/spzx-model/target/classes/com/atguigu/spzx/model/dto/product/ProductDto.class differ diff --git a/spzx-model/target/classes/com/atguigu/spzx/model/dto/product/SkuSaleDto.class b/spzx-model/target/classes/com/atguigu/spzx/model/dto/product/SkuSaleDto.class new file mode 100644 index 0000000..a261a8c Binary files /dev/null and b/spzx-model/target/classes/com/atguigu/spzx/model/dto/product/SkuSaleDto.class differ diff --git a/spzx-model/target/classes/com/atguigu/spzx/model/dto/system/AssginMenuDto.class b/spzx-model/target/classes/com/atguigu/spzx/model/dto/system/AssginMenuDto.class new file mode 100644 index 0000000..6e61f52 Binary files /dev/null and b/spzx-model/target/classes/com/atguigu/spzx/model/dto/system/AssginMenuDto.class differ diff --git a/spzx-model/target/classes/com/atguigu/spzx/model/dto/system/AssginRoleDto.class b/spzx-model/target/classes/com/atguigu/spzx/model/dto/system/AssginRoleDto.class new file mode 100644 index 0000000..cfd4542 Binary files /dev/null and b/spzx-model/target/classes/com/atguigu/spzx/model/dto/system/AssginRoleDto.class differ diff --git a/spzx-model/target/classes/com/atguigu/spzx/model/dto/system/LoginDto.class b/spzx-model/target/classes/com/atguigu/spzx/model/dto/system/LoginDto.class new file mode 100644 index 0000000..b74a117 Binary files /dev/null and b/spzx-model/target/classes/com/atguigu/spzx/model/dto/system/LoginDto.class differ diff --git a/spzx-model/target/classes/com/atguigu/spzx/model/dto/system/SysOperLogDto.class b/spzx-model/target/classes/com/atguigu/spzx/model/dto/system/SysOperLogDto.class new file mode 100644 index 0000000..b8119d8 Binary files /dev/null and b/spzx-model/target/classes/com/atguigu/spzx/model/dto/system/SysOperLogDto.class differ diff --git a/spzx-model/target/classes/com/atguigu/spzx/model/dto/system/SysRoleDto.class b/spzx-model/target/classes/com/atguigu/spzx/model/dto/system/SysRoleDto.class new file mode 100644 index 0000000..08142e1 Binary files /dev/null and b/spzx-model/target/classes/com/atguigu/spzx/model/dto/system/SysRoleDto.class differ diff --git a/spzx-model/target/classes/com/atguigu/spzx/model/dto/system/SysUserDto.class b/spzx-model/target/classes/com/atguigu/spzx/model/dto/system/SysUserDto.class new file mode 100644 index 0000000..534d9ce Binary files /dev/null and b/spzx-model/target/classes/com/atguigu/spzx/model/dto/system/SysUserDto.class differ diff --git a/spzx-model/target/classes/com/atguigu/spzx/model/entity/base/BaseEntity.class b/spzx-model/target/classes/com/atguigu/spzx/model/entity/base/BaseEntity.class new file mode 100644 index 0000000..aa4998f Binary files /dev/null and b/spzx-model/target/classes/com/atguigu/spzx/model/entity/base/BaseEntity.class differ diff --git a/spzx-model/target/classes/com/atguigu/spzx/model/entity/base/ProductUnit.class b/spzx-model/target/classes/com/atguigu/spzx/model/entity/base/ProductUnit.class new file mode 100644 index 0000000..5d35f92 Binary files /dev/null and b/spzx-model/target/classes/com/atguigu/spzx/model/entity/base/ProductUnit.class differ diff --git a/spzx-model/target/classes/com/atguigu/spzx/model/entity/base/Region.class b/spzx-model/target/classes/com/atguigu/spzx/model/entity/base/Region.class new file mode 100644 index 0000000..a3d390e Binary files /dev/null and b/spzx-model/target/classes/com/atguigu/spzx/model/entity/base/Region.class differ diff --git a/spzx-model/target/classes/com/atguigu/spzx/model/entity/h5/CartInfo.class b/spzx-model/target/classes/com/atguigu/spzx/model/entity/h5/CartInfo.class new file mode 100644 index 0000000..df6a0a2 Binary files /dev/null and b/spzx-model/target/classes/com/atguigu/spzx/model/entity/h5/CartInfo.class differ diff --git a/spzx-model/target/classes/com/atguigu/spzx/model/entity/order/OrderInfo.class b/spzx-model/target/classes/com/atguigu/spzx/model/entity/order/OrderInfo.class new file mode 100644 index 0000000..61c7fdb Binary files /dev/null and b/spzx-model/target/classes/com/atguigu/spzx/model/entity/order/OrderInfo.class differ diff --git a/spzx-model/target/classes/com/atguigu/spzx/model/entity/order/OrderItem.class b/spzx-model/target/classes/com/atguigu/spzx/model/entity/order/OrderItem.class new file mode 100644 index 0000000..b10e8e7 Binary files /dev/null and b/spzx-model/target/classes/com/atguigu/spzx/model/entity/order/OrderItem.class differ diff --git a/spzx-model/target/classes/com/atguigu/spzx/model/entity/order/OrderLog.class b/spzx-model/target/classes/com/atguigu/spzx/model/entity/order/OrderLog.class new file mode 100644 index 0000000..63d98bd Binary files /dev/null and b/spzx-model/target/classes/com/atguigu/spzx/model/entity/order/OrderLog.class differ diff --git a/spzx-model/target/classes/com/atguigu/spzx/model/entity/order/OrderStatistics.class b/spzx-model/target/classes/com/atguigu/spzx/model/entity/order/OrderStatistics.class new file mode 100644 index 0000000..9541caf Binary files /dev/null and b/spzx-model/target/classes/com/atguigu/spzx/model/entity/order/OrderStatistics.class differ diff --git a/spzx-model/target/classes/com/atguigu/spzx/model/entity/pay/PaymentInfo.class b/spzx-model/target/classes/com/atguigu/spzx/model/entity/pay/PaymentInfo.class new file mode 100644 index 0000000..751492e Binary files /dev/null and b/spzx-model/target/classes/com/atguigu/spzx/model/entity/pay/PaymentInfo.class differ diff --git a/spzx-model/target/classes/com/atguigu/spzx/model/entity/product/Brand.class b/spzx-model/target/classes/com/atguigu/spzx/model/entity/product/Brand.class new file mode 100644 index 0000000..b9c0ca4 Binary files /dev/null and b/spzx-model/target/classes/com/atguigu/spzx/model/entity/product/Brand.class differ diff --git a/spzx-model/target/classes/com/atguigu/spzx/model/entity/product/Category.class b/spzx-model/target/classes/com/atguigu/spzx/model/entity/product/Category.class new file mode 100644 index 0000000..96a9b49 Binary files /dev/null and b/spzx-model/target/classes/com/atguigu/spzx/model/entity/product/Category.class differ diff --git a/spzx-model/target/classes/com/atguigu/spzx/model/entity/product/CategoryBrand.class b/spzx-model/target/classes/com/atguigu/spzx/model/entity/product/CategoryBrand.class new file mode 100644 index 0000000..fc4f672 Binary files /dev/null and b/spzx-model/target/classes/com/atguigu/spzx/model/entity/product/CategoryBrand.class differ diff --git a/spzx-model/target/classes/com/atguigu/spzx/model/entity/product/Product.class b/spzx-model/target/classes/com/atguigu/spzx/model/entity/product/Product.class new file mode 100644 index 0000000..96f9c6a Binary files /dev/null and b/spzx-model/target/classes/com/atguigu/spzx/model/entity/product/Product.class differ diff --git a/spzx-model/target/classes/com/atguigu/spzx/model/entity/product/ProductDetails.class b/spzx-model/target/classes/com/atguigu/spzx/model/entity/product/ProductDetails.class new file mode 100644 index 0000000..872c0c2 Binary files /dev/null and b/spzx-model/target/classes/com/atguigu/spzx/model/entity/product/ProductDetails.class differ diff --git a/spzx-model/target/classes/com/atguigu/spzx/model/entity/product/ProductSku.class b/spzx-model/target/classes/com/atguigu/spzx/model/entity/product/ProductSku.class new file mode 100644 index 0000000..04442a3 Binary files /dev/null and b/spzx-model/target/classes/com/atguigu/spzx/model/entity/product/ProductSku.class differ diff --git a/spzx-model/target/classes/com/atguigu/spzx/model/entity/product/ProductSpec.class b/spzx-model/target/classes/com/atguigu/spzx/model/entity/product/ProductSpec.class new file mode 100644 index 0000000..c1b130a Binary files /dev/null and b/spzx-model/target/classes/com/atguigu/spzx/model/entity/product/ProductSpec.class differ diff --git a/spzx-model/target/classes/com/atguigu/spzx/model/entity/system/SysMenu.class b/spzx-model/target/classes/com/atguigu/spzx/model/entity/system/SysMenu.class new file mode 100644 index 0000000..272c4a4 Binary files /dev/null and b/spzx-model/target/classes/com/atguigu/spzx/model/entity/system/SysMenu.class differ diff --git a/spzx-model/target/classes/com/atguigu/spzx/model/entity/system/SysOperLog.class b/spzx-model/target/classes/com/atguigu/spzx/model/entity/system/SysOperLog.class new file mode 100644 index 0000000..2bbcde0 Binary files /dev/null and b/spzx-model/target/classes/com/atguigu/spzx/model/entity/system/SysOperLog.class differ diff --git a/spzx-model/target/classes/com/atguigu/spzx/model/entity/system/SysRole.class b/spzx-model/target/classes/com/atguigu/spzx/model/entity/system/SysRole.class new file mode 100644 index 0000000..01e3a9f Binary files /dev/null and b/spzx-model/target/classes/com/atguigu/spzx/model/entity/system/SysRole.class differ diff --git a/spzx-model/target/classes/com/atguigu/spzx/model/entity/system/SysRoleUser.class b/spzx-model/target/classes/com/atguigu/spzx/model/entity/system/SysRoleUser.class new file mode 100644 index 0000000..0e56cb7 Binary files /dev/null and b/spzx-model/target/classes/com/atguigu/spzx/model/entity/system/SysRoleUser.class differ diff --git a/spzx-model/target/classes/com/atguigu/spzx/model/entity/system/SysUser.class b/spzx-model/target/classes/com/atguigu/spzx/model/entity/system/SysUser.class new file mode 100644 index 0000000..fe2fb11 Binary files /dev/null and b/spzx-model/target/classes/com/atguigu/spzx/model/entity/system/SysUser.class differ diff --git a/spzx-model/target/classes/com/atguigu/spzx/model/entity/user/UserAddress.class b/spzx-model/target/classes/com/atguigu/spzx/model/entity/user/UserAddress.class new file mode 100644 index 0000000..31637c9 Binary files /dev/null and b/spzx-model/target/classes/com/atguigu/spzx/model/entity/user/UserAddress.class differ diff --git a/spzx-model/target/classes/com/atguigu/spzx/model/entity/user/UserInfo.class b/spzx-model/target/classes/com/atguigu/spzx/model/entity/user/UserInfo.class new file mode 100644 index 0000000..6f8950c Binary files /dev/null and b/spzx-model/target/classes/com/atguigu/spzx/model/entity/user/UserInfo.class differ diff --git a/spzx-model/target/classes/com/atguigu/spzx/model/vo/h5/IndexVo.class b/spzx-model/target/classes/com/atguigu/spzx/model/vo/h5/IndexVo.class new file mode 100644 index 0000000..87ff782 Binary files /dev/null and b/spzx-model/target/classes/com/atguigu/spzx/model/vo/h5/IndexVo.class differ diff --git a/spzx-model/target/classes/com/atguigu/spzx/model/vo/h5/ProductItemVo.class b/spzx-model/target/classes/com/atguigu/spzx/model/vo/h5/ProductItemVo.class new file mode 100644 index 0000000..5637528 Binary files /dev/null and b/spzx-model/target/classes/com/atguigu/spzx/model/vo/h5/ProductItemVo.class differ diff --git a/spzx-model/target/classes/com/atguigu/spzx/model/vo/h5/TradeVo.class b/spzx-model/target/classes/com/atguigu/spzx/model/vo/h5/TradeVo.class new file mode 100644 index 0000000..e8e7f3f Binary files /dev/null and b/spzx-model/target/classes/com/atguigu/spzx/model/vo/h5/TradeVo.class differ diff --git a/spzx-model/target/classes/com/atguigu/spzx/model/vo/h5/UserInfoVo.class b/spzx-model/target/classes/com/atguigu/spzx/model/vo/h5/UserInfoVo.class new file mode 100644 index 0000000..81236f7 Binary files /dev/null and b/spzx-model/target/classes/com/atguigu/spzx/model/vo/h5/UserInfoVo.class differ diff --git a/spzx-model/target/classes/com/atguigu/spzx/model/vo/order/OrderStatisticsVo.class b/spzx-model/target/classes/com/atguigu/spzx/model/vo/order/OrderStatisticsVo.class new file mode 100644 index 0000000..c4310a6 Binary files /dev/null and b/spzx-model/target/classes/com/atguigu/spzx/model/vo/order/OrderStatisticsVo.class differ diff --git a/spzx-model/target/classes/com/atguigu/spzx/model/vo/product/CategoryExcelVo.class b/spzx-model/target/classes/com/atguigu/spzx/model/vo/product/CategoryExcelVo.class new file mode 100644 index 0000000..817d663 Binary files /dev/null and b/spzx-model/target/classes/com/atguigu/spzx/model/vo/product/CategoryExcelVo.class differ diff --git a/spzx-model/target/classes/com/atguigu/spzx/model/vo/result/Result.class b/spzx-model/target/classes/com/atguigu/spzx/model/vo/result/Result.class new file mode 100644 index 0000000..aee8803 Binary files /dev/null and b/spzx-model/target/classes/com/atguigu/spzx/model/vo/result/Result.class differ diff --git a/spzx-model/target/classes/com/atguigu/spzx/model/vo/result/ResultCodeEnum.class b/spzx-model/target/classes/com/atguigu/spzx/model/vo/result/ResultCodeEnum.class new file mode 100644 index 0000000..33fbe53 Binary files /dev/null and b/spzx-model/target/classes/com/atguigu/spzx/model/vo/result/ResultCodeEnum.class differ diff --git a/spzx-model/target/classes/com/atguigu/spzx/model/vo/system/LoginVo.class b/spzx-model/target/classes/com/atguigu/spzx/model/vo/system/LoginVo.class new file mode 100644 index 0000000..426926e Binary files /dev/null and b/spzx-model/target/classes/com/atguigu/spzx/model/vo/system/LoginVo.class differ diff --git a/spzx-model/target/classes/com/atguigu/spzx/model/vo/system/SysMenuVo.class b/spzx-model/target/classes/com/atguigu/spzx/model/vo/system/SysMenuVo.class new file mode 100644 index 0000000..54d1f44 Binary files /dev/null and b/spzx-model/target/classes/com/atguigu/spzx/model/vo/system/SysMenuVo.class differ diff --git a/spzx-model/target/classes/com/atguigu/spzx/model/vo/system/ValidateCodeVo.class b/spzx-model/target/classes/com/atguigu/spzx/model/vo/system/ValidateCodeVo.class new file mode 100644 index 0000000..8092131 Binary files /dev/null and b/spzx-model/target/classes/com/atguigu/spzx/model/vo/system/ValidateCodeVo.class differ