From f06cd305f4c1a59b0234ae5f2cdc844880260fc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BF=9E=E5=AE=9D=E5=B1=B1?= <1253070437@qq.com> Date: Tue, 7 May 2024 04:29:18 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=8D=87=E7=BA=A7=E3=80=91=E5=85=A8?= =?UTF-8?q?=E6=96=B0V3.0=E5=8F=91=E5=B8=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 36 +- pom.xml | 421 +--- snowy-admin-web/index.html | 2 +- snowy-admin-web/package.json | 20 +- snowy-admin-web/src/App.vue | 32 +- snowy-admin-web/src/api/dev/smsApi.js | 4 + snowy-admin-web/src/api/sys/userCenterApi.js | 4 + .../Chart/g2BingZhuangTu/BingZhuangTu01.vue | 4 +- .../Chart/g2MianJiTu/MianJiTu02.vue | 2 +- .../src/components/ColorPicker/index.vue | 10 +- snowy-admin-web/src/components/Cron/data.js | 14 +- snowy-admin-web/src/components/Cron/index.vue | 67 +- .../src/components/CropUpload/index.vue | 47 +- .../src/components/DragModal/index.vue | 2 +- .../src/components/Map/baiduMap/index.vue | 6 +- .../src/components/Map/gaodeMap/index.vue | 6 +- .../src/components/NumberInfo/NumberInfo.vue | 40 +- .../Selector/iconMobileSelector.vue | 2 +- .../src/components/Selector/iconSelector.vue | 2 +- .../components/Selector/orgSelectorPlus.vue | 29 +- .../components/Selector/posSelectorPlus.vue | 23 +- .../components/Selector/roleSelectorPlus.vue | 23 +- .../components/Selector/userSelectorPlus.vue | 31 +- .../src/components/ShortcutCard/index.vue | 2 +- .../src/components/Table/README.md | 42 +- .../src/components/Table/columnSetting.vue | 33 + .../src/components/Table/index.less | 57 - .../src/components/Table/index.vue | 140 +- .../components/TreeSelect/menuTreeSelect.vue | 2 +- .../src/components/Trend/Trend.vue | 30 +- .../src/components/XnBatchButton/index.vue | 13 +- .../src/components/XnBatchDelete/index.vue | 4 +- .../src/components/XnFilePreview/index.vue | 104 +- .../src/components/XnFormContainer/index.vue | 12 +- .../src/components/XnHighlightjs/index.vue | 63 +- .../src/components/XnPageSelect/index.vue | 2 +- .../src/components/XnSignName/index.vue | 53 +- .../src/components/XnSignName/vueEsign.vue | 4 +- .../src/components/XnUserSelector/README.md | 36 + .../src/components/XnUserSelector/index.vue | 622 ++++++ .../XnUserSelector/userSelectorTest.vue | 62 + snowy-admin-web/src/config/index.js | 22 +- snowy-admin-web/src/config/settingConfig.js | 2 +- .../src/layout/components/NavMenu.vue | 21 +- .../src/layout/components/breadcrumb.vue | 53 + .../src/layout/components/message.vue | 10 +- .../src/layout/components/moduleMenu.vue | 91 +- .../layout/components/panel-search/index.vue | 20 +- .../src/layout/components/setting.vue | 192 +- .../src/layout/components/sideM.vue | 14 +- .../src/layout/components/tags.vue | 121 +- .../src/layout/components/userbar.vue | 14 +- snowy-admin-web/src/layout/enum/layoutEnum.js | 15 + snowy-admin-web/src/layout/enum/themeEnum.js | 15 + snowy-admin-web/src/layout/index.vue | 523 +++-- .../src/layout/menu/classicalMenu.vue | 154 ++ .../src/layout/menu/doubleRowMenu.vue | 185 ++ snowy-admin-web/src/layout/menu/topMenu.vue | 138 ++ snowy-admin-web/src/store/global.js | 35 +- snowy-admin-web/src/style/default.less | 793 +++---- snowy-admin-web/src/style/index.less | 261 +-- snowy-admin-web/src/style/media.less | 126 -- snowy-admin-web/src/style/pages.less | 92 - snowy-admin-web/src/style/readme.md | 2 +- snowy-admin-web/src/style/realdark.less | 792 ++++--- snowy-admin-web/src/utils/themeUtil.js | 4 +- snowy-admin-web/src/utils/tool.js | 14 +- .../src/views/auth/findPwd/emailFindForm.vue | 57 +- .../src/views/auth/findPwd/phoneFindForm.vue | 57 +- .../src/views/auth/login/login.vue | 53 +- .../src/views/auth/login/phoneLoginForm.vue | 17 +- .../src/views/auth/monitor/analyse.vue | 17 +- .../src/views/auth/monitor/bTab.vue | 2 +- .../src/views/auth/monitor/cTab.vue | 2 +- .../src/views/auth/monitor/tokenInfoList.vue | 3 +- .../src/views/auth/third/index.vue | 4 +- snowy-admin-web/src/views/biz/dict/form.vue | 19 +- snowy-admin-web/src/views/biz/dict/index.vue | 4 +- snowy-admin-web/src/views/biz/org/form.vue | 52 +- snowy-admin-web/src/views/biz/org/index.vue | 9 +- .../src/views/biz/position/form.vue | 8 +- .../src/views/biz/position/index.vue | 9 +- snowy-admin-web/src/views/biz/user/form.vue | 55 +- snowy-admin-web/src/views/biz/user/index.vue | 9 +- .../config/emailConfig/aliyunEmailForm.vue | 35 +- .../dev/config/emailConfig/localEmailForm.vue | 35 +- .../config/emailConfig/tencentEmailForm.vue | 2 +- .../dev/config/fileConfig/aliyunFileForm.vue | 35 +- .../dev/config/fileConfig/localFileForm.vue | 35 +- .../dev/config/fileConfig/minioFileForm.vue | 35 +- .../dev/config/fileConfig/tencentFileForm.vue | 35 +- .../src/views/dev/config/index.vue | 2 +- .../src/views/dev/config/otherConfig/form.vue | 31 +- .../views/dev/config/otherConfig/index.vue | 2 +- .../dev/config/smsConfig/aliyunSmsForm.vue | 35 +- .../src/views/dev/config/smsConfig/index.vue | 10 +- .../dev/config/smsConfig/tencentSmsForm.vue | 35 +- .../dev/config/smsConfig/xiaonuoSmsForm.vue | 108 + .../src/views/dev/config/sysConfig.vue | 23 +- .../dev/config/thirdConfig/giteeThirdForm.vue | 35 +- .../config/thirdConfig/wechatThirdForm.vue | 35 +- .../src/views/dev/dict/category/bizIndex.vue | 4 +- .../src/views/dev/dict/category/form.vue | 19 +- .../src/views/dev/dict/category/frmIndex.vue | 4 +- snowy-admin-web/src/views/dev/email/form.vue | 2 +- snowy-admin-web/src/views/dev/email/index.vue | 6 +- .../views/dev/email/send/aliyunEmailSend.vue | 69 +- .../views/dev/email/send/localEmailSend.vue | 49 +- .../views/dev/email/send/tencentEmailSend.vue | 69 +- snowy-admin-web/src/views/dev/file/index.vue | 6 +- snowy-admin-web/src/views/dev/job/form.vue | 44 +- snowy-admin-web/src/views/dev/job/index.vue | 6 +- .../src/views/dev/log/oplog/columnChart.vue | 9 +- .../src/views/dev/log/oplog/detail.vue | 4 +- .../src/views/dev/log/oplog/index.vue | 2 +- .../src/views/dev/log/oplog/pieChart.vue | 9 +- .../src/views/dev/log/vislog/index.vue | 6 +- .../src/views/dev/log/vislog/lineChart.vue | 9 +- .../src/views/dev/log/vislog/pieChart.vue | 9 +- .../src/views/dev/message/detail.vue | 12 +- .../src/views/dev/message/form.vue | 92 +- .../src/views/dev/message/index.vue | 6 +- snowy-admin-web/src/views/dev/sms/detail.vue | 10 +- snowy-admin-web/src/views/dev/sms/form.vue | 19 +- snowy-admin-web/src/views/dev/sms/index.vue | 9 +- .../src/views/dev/sms/send/AliyunSmsSend.vue | 27 +- .../src/views/dev/sms/send/TencentSmsSend.vue | 27 +- .../src/views/dev/sms/send/xiaonuoSmsSend.vue | 59 + .../src/views/exm/chart/eCBingZhuangTu.vue | 8 +- .../src/views/exm/chart/eCKXianTu.vue | 4 +- .../src/views/exm/chart/eCLouDouTu.vue | 8 +- .../src/views/exm/chart/eCSanDianTu.vue | 8 +- .../src/views/exm/chart/eCXianXingTu.vue | 8 +- .../src/views/exm/chart/eCYiBiaoTu.vue | 8 +- .../src/views/exm/chart/eCZhuZhuangTu.vue | 8 +- snowy-admin-web/src/views/gen/basic.vue | 12 +- snowy-admin-web/src/views/gen/config.vue | 8 +- snowy-admin-web/src/views/gen/index.vue | 4 +- snowy-admin-web/src/views/gen/preview.vue | 4 +- snowy-admin-web/src/views/gen/steps.vue | 30 +- .../views/index/components/miniMessage.vue | 4 +- .../src/views/index/components/schedule.vue | 4 +- .../src/views/index/components/userInfo.vue | 30 +- .../src/views/mobile/resource/button/form.vue | 27 +- .../mobile/resource/menu/changeModuleForm.vue | 2 +- .../src/views/mobile/resource/menu/form.vue | 51 +- .../src/views/mobile/resource/menu/index.vue | 5 +- .../src/views/mobile/resource/module/form.vue | 26 +- .../views/mobile/resource/module/index.vue | 14 +- snowy-admin-web/src/views/sys/org/form.vue | 79 +- snowy-admin-web/src/views/sys/org/index.vue | 9 +- .../src/views/sys/position/form.vue | 25 +- .../src/views/sys/position/index.vue | 9 +- .../src/views/sys/resource/button/form.vue | 31 +- .../src/views/sys/resource/button/index.vue | 2 +- .../src/views/sys/resource/field/form.vue | 29 +- .../src/views/sys/resource/field/index.vue | 4 +- .../sys/resource/menu/changeModuleForm.vue | 41 +- .../src/views/sys/resource/menu/form.vue | 35 +- .../src/views/sys/resource/menu/index.vue | 5 +- .../src/views/sys/resource/module/form.vue | 27 +- .../src/views/sys/resource/module/index.vue | 2 +- snowy-admin-web/src/views/sys/role/form.vue | 35 +- .../sys/role/grantMobileResourceForm.vue | 4 +- .../views/sys/role/grantPermissionForm.vue | 12 +- .../src/views/sys/role/grantResourceForm.vue | 4 +- snowy-admin-web/src/views/sys/role/index.vue | 26 +- .../src/views/sys/role/scopeDefineOrg.vue | 2 +- snowy-admin-web/src/views/sys/user/form.vue | 55 +- .../views/sys/user/grantPermissionForm.vue | 12 +- .../src/views/sys/user/grantResourceForm.vue | 4 +- snowy-admin-web/src/views/sys/user/impExp.vue | 7 +- snowy-admin-web/src/views/sys/user/index.vue | 6 +- .../src/views/sys/user/scopeDefineOrg.vue | 2 +- .../src/views/sys/user/userCenter.vue | 43 +- .../views/sys/user/userTab/accountBasic.vue | 24 +- .../views/sys/user/userTab/accountBind.vue | 7 +- .../user/userTab/bindForm/updatePassword.vue | 28 +- .../sys/user/userTab/organizationChart.vue | 10 +- .../views/sys/user/userTab/userMessage.vue | 12 +- .../sys/user/userTab/userMessage/detail.vue | 4 +- snowy-admin-web/vite.config.mjs | 37 +- snowy-common/pom.xml | 63 +- .../common/cache/CommonCacheOperator.java | 2 +- .../vip/xiaonuo/common/pojo/CommonEntity.java | 16 +- .../vip/xiaonuo/common/pojo/CommonResult.java | 26 +- .../xiaonuo/common/pojo/CommonValidList.java | 146 -- .../common/util/CommonDownloadUtil.java | 2 +- .../util/CommonFilterExceptionUtil.java | 4 +- .../common/util/CommonIpAddressUtil.java | 8 +- .../common/util/CommonJoinPointUtil.java | 4 +- .../common/util/CommonResponseUtil.java | 2 +- .../common/util/CommonServletUtil.java | 7 +- .../vip/xiaonuo/common/util/CommonUaUtil.java | 7 +- snowy-plugin-api/pom.xml | 2 +- .../snowy-plugin-auth-api/pom.xml | 2 +- .../auth/core/pojo/SaBaseClientLoginUser.java | 96 +- .../auth/core/pojo/SaBaseLoginUser.java | 114 +- .../xiaonuo/auth/core/util/StpClientUtil.java | 14 +- snowy-plugin-api/snowy-plugin-biz-api/pom.xml | 2 +- .../snowy-plugin-client-api/pom.xml | 2 +- snowy-plugin-api/snowy-plugin-dev-api/pom.xml | 64 +- .../java/vip/xiaonuo/dev/api/DevSmsApi.java | 21 +- .../java/vip/xiaonuo/dev/api/DevSseApi.java | 1 + snowy-plugin-api/snowy-plugin-gen-api/pom.xml | 2 +- .../snowy-plugin-mobile-api/pom.xml | 2 +- .../xiaonuo/mobile/api/MobileModuleApi.java | 1 + snowy-plugin-api/snowy-plugin-sys-api/pom.xml | 2 +- .../vip/xiaonuo/sys/api/SysPositionApi.java | 2 - snowy-plugin/pom.xml | 2 +- snowy-plugin/snowy-plugin-auth/pom.xml | 6 +- .../auth/core/config/AuthConfigure.java | 54 +- .../auth/core/util/AuthExceptionUtil.java | 1 - .../controller/AuthClientController.java | 32 +- .../login/controller/AuthController.java | 32 +- .../modular/login/listener/AuthListener.java | 15 +- .../param/AuthAccountPasswordLoginParam.java | 15 +- .../param/AuthGetPhoneValidCodeParam.java | 11 +- .../param/AuthPhoneValidCodeLoginParam.java | 13 +- .../login/result/AuthPicValidCodeResult.java | 6 +- .../login/service/impl/AuthServiceImpl.java | 2 +- .../controller/AuthSessionController.java | 46 +- .../monitor/param/AuthExitSessionParam.java | 7 +- .../monitor/param/AuthExitTokenParam.java | 7 +- .../monitor/param/AuthSessionPageParam.java | 4 +- .../result/AuthSessionAnalysisResult.java | 10 +- .../monitor/result/AuthSessionPageResult.java | 44 +- .../service/impl/AuthSessionServiceImpl.java | 6 +- .../third/controller/AuthThirdController.java | 23 +- .../modular/third/entity/AuthThirdUser.java | 20 +- .../third/param/AuthThirdCallbackParam.java | 11 +- .../third/param/AuthThirdRenderParam.java | 7 +- .../third/param/AuthThirdUserPageParam.java | 14 +- .../third/result/AuthThirdRenderResult.java | 6 +- .../service/impl/AuthThirdServiceImpl.java | 3 +- snowy-plugin/snowy-plugin-biz/pom.xml | 2 +- .../xiaonuo/biz/core/config/BizConfigure.java | 42 - .../dict/controller/BizDictController.java | 25 +- .../biz/modular/dict/entity/BizDict.java | 16 +- .../modular/dict/param/BizDictEditParam.java | 15 +- .../modular/dict/param/BizDictPageParam.java | 14 +- .../dict/service/impl/BizDictServiceImpl.java | 2 +- .../org/controller/BizOrgController.java | 42 +- .../biz/modular/org/entity/BizOrg.java | 18 +- .../biz/modular/org/param/BizOrgAddParam.java | 19 +- .../modular/org/param/BizOrgEditParam.java | 21 +- .../biz/modular/org/param/BizOrgIdParam.java | 7 +- .../modular/org/param/BizOrgPageParam.java | 14 +- .../org/param/BizOrgSelectorOrgListParam.java | 10 +- .../org/param/BizOrgSelectorUserParam.java | 10 +- .../org/service/impl/BizOrgServiceImpl.java | 2 +- .../controller/BizPositionController.java | 39 +- .../modular/position/entity/BizPosition.java | 17 +- .../position/param/BizPositionAddParam.java | 17 +- .../position/param/BizPositionEditParam.java | 19 +- .../position/param/BizPositionIdParam.java | 7 +- .../position/param/BizPositionPageParam.java | 16 +- .../BizPositionSelectorPositionParam.java | 10 +- .../service/impl/BizPositionServiceImpl.java | 2 +- .../user/controller/BizUserController.java | 71 +- .../biz/modular/user/entity/BizUser.java | 102 +- .../modular/user/param/BizUserAddParam.java | 77 +- .../modular/user/param/BizUserEditParam.java | 79 +- .../user/param/BizUserExportParam.java | 8 +- .../user/param/BizUserGrantRoleParam.java | 10 +- .../modular/user/param/BizUserIdParam.java | 7 +- .../modular/user/param/BizUserPageParam.java | 16 +- .../param/BizUserSelectorOrgListParam.java | 10 +- .../param/BizUserSelectorPositionParam.java | 10 +- .../user/param/BizUserSelectorRoleParam.java | 12 +- .../user/param/BizUserSelectorUserParam.java | 10 +- .../user/result/BizUserRoleResult.java | 12 +- .../modular/user/service/BizUserService.java | 2 +- .../user/service/impl/BizUserServiceImpl.java | 6 +- snowy-plugin/snowy-plugin-client/pom.xml | 2 +- .../client/core/config/ClientConfigure.java | 43 - .../user/controller/ClientUserController.java | 34 +- .../modular/user/entity/ClientUser.java | 82 +- .../user/param/ClientUserAddParam.java | 63 +- .../user/param/ClientUserEditParam.java | 65 +- .../modular/user/param/ClientUserIdParam.java | 7 +- .../user/param/ClientUserPageParam.java | 12 +- .../provider/ClientLoginUserApiProvider.java | 2 +- .../service/impl/ClientUserServiceImpl.java | 2 +- snowy-plugin/snowy-plugin-dev/pom.xml | 2 +- .../xiaonuo/dev/core/config/DevConfigure.java | 42 - .../controller/DevConfigController.java | 44 +- .../dev/modular/config/entity/DevConfig.java | 16 +- .../config/enums/DevConfigCategoryEnum.java | 10 +- .../config/param/DevConfigAddParam.java | 17 +- .../config/param/DevConfigBatchParam.java | 9 +- .../config/param/DevConfigEditParam.java | 19 +- .../config/param/DevConfigIdParam.java | 7 +- .../config/param/DevConfigListParam.java | 4 +- .../config/param/DevConfigPageParam.java | 12 +- .../config/provider/DevConfigApiProvider.java | 3 +- .../service/impl/DevConfigServiceImpl.java | 2 +- .../dict/controller/DevDictController.java | 39 +- .../dev/modular/dict/entity/DevDict.java | 16 +- .../modular/dict/param/DevDictAddParam.java | 19 +- .../modular/dict/param/DevDictEditParam.java | 21 +- .../modular/dict/param/DevDictIdParam.java | 7 +- .../modular/dict/param/DevDictListParam.java | 6 +- .../modular/dict/param/DevDictPageParam.java | 16 +- .../modular/dict/param/DevDictTreeParam.java | 4 +- .../dict/service/impl/DevDictServiceImpl.java | 2 +- .../email/controller/DevEmailController.java | 52 +- .../dev/modular/email/entity/DevEmail.java | 26 +- .../modular/email/param/DevEmailIdParam.java | 7 +- .../email/param/DevEmailPageParam.java | 14 +- .../param/DevEmailSendAliyunHtmlParam.java | 15 +- .../param/DevEmailSendAliyunTmpParam.java | 13 +- .../param/DevEmailSendAliyunTxtParam.java | 15 +- .../param/DevEmailSendLocalHtmlParam.java | 14 +- .../param/DevEmailSendLocalTxtParam.java | 12 +- .../param/DevEmailSendTencentHtmlParam.java | 16 +- .../param/DevEmailSendTencentTmpParam.java | 18 +- .../param/DevEmailSendTencentTxtParam.java | 16 +- .../email/provider/DevEmailApiProvider.java | 2 +- .../email/util/DevEmailAliyunUtil.java | 39 +- .../file/controller/DevFileController.java | 65 +- .../dev/modular/file/entity/DevFile.java | 26 +- .../modular/file/param/DevFileIdParam.java | 7 +- .../modular/file/param/DevFileListParam.java | 6 +- .../modular/file/param/DevFilePageParam.java | 6 +- .../file/provider/DevFileApiProvider.java | 3 +- .../modular/file/service/DevFileService.java | 2 +- .../file/service/impl/DevFileServiceImpl.java | 7 +- .../modular/file/util/DevFileAliyunUtil.java | 2 +- .../modular/file/util/DevFileMinIoUtil.java | 2 +- .../modular/file/util/DevFileTencentUtil.java | 2 +- .../job/controller/DevJobController.java | 48 +- .../dev/modular/job/entity/DevJob.java | 20 +- .../dev/modular/job/param/DevJobAddParam.java | 19 +- .../modular/job/param/DevJobEditParam.java | 21 +- .../dev/modular/job/param/DevJobIdParam.java | 7 +- .../modular/job/param/DevJobListParam.java | 8 +- .../modular/job/param/DevJobPageParam.java | 16 +- .../log/controller/DevLogController.java | 34 +- .../dev/modular/log/entity/DevLog.java | 46 +- .../modular/log/param/DevLogDeleteParam.java | 7 +- .../dev/modular/log/param/DevLogIdParam.java | 7 +- .../modular/log/param/DevLogPageParam.java | 14 +- .../log/provider/DevLogApiProvider.java | 2 +- .../result/DevLogOpBarChartDataResult.java | 8 +- .../result/DevLogOpPieChartDataResult.java | 6 +- .../result/DevLogVisLineChartDataResult.java | 8 +- .../result/DevLogVisPieChartDataResult.java | 6 +- .../dev/modular/log/util/DevLogUtil.java | 3 +- .../controller/DevMessageController.java | 31 +- .../modular/message/entity/DevMessage.java | 12 +- .../message/param/DevMessageIdParam.java | 7 +- .../message/param/DevMessageListParam.java | 6 +- .../message/param/DevMessagePageParam.java | 16 +- .../message/param/DevMessageSendParam.java | 14 +- .../message/provider/DevMessageProvider.java | 2 +- .../message/result/DevMessageResult.java | 20 +- .../service/impl/DevMessageServiceImpl.java | 3 +- .../controller/DevMonitorController.java | 18 +- .../result/DevMonitorServerResult.java | 80 +- .../sms/controller/DevSmsController.java | 53 +- .../dev/modular/sms/entity/DevSms.java | 18 +- .../sms/enums/DevSmsEngineTypeEnum.java | 5 +- .../dev/modular/sms/param/DevSmsIdParam.java | 7 +- .../modular/sms/param/DevSmsPageParam.java | 14 +- .../sms/param/DevSmsSendAliyunParam.java | 13 +- .../sms/param/DevSmsSendTencentParam.java | 15 +- .../sms/param/DevSmsSendXiaonuoParam.java | 42 + .../sms/provider/DevSmsApiProvider.java | 13 +- .../modular/sms/service/DevSmsService.java | 13 +- .../sms/service/impl/DevSmsServiceImpl.java | 23 +- .../modular/sms/util/DevSmsAliyunUtil.java | 25 +- .../modular/sms/util/DevSmsTencentUtil.java | 48 +- .../modular/sms/util/DevSmsXiaonuoUtil.java | 131 ++ .../controller/DevSseEmitterController.java | 24 +- .../modular/sse/provider/DevSseProvider.java | 3 +- .../sse/service/DevSseEmitterService.java | 1 + .../impl/DevSseEmitterServiceImpl.java | 6 +- snowy-plugin/snowy-plugin-gen/pom.xml | 2 +- .../xiaonuo/gen/core/config/GenConfigure.java | 42 - .../basic/controller/GenBasicController.java | 53 +- .../gen/modular/basic/entity/GenBasic.java | 38 +- .../modular/basic/param/GenBasicAddParam.java | 39 +- .../basic/param/GenBasicEditParam.java | 41 +- .../modular/basic/param/GenBasicIdParam.java | 7 +- .../basic/param/GenBasicPageParam.java | 10 +- .../basic/param/GenBasicTableColumnParam.java | 7 +- .../GenBasicMobileModuleSelectorResult.java | 6 +- .../basic/result/GenBasicPreviewResult.java | 16 +- .../result/GenBasicTableColumnResult.java | 8 +- .../basic/result/GenBasicTableResult.java | 6 +- .../basic/service/GenBasicService.java | 2 +- .../service/impl/GenBasicServiceImpl.java | 7 +- .../controller/GenConfigController.java | 35 +- .../gen/modular/config/entity/GenConfig.java | 34 +- .../config/param/GenConfigAddParam.java | 35 +- .../config/param/GenConfigEditParam.java | 37 +- .../config/param/GenConfigIdParam.java | 7 +- .../config/param/GenConfigListParam.java | 11 +- .../config/param/GenConfigPageParam.java | 15 +- .../main/resources/backend/AddParam.java.btl | 8 +- .../resources/backend/Controller.java.btl | 34 +- .../main/resources/backend/EditParam.java.btl | 8 +- .../main/resources/backend/Entity.java.btl | 4 +- .../main/resources/backend/IdParam.java.btl | 6 +- .../main/resources/backend/PageParam.java.btl | 18 +- .../src/main/resources/frontend/form.vue.btl | 47 +- snowy-plugin/snowy-plugin-mobile/pom.xml | 2 +- .../mobile/core/config/MobileConfigure.java | 42 - .../controller/MobileButtonController.java | 28 +- .../controller/MobileMenuController.java | 42 +- .../controller/MobileModuleController.java | 34 +- .../modular/resource/entity/MobileButton.java | 16 +- .../modular/resource/entity/MobileMenu.java | 30 +- .../modular/resource/entity/MobileModule.java | 18 +- .../param/button/MobileButtonAddParam.java | 17 +- .../param/button/MobileButtonEditParam.java | 19 +- .../param/button/MobileButtonIdParam.java | 7 +- .../param/button/MobileButtonPageParam.java | 14 +- .../param/menu/MobileMenuAddParam.java | 27 +- .../menu/MobileMenuChangeModuleParam.java | 9 +- .../param/menu/MobileMenuEditParam.java | 29 +- .../param/menu/MobileMenuIdParam.java | 7 +- .../menu/MobileMenuSelectorMenuParam.java | 4 +- .../menu/MobileMenuSelectorModuleParam.java | 4 +- .../param/menu/MobileMenuTreeParam.java | 6 +- .../param/module/MobileModuleAddParam.java | 17 +- .../param/module/MobileModuleEditParam.java | 19 +- .../param/module/MobileModuleIdParam.java | 7 +- .../param/module/MobileModulePageParam.java | 12 +- .../provider/MobileButtonApiProvider.java | 2 +- .../provider/MobileMenuApiProvider.java | 2 +- .../provider/MobileModuleApiProvider.java | 2 +- .../service/impl/MobileButtonServiceImpl.java | 2 +- .../service/impl/MobileMenuServiceImpl.java | 2 +- .../service/impl/MobileModuleServiceImpl.java | 2 +- .../{images => mobile}/fileImg/README.md | 0 .../{images => mobile}/fileImg/docx.png | Bin .../{images => mobile}/fileImg/file.png | Bin .../static/{images => mobile}/fileImg/gif.png | Bin .../{images => mobile}/fileImg/html.png | Bin .../static/{images => mobile}/fileImg/img.png | Bin .../static/{images => mobile}/fileImg/pdf.png | Bin .../static/{images => mobile}/fileImg/png.png | Bin .../static/{images => mobile}/fileImg/ppt.png | Bin .../static/{images => mobile}/fileImg/rar.png | Bin .../static/{images => mobile}/fileImg/txt.png | Bin .../{images => mobile}/fileImg/xlsx.png | Bin .../static/{images => mobile}/fileImg/zip.png | Bin .../{images => mobile}/swiper/swiper1.jpg | Bin .../{images => mobile}/swiper/swiper2.jpg | Bin snowy-plugin/snowy-plugin-sys/pom.xml | 2 +- .../xiaonuo/sys/core/config/SysConfigure.java | 42 - .../core/listener/SysDataChangeListener.java | 2 +- .../index/controller/SysIndexController.java | 43 +- .../index/param/SysIndexMessageIdParam.java | 7 +- .../index/param/SysIndexMessageListParam.java | 4 +- .../index/param/SysIndexScheduleAddParam.java | 15 +- .../index/param/SysIndexScheduleIdParam.java | 7 +- .../param/SysIndexScheduleListParam.java | 7 +- .../result/SysIndexMessageDetailResult.java | 20 +- .../result/SysIndexMessageListResult.java | 20 +- .../index/result/SysIndexOpLogListResult.java | 46 +- .../result/SysIndexScheduleListResult.java | 14 +- .../result/SysIndexVisLogListResult.java | 34 +- .../index/service/SysIndexService.java | 3 +- .../service/impl/SysIndexServiceImpl.java | 6 +- .../org/controller/SysOrgController.java | 42 +- .../sys/modular/org/entity/SysOrg.java | 18 +- .../sys/modular/org/param/SysOrgAddParam.java | 19 +- .../modular/org/param/SysOrgEditParam.java | 21 +- .../sys/modular/org/param/SysOrgIdParam.java | 7 +- .../modular/org/param/SysOrgPageParam.java | 14 +- .../org/param/SysOrgSelectorOrgListParam.java | 10 +- .../org/param/SysOrgSelectorUserParam.java | 10 +- .../org/provider/SysOrgApiProvider.java | 4 +- .../org/service/impl/SysOrgServiceImpl.java | 2 +- .../controller/SysPositionController.java | 39 +- .../modular/position/entity/SysPosition.java | 16 +- .../position/param/SysPositionAddParam.java | 17 +- .../position/param/SysPositionEditParam.java | 19 +- .../position/param/SysPositionIdParam.java | 7 +- .../position/param/SysPositionPageParam.java | 16 +- .../SysPositionSelectorPositionParam.java | 10 +- .../provider/SysPositionApiProvider.java | 6 +- .../service/impl/SysPositionServiceImpl.java | 2 +- .../modular/relation/entity/SysRelation.java | 12 +- .../provider/SysRelationApiProvider.java | 2 +- .../controller/SysButtonController.java | 28 +- .../controller/SysMenuController.java | 45 +- .../controller/SysModuleController.java | 34 +- .../modular/resource/entity/SysButton.java | 16 +- .../sys/modular/resource/entity/SysMenu.java | 32 +- .../modular/resource/entity/SysModule.java | 18 +- .../param/button/SysButtonAddParam.java | 17 +- .../param/button/SysButtonEditParam.java | 19 +- .../param/button/SysButtonIdParam.java | 7 +- .../param/button/SysButtonPageParam.java | 14 +- .../resource/param/menu/SysMenuAddParam.java | 29 +- .../param/menu/SysMenuChangeModuleParam.java | 9 +- .../resource/param/menu/SysMenuEditParam.java | 31 +- .../resource/param/menu/SysMenuIdParam.java | 7 +- .../resource/param/menu/SysMenuPageParam.java | 14 +- .../param/menu/SysMenuSelectorMenuParam.java | 4 +- .../menu/SysMenuSelectorModuleParam.java | 4 +- .../resource/param/menu/SysMenuTreeParam.java | 6 +- .../param/module/SysModuleAddParam.java | 17 +- .../param/module/SysModuleEditParam.java | 19 +- .../param/module/SysModuleIdParam.java | 7 +- .../param/module/SysModulePageParam.java | 12 +- .../provider/SysButtonApiProvider.java | 3 +- .../resource/provider/SysMenuApiProvider.java | 3 +- .../service/impl/SysButtonServiceImpl.java | 2 +- .../service/impl/SysMenuServiceImpl.java | 2 +- .../service/impl/SysModuleServiceImpl.java | 2 +- .../role/controller/SysRoleController.java | 75 +- .../sys/modular/role/entity/SysRole.java | 16 +- .../modular/role/param/SysRoleAddParam.java | 17 +- .../modular/role/param/SysRoleEditParam.java | 19 +- .../param/SysRoleGrantMobileMenuParam.java | 16 +- .../param/SysRoleGrantPermissionParam.java | 18 +- .../role/param/SysRoleGrantResourceParam.java | 16 +- .../role/param/SysRoleGrantUserParam.java | 10 +- .../modular/role/param/SysRoleIdParam.java | 7 +- .../modular/role/param/SysRolePageParam.java | 16 +- .../role/param/SysRoleSelectorRoleParam.java | 17 +- .../role/param/SysRoleSelectorUserParam.java | 10 +- .../role/provider/SysRoleApiProvider.java | 3 +- .../SysRoleGrantMobileMenuTreeResult.java | 26 +- .../SysRoleGrantResourceTreeResult.java | 26 +- .../result/SysRoleOwnMobileMenuResult.java | 10 +- .../result/SysRoleOwnPermissionResult.java | 12 +- .../role/result/SysRoleOwnResourceResult.java | 10 +- .../role/service/impl/SysRoleServiceImpl.java | 16 +- .../controller/SysUserCenterController.java | 80 +- .../user/controller/SysUserController.java | 92 +- .../sys/modular/user/entity/SysUser.java | 102 +- .../modular/user/param/SysUserAddParam.java | 77 +- .../modular/user/param/SysUserEditParam.java | 79 +- .../user/param/SysUserExportParam.java | 8 +- .../param/SysUserFindPwdByEmailParam.java | 13 +- .../param/SysUserFindPwdByPhoneParam.java | 13 +- .../param/SysUserGetEmailValidCodeParam.java | 11 +- .../param/SysUserGetPhoneValidCodeParam.java | 11 +- .../param/SysUserGrantPermissionParam.java | 18 +- .../user/param/SysUserGrantResourceParam.java | 16 +- .../user/param/SysUserGrantRoleParam.java | 10 +- .../user/param/SysUserIdListParam.java | 7 +- .../modular/user/param/SysUserIdParam.java | 7 +- .../user/param/SysUserMessageIdParam.java | 7 +- .../user/param/SysUserMessagePageParam.java | 12 +- .../modular/user/param/SysUserPageParam.java | 16 +- .../param/SysUserSelectorOrgListParam.java | 10 +- .../param/SysUserSelectorPositionParam.java | 10 +- .../user/param/SysUserSelectorRoleParam.java | 12 +- .../user/param/SysUserSelectorUserParam.java | 10 +- .../user/param/SysUserSignatureParam.java | 7 +- .../user/param/SysUserUpdateInfoParam.java | 21 +- .../user/param/SysUserUpdatePwdParam.java | 9 +- .../param/SysUserUpdateWorkbenchParam.java | 7 +- .../provider/SysLoginUserApiProvider.java | 2 +- .../user/provider/SysUserApiProvider.java | 2 +- .../SysUserGrantResourceTreeResult.java | 26 +- .../result/SysUserMessageDetailResult.java | 20 +- .../user/result/SysUserMessageResult.java | 22 +- .../result/SysUserOwnPermissionResult.java | 12 +- .../user/result/SysUserOwnResourceResult.java | 10 +- .../result/SysUserPicValidCodeResult.java | 6 +- .../user/result/SysUserPositionResult.java | 14 +- .../modular/user/result/SysUserResult.java | 98 +- .../modular/user/service/SysUserService.java | 2 +- .../user/service/impl/SysUserServiceImpl.java | 7 +- snowy-web-app/pom.xml | 23 +- .../main/java/vip/xiaonuo/Application.java | 19 +- .../xiaonuo/core/config/DruidConfigure.java | 12 +- .../xiaonuo/core/config/GlobalConfigure.java | 33 +- .../handler/GlobalErrorViewController.java | 12 +- .../core/handler/GlobalErrorViewHandler.java | 7 +- .../core/handler/GlobalExceptionUtil.java | 4 +- .../src/main/resources/_sql/snowy_mysql.sql | 4 + .../src/main/resources/_sql/snowy_oracle.sql | 1891 ----------------- .../src/main/resources/_sql/数据库说明.md | 7 +- .../src/main/resources/application.properties | 69 +- .../src/main/resources/static/favicon.ico | Bin 0 -> 4286 bytes 584 files changed, 8188 insertions(+), 9092 deletions(-) delete mode 100644 snowy-admin-web/src/components/Table/index.less create mode 100644 snowy-admin-web/src/components/XnUserSelector/README.md create mode 100644 snowy-admin-web/src/components/XnUserSelector/index.vue create mode 100644 snowy-admin-web/src/components/XnUserSelector/userSelectorTest.vue create mode 100644 snowy-admin-web/src/layout/components/breadcrumb.vue create mode 100644 snowy-admin-web/src/layout/enum/layoutEnum.js create mode 100644 snowy-admin-web/src/layout/enum/themeEnum.js create mode 100644 snowy-admin-web/src/layout/menu/classicalMenu.vue create mode 100644 snowy-admin-web/src/layout/menu/doubleRowMenu.vue create mode 100644 snowy-admin-web/src/layout/menu/topMenu.vue delete mode 100644 snowy-admin-web/src/style/media.less delete mode 100644 snowy-admin-web/src/style/pages.less create mode 100644 snowy-admin-web/src/views/dev/config/smsConfig/xiaonuoSmsForm.vue create mode 100644 snowy-admin-web/src/views/dev/sms/send/xiaonuoSmsSend.vue delete mode 100644 snowy-common/src/main/java/vip/xiaonuo/common/pojo/CommonValidList.java create mode 100644 snowy-plugin/snowy-plugin-dev/src/main/java/vip/xiaonuo/dev/modular/sms/param/DevSmsSendXiaonuoParam.java create mode 100644 snowy-plugin/snowy-plugin-dev/src/main/java/vip/xiaonuo/dev/modular/sms/util/DevSmsXiaonuoUtil.java rename snowy-plugin/snowy-plugin-mobile/src/main/resources/static/{images => mobile}/fileImg/README.md (100%) rename snowy-plugin/snowy-plugin-mobile/src/main/resources/static/{images => mobile}/fileImg/docx.png (100%) rename snowy-plugin/snowy-plugin-mobile/src/main/resources/static/{images => mobile}/fileImg/file.png (100%) rename snowy-plugin/snowy-plugin-mobile/src/main/resources/static/{images => mobile}/fileImg/gif.png (100%) rename snowy-plugin/snowy-plugin-mobile/src/main/resources/static/{images => mobile}/fileImg/html.png (100%) rename snowy-plugin/snowy-plugin-mobile/src/main/resources/static/{images => mobile}/fileImg/img.png (100%) rename snowy-plugin/snowy-plugin-mobile/src/main/resources/static/{images => mobile}/fileImg/pdf.png (100%) rename snowy-plugin/snowy-plugin-mobile/src/main/resources/static/{images => mobile}/fileImg/png.png (100%) rename snowy-plugin/snowy-plugin-mobile/src/main/resources/static/{images => mobile}/fileImg/ppt.png (100%) rename snowy-plugin/snowy-plugin-mobile/src/main/resources/static/{images => mobile}/fileImg/rar.png (100%) rename snowy-plugin/snowy-plugin-mobile/src/main/resources/static/{images => mobile}/fileImg/txt.png (100%) rename snowy-plugin/snowy-plugin-mobile/src/main/resources/static/{images => mobile}/fileImg/xlsx.png (100%) rename snowy-plugin/snowy-plugin-mobile/src/main/resources/static/{images => mobile}/fileImg/zip.png (100%) rename snowy-plugin/snowy-plugin-mobile/src/main/resources/static/{images => mobile}/swiper/swiper1.jpg (100%) rename snowy-plugin/snowy-plugin-mobile/src/main/resources/static/{images => mobile}/swiper/swiper2.jpg (100%) delete mode 100644 snowy-web-app/src/main/resources/_sql/snowy_oracle.sql create mode 100644 snowy-web-app/src/main/resources/static/favicon.ico diff --git a/README.md b/README.md index b67e3739..84c99b92 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Snowy(SnowyAdmin)是国内首个国密前后端分离快速开发平台, 技术框架与密码结合,让更多的人认识密码,使用密码;更是让前后分离“密”不可分。 -采用SpringBoot+MybatisPlus+AntDesignVue+Vite 等更多优秀组件及前沿技术开发,注释丰富,代码简洁,开箱即用! +采用SpringBoot+MybatisPlus+AntDesignVue+Vite 等更多组件及前沿技术开发,注释丰富,代码简洁,开箱即用! Snowy谐音“小诺”,恰应小诺团队名称;意思为”下雪的、纯洁的“,寓意框架追求简洁至上,大道至简。 @@ -24,19 +24,19 @@ Snowy谐音“小诺”,恰应小诺团队名称;意思为”下雪的、纯 Gitee fork - bootstrap + bootstrap - spring-boot + spring-boot - bootstrap + bootstrap - spring-boot + spring-boot - mybatis-plus + mybatis-plus license Apache 2.0 @@ -62,9 +62,9 @@ github下载地址(镜像):[https://github.com/xiaonuobase/Snowy](https:// 全栈工程师推荐idea ### 前端支撑 -| 插件 | 版本 | 用途 | -|--- | ----- | ----- | -| node.js | ≥16 | JavaScript运行环境 | +| 插件 | 版本 | 用途 | +|--- |-----| ----- | +| node.js | ≥18 | JavaScript运行环境 | ### 启动前端 @@ -75,12 +75,12 @@ npm install npm run dev ``` ### 后端支撑 -| 插件 | 版本 | 用途 | -| --- | ----- | ----- | -| jdk | 11 / 1.8 |java环境 | -| lombok | idea内 |代码简化插件 | -| maven | 最新版 |包管理工具 | -| redis | 最新版 | 缓存库 | +| 插件 | 版本 | 用途 | +| --- |-----------| ----- | +| jdk | 17 |java环境 | +| lombok | idea内 |代码简化插件 | +| maven | 最新版 |包管理工具 | +| redis | 最新版 | 缓存库 | | mysql | 8.0 / 5.7 | 数据库 | ### 启动后端 @@ -88,7 +88,7 @@ npm run dev ## 代码结构 -Snowy2.0框架对代码以插件化的模式进行分包,使得包层级结构更加清晰合理,同时降低了耦合度,关于插件模块化开发的规范请查阅文档【SNOWY开源文档——前端手册or后端手册——开发规范】板块。 +Snowy3.0框架对代码以插件化的模式进行分包,使得包层级结构更加清晰合理,同时降低了耦合度,关于插件模块化开发的规范请查阅文档【SNOWY开源文档——前端手册or后端手册——开发规范】板块。 ``` snowy @@ -141,6 +141,10 @@ snowy 1.x分支,目前已停止新增功能,只限于bug的维护,推荐使用2x版本 +- snowy2.5 + +2.x分支,目前已停止新增功能,只限于bug的维护,可以平滑过渡至3x版本 + ## 视频教程 教程地址(免费开放):[https://space.bilibili.com/50101698/channel/collectiondetail?sid=739071](https://space.bilibili.com/50101698/channel/collectiondetail?sid=739071) diff --git a/pom.xml b/pom.xml index 4324c991..29077313 100644 --- a/pom.xml +++ b/pom.xml @@ -6,83 +6,23 @@ vip.xiaonuo snowy snowy - 2.0.0 + 3.0.0 snowy快速开发平台 pom org.springframework.boot spring-boot-starter-parent - 2.5.12 + 3.2.1 - 1.8 - 2.0.0 - 5.3.26 + 17 + 3.0.0 + 3.2.1 + 6.1.2 UTF-8 UTF-8 - - 3.14.0 - 3.3.1 - 2.0.9 - 3.1.0 - 1.70 - 1.2.40.Beetl.RELEASE - 3.31.0 - 1.9.4 - 1.22 - 2.11.1 - 1.2.9 - 3.5.1 - 2.1.7 - 3.2.1 - 4.3.0 - 2.0.24 - 2.8.9 - 31.1-jre - 5.8.12 - 2.6.3 - 2.14.2 - 2.14.2 - 2.14.2 - 2.14.2 - 2.14.2 - 2.14.2 - 1.6.2 - 1.5.4 - 4.13.2 - 1.16.5 - 2.0.9 - 1.2.0 - 1.18.22 - 8.5.2 - 9.2.1.jre8 - 3.5.3.1 - 3.5.10 - 8.0.28 - 4.1.89.Final - 4.1.89.Final - 4.10.0 - 3.3.0 - 8.1.2.192 - 8.6.0 - 21.5.0.0 - 19.7.0.0 - 6.2.2 - 2.5.1 - 42.2.25 - 3.21.12 - 1.31.0 - 0.3.2 - 2.0 - 5.3.19 - 5.8.9 - 2.10.5 - 5.6.68 - 3.1.455 - 3.1.455 - 9.0.72 @@ -207,458 +147,282 @@ ${snowy.version} + + + org.openjdk.nashorn + nashorn-core + 15.4 + + org.projectlombok lombok - ${lombok.versin} + 1.18.30 com.alibaba druid-spring-boot-starter - ${druid.version} - - - - - org.mybatis - mybatis - ${mybatis.version} - - - - - com.baomidou - mybatis-plus-core - ${mybatis.plus.version} + 1.2.21 com.baomidou - mybatis-plus-boot-starter - ${mybatis.plus.version} + mybatis-plus-spring-boot3-starter + 3.5.5 com.fhs-opensource easy-trans-spring-boot-starter - ${easy.trans.version} + 3.0.0 com.fhs-opensource easy-trans-mybatis-plus-extend - ${easy.trans.version} + 3.0.0 org.apache.commons commons-pool2 - ${commons.pool2.version} - - - - - com.squareup.okhttp3 - okhttp - ${okhttp3.version} - - - - - com.squareup.okio - okio - ${okio.version} + 2.12.0 cn.hutool hutool-all - ${hutool.version} + 5.8.25 com.belerweb pinyin4j - ${pinyin.version} + 2.5.1 org.lionsoul ip2region - ${ip2region.version} + 2.7.0 com.github.xiaoymin - knife4j-spring-boot-starter - ${knife4j.version} + knife4j-openapi3-jakarta-spring-boot-starter + 4.5.0 cn.afterturn easypoi-spring-boot-starter - ${easypoi.version} + 4.4.0 com.antherd sm-crypto - ${smcrypto.version} + 0.3.2 com.alibaba easyexcel - ${easyexcel.version} + 3.3.3 - + cn.dev33 sa-token-core - ${sa.token.version} + 1.37.0 - + cn.dev33 - sa-token-spring-boot-starter - ${sa.token.version} + sa-token-spring-boot3-starter + 1.37.0 - + cn.dev33 - sa-token-dao-redis-jackson - ${sa.token.version} + sa-token-redis-jackson + 1.37.0 cn.dev33 sa-token-alone-redis - ${sa.token.version} + 1.37.0 cn.dev33 sa-token-sso - ${sa.token.version} + 1.37.0 me.zhyd.oauth JustAuth - ${just.auth.version} + 1.16.6 com.ibeetl beetl-framework-starter - ${beetl.version} + 1.2.40.Beetl.RELEASE - + + + org.dromara.x-file-storage + x-file-storage-spring + 2.1.0 + + + com.qcloud cos_api - ${ten.cos.version} + 5.6.199 - + com.aliyun.oss aliyun-sdk-oss - ${ali.oss.version} + 3.15.1 - + io.minio minio - ${minio.version} + 8.5.2 - + com.sun.mail - javax.mail - ${javax.mail.version} + jakarta.mail + 2.0.1 - + com.aliyun - aliyun-java-sdk-dm - ${aliyun.sdk.dm.version} + dm20151123 + 1.0.6 - + com.tencentcloudapi tencentcloud-sdk-java-ses - ${ten.sdk.ses.version} + 3.1.944 - + com.aliyun dysmsapi20170525 - ${aliyun.sdk.dysmsapi.version} + 2.0.24 - + com.tencentcloudapi tencentcloud-sdk-java-sms - ${ten.sdk.sms.version} + 3.1.893 + + + + + org.dromara.sms4j + sms4j-javase-plugin + 3.1.1 com.github.oshi oshi-core - ${oshi.core.version} - - - - - junit - junit - ${junit.version} - test - - - - - ch.qos.logback - logback-classic - ${logback.classic.version} - - - - - com.google.code.gson - gson - ${gson.version} - - - - - com.google.guava - guava - ${guava.version} - - - - - io.netty - netty-common - ${netty.common.version} - - - - - io.netty - netty-handler - ${netty.handler.version} - - - - - org.codehaus.jettison - jettison - ${jettison.version} - - - - - org.yaml - snakeyaml - ${snakeyaml.version} - - - - - org.springframework - spring-context - ${spring.context.version} - - - - - org.springframework.security - spring-security-crypto - ${spring.security.crypto.version} - - - - - io.springfox - springfox-swagger2 - ${springfox.swagger2.version} - - - - - org.apache.tomcat.embed - tomcat-embed-core - ${tomcat.embed.core.version} - - - - - com.alibaba - fastjson - ${fastjson.version} - - - - - com.fasterxml.jackson.core - jackson-annotations - ${jackson.annotations.version} - - - - - com.fasterxml.jackson.core - jackson-core - ${jackson.core.version} - - - - - com.fasterxml.jackson.core - jackson-databind - ${jackson.databind.version} - - - - - com.fasterxml.jackson.datatype - jackson-datatype-jdk8 - ${jackson.datatype.jdk8.version} - - - - - com.fasterxml.jackson.datatype - jackson-datatype-jsr310 - ${jackson.datatype.jsr310.version} - - - - - com.fasterxml.jackson.module - jackson-module-parameter-names - ${jackson.module.parameter.names.version} - - - - - commons-beanutils - commons-beanutils - ${commons.beanutils.version} - - - - - org.apache.commons - commons-compress - ${commons.compress.version} - - - - - com.google.protobuf - protobuf-java - ${protobuf.java.version} - - - - - org.checkerframework - checker-qual - ${checker.qual.version} - - - - - org.bouncycastle - bcprov-jdk15on - ${bcprov.jdk15on.version} + 6.4.11 com.baomidou - dynamic-datasource-spring-boot-starter - ${dynamic.datasource.version} + dynamic-datasource-spring-boot3-starter + 4.3.0 - mysql - mysql-connector-java - ${mysql.connector.java.version} + com.mysql + mysql-connector-j + 8.3.0 @@ -668,16 +432,19 @@ org.apache.maven.plugins maven-compiler-plugin - 3.7.0 + 3.12.1 - 1.8 - 1.8 + + -parameters + + 17 + 17 org.apache.maven.plugins maven-source-plugin - 3.0.1 + 3.3.0 true @@ -694,10 +461,6 @@ src/main/resources - - _sql/* - *.md - src/main/java diff --git a/snowy-admin-web/index.html b/snowy-admin-web/index.html index 11e014cf..36f92e32 100644 --- a/snowy-admin-web/index.html +++ b/snowy-admin-web/index.html @@ -7,7 +7,7 @@ Snowy diff --git a/snowy-admin-web/src/components/CropUpload/index.vue b/snowy-admin-web/src/components/CropUpload/index.vue index 25987374..e17bee0b 100644 --- a/snowy-admin-web/src/components/CropUpload/index.vue +++ b/snowy-admin-web/src/components/CropUpload/index.vue @@ -1,5 +1,5 @@ @@ -152,4 +152,35 @@ .cropper { height: 280px; } + .xn-cj { + width: 165px; + height: 165px; + border: 1px solid #e9e9e9; + border-radius: 2px + } + .xn-pt { + padding-top: 10px; + } + .xn-tl { + text-align: center; + padding-top: 10px + } + .xn-cj-two { + padding-top: 10px; + display: flex + + } + .xn-cj-two > div:first-child { + height: 100px; + width: 100px; + border: 1px solid #e9e9e9; + border-radius: 2px + } + .xn-cj-two > div:nth-child(2) { + height: 60px; + width: 60px; + border: 1px solid #e9e9e9; + margin-left: 5px; + border-radius: 2px + } diff --git a/snowy-admin-web/src/components/DragModal/index.vue b/snowy-admin-web/src/components/DragModal/index.vue index 69255dd6..b925aa40 100644 --- a/snowy-admin-web/src/components/DragModal/index.vue +++ b/snowy-admin-web/src/components/DragModal/index.vue @@ -1,7 +1,7 @@ @@ -332,6 +332,10 @@ diff --git a/snowy-admin-web/src/components/Selector/iconMobileSelector.vue b/snowy-admin-web/src/components/Selector/iconMobileSelector.vue index 17a9270f..e5107049 100644 --- a/snowy-admin-web/src/components/Selector/iconMobileSelector.vue +++ b/snowy-admin-web/src/components/Selector/iconMobileSelector.vue @@ -1,6 +1,6 @@ @@ -89,13 +89,13 @@ > @@ -116,7 +116,7 @@ title: '操作', dataIndex: 'action', align: 'center', - width: 80 + width: 50 }, { title: '机构名', @@ -134,7 +134,7 @@ title: '操作', dataIndex: 'action', align: 'center', - width: 80 + width: 50 }, { title: '机构名', @@ -250,10 +250,7 @@ loadData() } const judge = () => { - if (radioModel && selectedData.value.length > 0) { - return false - } - return true + return !(radioModel && selectedData.value.length > 0) } // 添加记录 const addRecord = (record) => { @@ -377,6 +374,12 @@ diff --git a/snowy-admin-web/src/components/Table/index.less b/snowy-admin-web/src/components/Table/index.less deleted file mode 100644 index 3c3768e6..00000000 --- a/snowy-admin-web/src/components/Table/index.less +++ /dev/null @@ -1,57 +0,0 @@ -.table-wrapper{ -} - -.table-striped td { - background-color: var(--table-row-hover-bg); -} -.s-table-tool{ - display: flex; - margin-bottom: 16px; - .s-table-tool-left{ - flex: 1; - } - .s-table-tool-right{ - .s-tool-item{ - font-size: 16px; - @apply ml-4; - cursor: pointer; - - } - } -} - -.s-tool-column-item{ - display: flex; - align-items: center; - padding: 4px 16px 4px 4px; - .ant-checkbox-wrapper{ - flex: 1; - } - .s-tool-column-handle{ - opacity: .8; - cursor: move; - .anticon-more{ - font-size: 12px; - & + .anticon-more{ - margin: 0px 4px 0 -8px; - } - } - } -} -.s-tool-column-header{ - padding: 5px 16px 10px 24px; - min-width: 180px; -} -.s-tool-column{ - .ant-divider{ - margin: 0; - } - .ant-checkbox-group{ - padding: 4px 0; - display: block; - } -} - -.s-table-column-settings .ant-popover-inner-content{ - padding: 0; -} diff --git a/snowy-admin-web/src/components/Table/index.vue b/snowy-admin-web/src/components/Table/index.vue index 06978f77..362c1a17 100644 --- a/snowy-admin-web/src/components/Table/index.vue +++ b/snowy-admin-web/src/components/Table/index.vue @@ -10,7 +10,7 @@
斑马纹
- + - + + diff --git a/snowy-admin-web/src/components/TreeSelect/menuTreeSelect.vue b/snowy-admin-web/src/components/TreeSelect/menuTreeSelect.vue index 98a0d3d9..a07098f9 100644 --- a/snowy-admin-web/src/components/TreeSelect/menuTreeSelect.vue +++ b/snowy-admin-web/src/components/TreeSelect/menuTreeSelect.vue @@ -2,7 +2,7 @@ diff --git a/snowy-admin-web/src/components/XnBatchButton/index.vue b/snowy-admin-web/src/components/XnBatchButton/index.vue index b8967320..1fa17b89 100644 --- a/snowy-admin-web/src/components/XnBatchButton/index.vue +++ b/snowy-admin-web/src/components/XnBatchButton/index.vue @@ -1,10 +1,5 @@