From 3dfe0ea65023fdda47e5c3c22aa382ce976a7352 Mon Sep 17 00:00:00 2001 From: Sheyu-yao Date: Tue, 16 Jan 2024 17:14:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=BB=93=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 3 +- .idea/encodings.xml | 14 - .idea/misc.xml | 14 - .idea/uiDesigner.xml | 124 --------- .idea/vcs.xml | 6 - .idea/workspace.xml | 253 ------------------ .../com/ysy/auth/AuthServiceApplication.java | 3 + .../ysy/auth/controller/AuthController.java | 3 +- .../com/ysy/auth/service/AuthService.java | 4 +- .../auth/service/impl/AuthServiceImpl.java | 21 +- .../ysy/common/contant/ResultConstants.java | 10 + .../com/ysy/common/domain/dto/RiderDTO.java | 21 ++ .../com/ysy/common/domain/page/PageInfo.java | 15 ++ .../java/com/ysy/common/domain/po/Rider.java | 3 + .../ysy/common/domain/result/PageResult.java | 30 +++ .../java/com/ysy/common/domain/result/R.java | 27 +- .../com/ysy/common/domain/result/Result.java | 84 ++++++ .../com/ysy/common/domain/vo/ApplyVO.java | 16 ++ .../com/ysy/common/domain/vo/RiderVO.java | 3 + .../com/ysy/common/utils/jwt/JwtUtil.java | 12 +- .../ysy/common/utils/jwt/SecurityUtils.java | 55 ++++ ysy-gateway/src/main/resources/bootstrap.yml | 28 -- .../ysy/apply/ApplyServiceApplication.java | 2 +- .../ysy/apply/controller/ApplyController.java | 15 +- .../com/ysy/apply/service/ApplyService.java | 4 +- .../apply/service/impl/ApplyServiceImpl.java | 38 +-- .../system/service/impl/RiderServiceImpl.java | 11 +- 27 files changed, 327 insertions(+), 492 deletions(-) delete mode 100644 .idea/encodings.xml delete mode 100644 .idea/misc.xml delete mode 100644 .idea/uiDesigner.xml delete mode 100644 .idea/vcs.xml delete mode 100644 .idea/workspace.xml create mode 100644 ysy-common/src/main/java/com/ysy/common/contant/ResultConstants.java create mode 100644 ysy-common/src/main/java/com/ysy/common/domain/dto/RiderDTO.java create mode 100644 ysy-common/src/main/java/com/ysy/common/domain/page/PageInfo.java create mode 100644 ysy-common/src/main/java/com/ysy/common/domain/result/PageResult.java create mode 100644 ysy-common/src/main/java/com/ysy/common/domain/result/Result.java create mode 100644 ysy-common/src/main/java/com/ysy/common/domain/vo/ApplyVO.java create mode 100644 ysy-common/src/main/java/com/ysy/common/utils/jwt/SecurityUtils.java diff --git a/.gitignore b/.gitignore index dc2ee1b..3310649 100644 --- a/.gitignore +++ b/.gitignore @@ -4,7 +4,8 @@ target/ !**/src/test/**/target/ ### IntelliJ IDEA ### -/.idea/ +.idea +.idea/*.xml .idea/modules.xml .idea/jarRepositories.xml .idea/compiler.xml diff --git a/.idea/encodings.xml b/.idea/encodings.xml deleted file mode 100644 index 75f1872..0000000 --- a/.idea/encodings.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml deleted file mode 100644 index 82dbec8..0000000 --- a/.idea/misc.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/.idea/uiDesigner.xml b/.idea/uiDesigner.xml deleted file mode 100644 index 2b63946..0000000 --- a/.idea/uiDesigner.xml +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml deleted file mode 100644 index 94a25f7..0000000 --- a/.idea/vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml deleted file mode 100644 index f77da27..0000000 --- a/.idea/workspace.xml +++ /dev/null @@ -1,253 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - { - "associatedIndex": 6 -} - - - - - - - { - "keyToString": { - "RequestMappingsPanelOrder0": "0", - "RequestMappingsPanelOrder1": "1", - "RequestMappingsPanelWidth0": "75", - "RequestMappingsPanelWidth1": "75", - "RunOnceActivity.OpenProjectViewOnStart": "true", - "RunOnceActivity.ShowReadmeOnStart": "true", - "SHARE_PROJECT_CONFIGURATION_FILES": "true", - "WebServerToolWindowFactoryState": "false", - "git-widget-placeholder": "master", - "jdk.selected.JAVA_MODULE": "17", - "last_opened_file_path": "C:/Users/Hasee/Desktop/senior_grade5_week01/ysy-modules/ysy-apply/src/main/resources", - "node.js.detected.package.eslint": "true", - "node.js.detected.package.tslint": "true", - "node.js.selected.package.eslint": "(autodetect)", - "node.js.selected.package.tslint": "(autodetect)", - "nodejs_package_manager_path": "npm", - "project.structure.last.edited": "Project", - "project.structure.proportion": "0.15", - "project.structure.side.proportion": "0.2", - "settings.editor.selected.configurable": "reference.settings.project.maven.runner", - "spring.configuration.checksum": "60d9e760ae25323a26478f12f86db80c", - "vue.rearranger.settings.migration": "true" - } -} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1705022459502 - - - - - - - - - - - - - - - - - - - - - - -