diff --git a/.idea/workspace.xml b/.idea/workspace.xml new file mode 100644 index 0000000..4247a65 --- /dev/null +++ b/.idea/workspace.xml @@ -0,0 +1,63 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1731647002005 + + + + + + \ No newline at end of file diff --git a/trading_platform/.idea/.gitignore b/trading_platform/.idea/.gitignore new file mode 100644 index 0000000..13566b8 --- /dev/null +++ b/trading_platform/.idea/.gitignore @@ -0,0 +1,8 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/trading_platform/.idea/compiler.xml b/trading_platform/.idea/compiler.xml new file mode 100644 index 0000000..6711f49 --- /dev/null +++ b/trading_platform/.idea/compiler.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/trading_platform/.idea/dataSources.xml b/trading_platform/.idea/dataSources.xml new file mode 100644 index 0000000..9d7e743 --- /dev/null +++ b/trading_platform/.idea/dataSources.xml @@ -0,0 +1,20 @@ + + + + + mysql.8 + true + true + $PROJECT_DIR$/src/main/resources/application.yml + com.mysql.cj.jdbc.Driver + jdbc:mysql://localhost:3306/secondhandtransactions?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai + + + + + + + $ProjectFileDir$ + + + \ No newline at end of file diff --git a/trading_platform/.idea/encodings.xml b/trading_platform/.idea/encodings.xml new file mode 100644 index 0000000..63e9001 --- /dev/null +++ b/trading_platform/.idea/encodings.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/trading_platform/.idea/jarRepositories.xml b/trading_platform/.idea/jarRepositories.xml new file mode 100644 index 0000000..712ab9d --- /dev/null +++ b/trading_platform/.idea/jarRepositories.xml @@ -0,0 +1,20 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/trading_platform/.idea/misc.xml b/trading_platform/.idea/misc.xml new file mode 100644 index 0000000..67e1e61 --- /dev/null +++ b/trading_platform/.idea/misc.xml @@ -0,0 +1,12 @@ + + + + + + + + \ No newline at end of file diff --git a/trading_platform/.idea/vcs.xml b/trading_platform/.idea/vcs.xml new file mode 100644 index 0000000..6c0b863 --- /dev/null +++ b/trading_platform/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/trading_platform/src/main/java/com/trading_platform/controller/ExampleController.java b/trading_platform/src/main/java/com/trading_platform/controller/ExampleController.java new file mode 100644 index 0000000..02beae2 --- /dev/null +++ b/trading_platform/src/main/java/com/trading_platform/controller/ExampleController.java @@ -0,0 +1,14 @@ +package com.trading_platform.controller; + +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.RestController; + + +@RestController +public class ExampleController { + + @GetMapping("/example") + public String example() { + return "Hello, World!"; + } +} diff --git a/trading_platform/target/classes/com/trading_platform/config/OpenApiConfig.class b/trading_platform/target/classes/com/trading_platform/config/OpenApiConfig.class new file mode 100644 index 0000000..3294d27 Binary files /dev/null and b/trading_platform/target/classes/com/trading_platform/config/OpenApiConfig.class differ diff --git a/trading_platform/target/classes/com/trading_platform/controller/ExampleController.class b/trading_platform/target/classes/com/trading_platform/controller/ExampleController.class new file mode 100644 index 0000000..01b4c1d Binary files /dev/null and b/trading_platform/target/classes/com/trading_platform/controller/ExampleController.class differ diff --git a/trading_platform/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst b/trading_platform/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst new file mode 100644 index 0000000..c115462 --- /dev/null +++ b/trading_platform/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst @@ -0,0 +1,4 @@ +com\trading_platform\config\OpenApiConfig.class +com\trading_platform\TradingPlatformApplication.class +com\trading_platform\interceptors\LoginInterceptor.class +com\trading_platform\config\WebConfig.class diff --git a/trading_platform/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst b/trading_platform/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst new file mode 100644 index 0000000..30b0b6b --- /dev/null +++ b/trading_platform/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst @@ -0,0 +1,13 @@ +C:\Users\Admin\Desktop\Campus_second-hand_trading_platform\trading_platform\src\main\java\com\trading_platform\config\OpenApiConfig.java +C:\Users\Admin\Desktop\Campus_second-hand_trading_platform\trading_platform\src\main\java\com\trading_platform\config\WebConfig.java +C:\Users\Admin\Desktop\Campus_second-hand_trading_platform\trading_platform\src\main\java\com\trading_platform\controller\UsersController.java +C:\Users\Admin\Desktop\Campus_second-hand_trading_platform\trading_platform\src\main\java\com\trading_platform\entity\Result.java +C:\Users\Admin\Desktop\Campus_second-hand_trading_platform\trading_platform\src\main\java\com\trading_platform\entity\Users.java +C:\Users\Admin\Desktop\Campus_second-hand_trading_platform\trading_platform\src\main\java\com\trading_platform\exception\GlobalExceptionHandler.java +C:\Users\Admin\Desktop\Campus_second-hand_trading_platform\trading_platform\src\main\java\com\trading_platform\interceptors\LoginInterceptor.java +C:\Users\Admin\Desktop\Campus_second-hand_trading_platform\trading_platform\src\main\java\com\trading_platform\mapper\UsersMapper.java +C:\Users\Admin\Desktop\Campus_second-hand_trading_platform\trading_platform\src\main\java\com\trading_platform\service\impl\UsersServiceImpl.java +C:\Users\Admin\Desktop\Campus_second-hand_trading_platform\trading_platform\src\main\java\com\trading_platform\service\UsersService.java +C:\Users\Admin\Desktop\Campus_second-hand_trading_platform\trading_platform\src\main\java\com\trading_platform\TradingPlatformApplication.java +C:\Users\Admin\Desktop\Campus_second-hand_trading_platform\trading_platform\src\main\java\com\trading_platform\utils\JwtUtil.java +C:\Users\Admin\Desktop\Campus_second-hand_trading_platform\trading_platform\src\main\java\com\trading_platform\utils\Sha256Util.java diff --git a/trading_platform/target/test-classes/com/trading_platform/TradingPlatformApplicationTests.class b/trading_platform/target/test-classes/com/trading_platform/TradingPlatformApplicationTests.class new file mode 100644 index 0000000..82035e3 Binary files /dev/null and b/trading_platform/target/test-classes/com/trading_platform/TradingPlatformApplicationTests.class differ