From 9b9d066459b16f270b5afd79196a7e17e6b65799 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=8E=8B=E7=9A=93=E9=9B=AF?= <18868469283@qq.com>
Date: Tue, 15 Jan 2019 10:43:47 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
代码库/mall-admin/.classpath | 31 ++
代码库/mall-admin/.project | 40 ++
.../.settings/org.eclipse.jdt.core.prefs | 5 +
.../.settings/org.eclipse.m2e.core.prefs | 4 +
....eclipse.wst.common.project.facet.core.xml | 4 +
代码库/mall-admin/pom.xml | 142 +++++++
.../com/sock/mall/MallAdminApplication.java | 18 +
.../com/sock/mall/bo/AdminUserDetails.java | 1 -
.../main/java/com/sock/mall/bo/WebLog.java | 1 -
.../mall/component/BIndingResultAspect.java | 43 ---
.../JwtAuthenticationTokenFilter.java | 60 ---
.../RestAuthenticationEntryPoint.java | 26 --
.../component/RestfulAccessDeniedHandler.java | 28 --
.../com/sock/mall/component/WebLogAspect.java | 127 -------
.../java/com/sock/mall/config/OssConfig.java | 21 --
.../com/sock/mall/config/SecurityConfig.java | 132 -------
.../com/sock/mall/config/Swagger2Config.java | 37 --
.../CmsPrefrenceAreaController.java | 33 --
.../mall/controller/CmsSubjectController.java | 44 ---
.../OmsCompanyAddressController.java | 34 --
.../mall/controller/OmsOrderController.java | 110 ------
.../OmsOrderReturnApplyController.java | 68 ----
.../OmsOrderReturnReasonController.java | 85 -----
.../controller/OmsOrderSettingController.java | 40 --
.../sock/mall/controller/OssCtontroller.java | 42 ---
.../mall/controller/PmsBrandController.java | 138 -------
...PmsProductAttributeCategoryController.java | 84 -----
.../PmsProductAttributeController.java | 94 -----
.../PmsProductCategoryController.java | 126 -------
.../mall/controller/PmsProductController.java | 153 --------
.../controller/PmsSkuStockController.java | 42 ---
.../mall/controller/SmsCouponController.java | 76 ----
.../SmsCouponHistoryController.java | 37 --
.../SmsFlashPromotionController.java | 84 -----
...ashPromotionProductRelationController.java | 75 ----
.../SmsFlashPromotionSessionController.java | 91 -----
.../SmsHomeAdvertiseController.java | 83 -----
.../controller/SmsHomeBrandController.java | 77 ----
.../SmsHomeNewProductController.java | 77 ----
.../SmsHomeRecommendProductController.java | 77 ----
.../SmsHomeRecommendSubjectController.java | 77 ----
.../mall/controller/UmsAdminController.java | 178 ---------
.../controller/UmsMemberLevelController.java | 33 --
.../controller/UmsPermissionController.java | 72 ----
.../mall/controller/UmsRoleController.java | 86 -----
.../CmsPrefrenceAreaProductRelationDao.java | 14 -
.../dao/CmsSubjectProductRelationDao.java | 13 -
.../java/com/sock/mall/dao/OmsOrderDao.java | 29 --
.../mall/dao/OmsOrderOperateHistoryDao.java | 13 -
.../sock/mall/dao/OmsOrderReturnApplyDao.java | 23 --
.../com/sock/mall/dao/PmsMemberPriceDao.java | 13 -
.../dao/PmsProductAttributeCategoryDao.java | 12 -
.../sock/mall/dao/PmsProductAttributeDao.java | 13 -
.../mall/dao/PmsProductAttributeValueDao.java | 13 -
...msProductCategoryAttributeRelationDao.java | 13 -
.../sock/mall/dao/PmsProductCategoryDao.java | 12 -
.../java/com/sock/mall/dao/PmsProductDao.java | 15 -
.../mall/dao/PmsProductFullReductionDao.java | 13 -
.../sock/mall/dao/PmsProductLadderDao.java | 13 -
.../mall/dao/PmsProductVertifyRecordDao.java | 13 -
.../com/sock/mall/dao/PmsSkuStockDao.java | 21 --
.../java/com/sock/mall/dao/SmsCouponDao.java | 11 -
.../SmsCouponProductCategoryRelationDao.java | 13 -
.../mall/dao/SmsCouponProductRelationDao.java | 13 -
.../SmsFlashPromotionProductRelationDao.java | 16 -
.../dao/UmsAdminPermissionRelationDao.java | 13 -
.../mall/dao/UmsAdminRoleRelationDao.java | 33 --
.../dao/UmsRolePermissionRelationDao.java | 22 --
.../java/com/sock/mall/dto/CommonResult.java | 145 --------
.../com/sock/mall/dto/OmsMoneyInfoParam.java | 18 -
.../sock/mall/dto/OmsOrderDeliveryParam.java | 19 -
.../com/sock/mall/dto/OmsOrderDetail.java | 21 --
.../com/sock/mall/dto/OmsOrderQueryParam.java | 25 --
.../mall/dto/OmsOrderReturnApplyResult.java | 15 -
.../sock/mall/dto/OmsReceiverInfoParam.java | 21 --
.../mall/dto/OmsReturnApplyQueryParam.java | 25 --
.../sock/mall/dto/OmsUpdateStatusParam.java | 31 --
.../com/sock/mall/dto/OssCallbackParam.java | 41 --
.../com/sock/mall/dto/OssCallbackResult.java | 52 ---
.../com/sock/mall/dto/OssPolicyResult.java | 52 ---
.../java/com/sock/mall/dto/PmsBrandParam.java | 100 -----
.../dto/PmsProductAttributeCategoryItem.java | 21 --
.../mall/dto/PmsProductAttributeParam.java | 134 -------
.../mall/dto/PmsProductCategoryParam.java | 118 ------
.../PmsProductCategoryWithChildrenItem.java | 20 -
.../com/sock/mall/dto/PmsProductParam.java | 82 ----
.../sock/mall/dto/PmsProductQueryParam.java | 69 ----
.../com/sock/mall/dto/PmsProductResult.java | 17 -
.../com/sock/mall/dto/ProductAttrInfo.java | 26 --
.../com/sock/mall/dto/SmsCouponParam.java | 33 --
.../mall/dto/SmsFlashPromotionProduct.java | 15 -
.../dto/SmsFlashPromotionSessionDetail.java | 14 -
.../com/sock/mall/dto/UmsAdminLoginParam.java | 32 --
.../java/com/sock/mall/dto/UmsAdminParam.java | 30 --
.../com/sock/mall/dto/UmsPermissionNode.java | 16 -
.../mall/service/CmsPrefrenceAreaService.java | 12 -
.../sock/mall/service/CmsSubjectService.java | 20 -
.../service/OmsCompanyAddressService.java | 15 -
.../service/OmsOrderReturnApplyService.java | 33 --
.../service/OmsOrderReturnReasonService.java | 40 --
.../sock/mall/service/OmsOrderService.java | 57 ---
.../mall/service/OmsOrderSettingService.java | 18 -
.../com/sock/mall/service/OssService.java | 14 -
.../sock/mall/service/PmsBrandService.java | 30 --
.../PmsProductAttributeCategoryService.java | 23 --
.../service/PmsProductAttributeService.java | 42 ---
.../service/PmsProductCategoryService.java | 33 --
.../sock/mall/service/PmsProductService.java | 72 ----
.../sock/mall/service/PmsSkuStockService.java | 20 -
.../mall/service/SmsCoupnHistoryService.java | 18 -
.../sock/mall/service/SmsCouponService.java | 41 --
...sFlashPromotionProductRelationService.java | 49 ---
.../service/SmsFlashPromotionService.java | 40 --
.../SmsFlashPromotionSessionService.java | 46 ---
.../mall/service/SmsHomeAdvertiseService.java | 40 --
.../mall/service/SmsHomeBrandService.java | 37 --
.../service/SmsHomeNewProductService.java | 37 --
.../SmsHomeRecommendProductService.java | 37 --
.../SmsHomeRecommendSubjectService.java | 37 --
.../sock/mall/service/UmsAdminService.java | 80 ----
.../mall/service/UmsMemberLevelService.java | 16 -
.../mall/service/UmsPermissionService.java | 36 --
.../com/sock/mall/service/UmsRoleService.java | 43 ---
.../service/impl/CmsPrefrenceAreaService.java | 12 -
.../mall/service/impl/CmsSubjectService.java | 20 -
.../impl/OmsCompanyAddressService.java | 15 -
.../impl/OmsOrderReturnApplyService.java | 33 --
.../impl/OmsOrderReturnReasonService.java | 40 --
.../mall/service/impl/OmsOrderService.java | 57 ---
.../service/impl/OmsOrderSettingService.java | 18 -
.../sock/mall/service/impl/OssService.java | 14 -
.../service/impl/PmsBrandServiceImpl.java | 109 ------
...msProductAttributeCategoryServiceImpl.java | 60 ---
.../impl/PmsProductAttributeServiceImpl.java | 100 -----
.../impl/PmsProductCategoryServiceImpl.java | 153 --------
.../service/impl/PmsProductServiceImpl.java | 350 ------------------
.../service/impl/PmsSkuStockServiceImpl.java | 38 --
.../impl/SmsCouponHistoryServiceImpl.java | 37 --
.../service/impl/SmsCouponServiceImpl.java | 124 -------
...shPromotionProductRelationServiceImpl.java | 62 ----
.../impl/SmsFlashPromotionServiceImpl.java | 62 ----
.../SmsFlashPromotionSessionServiceImpl.java | 78 ----
.../impl/SmsHomeAdvertiseServiceImpl.java | 92 -----
.../service/impl/SmsHomeBrandServiceImpl.java | 69 ----
.../impl/SmsHomeNewProductServiceImpl.java | 69 ----
.../SmsHomeRecommendProductServiceImpl.java | 69 ----
.../SmsHomeRecommendSubjectServiceImpl.java | 69 ----
.../service/impl/UmsAdminServiceImpl.java | 247 ------------
.../impl/UmsMemberLevelServiceImpl.java | 25 --
.../impl/UmsPermissionServiceImpl.java | 72 ----
.../mall/service/impl/UmsRoleServiceImpl.java | 74 ----
.../java/com/sock/mall/util/JsonUtil.java | 61 ---
.../java/com/sock/mall/util/JwtTokenUtil.java | 134 -------
.../java/com/sock/mall/util/RequestUtil.java | 67 ----
.../sock/mall/validator/FlagValidator.java | 22 ++
.../mall/validator/FlagValidatorClass.java | 31 ++
.../com.macro.mall/mall-admin/pom.properties | 7 +
.../maven/com.macro.mall/mall-admin/pom.xml | 142 +++++++
.../target/classes/application-dev.properties | 19 +
.../classes/application-prod.properties | 19 +
.../classes/application-read.properties | 20 +
.../target/classes/application.properties | 47 +++
.../com/macro/mall/MallAdminApplication.class | Bin 0 -> 907 bytes
.../com/macro/mall/bo/AdminUserDetails.class | Bin 0 -> 3391 bytes
.../classes/com/macro/mall/bo/WebLog.class | Bin 0 -> 2640 bytes
.../mall/component/BindingResultAspect.class | Bin 0 -> 1690 bytes
.../JwtAuthenticationTokenFilter.class | Bin 0 -> 3882 bytes
.../RestAuthenticationEntryPoint.class | Bin 0 -> 1692 bytes
.../RestfulAccessDeniedHandler.class | Bin 0 -> 1671 bytes
.../macro/mall/component/WebLogAspect.class | Bin 0 -> 6653 bytes
.../com/macro/mall/config/OssConfig.class | Bin 0 -> 1022 bytes
.../macro/mall/config/SecurityConfig.class | Bin 0 -> 9833 bytes
.../macro/mall/config/Swagger2Config.class | Bin 0 -> 2127 bytes
.../CmsPrefrenceAreaController.class | Bin 0 -> 1538 bytes
.../controller/CmsSubjectController.class | Bin 0 -> 2236 bytes
.../OmsCompanyAddressController.class | Bin 0 -> 1542 bytes
.../mall/controller/OmsOrderController.class | Bin 0 -> 5383 bytes
.../OmsOrderReturnApplyController.class | Bin 0 -> 3703 bytes
.../OmsOrderReturnReasonController.class | Bin 0 -> 4377 bytes
.../OmsOrderSettingController.class | Bin 0 -> 2265 bytes
.../macro/mall/controller/OssController.class | Bin 0 -> 1828 bytes
.../mall/controller/PmsBrandController.class | Bin 0 -> 5978 bytes
...msProductAttributeCategoryController.class | Bin 0 -> 4090 bytes
.../PmsProductAttributeController.class | Bin 0 -> 4953 bytes
.../PmsProductCategoryController.class | Bin 0 -> 5630 bytes
.../controller/PmsProductController.class | Bin 0 -> 6505 bytes
.../controller/PmsSkuStockController.class | Bin 0 -> 2564 bytes
.../mall/controller/SmsCouponController.class | Bin 0 -> 3736 bytes
.../SmsCouponHistoryController.class | Bin 0 -> 2155 bytes
.../SmsFlashPromotionController.class | Bin 0 -> 4117 bytes
...shPromotionProductRelationController.class | Bin 0 -> 4168 bytes
.../SmsFlashPromotionSessionController.class | Bin 0 -> 4139 bytes
.../SmsHomeAdvertiseController.class | Bin 0 -> 4398 bytes
.../controller/SmsHomeBrandController.class | Bin 0 -> 4062 bytes
.../SmsHomeNewProductController.class | Bin 0 -> 4102 bytes
.../SmsHomeRecommendProductController.class | Bin 0 -> 4158 bytes
.../SmsHomeRecommendSubjectController.class | Bin 0 -> 4164 bytes
.../mall/controller/UmsAdminController.class | Bin 0 -> 8070 bytes
.../controller/UmsMemberLevelController.class | Bin 0 -> 1711 bytes
.../controller/UmsPermissionController.class | Bin 0 -> 3450 bytes
.../mall/controller/UmsRoleController.class | Bin 0 -> 3952 bytes
.../CmsPrefrenceAreaProductRelationDao.class | Bin 0 -> 419 bytes
.../dao/CmsSubjectProductRelationDao.class | Bin 0 -> 401 bytes
.../com/macro/mall/dao/OmsOrderDao.class | Bin 0 -> 668 bytes
.../mall/dao/OmsOrderOperateHistoryDao.class | Bin 0 -> 392 bytes
.../mall/dao/OmsOrderReturnApplyDao.class | Bin 0 -> 584 bytes
.../macro/mall/dao/PmsMemberPriceDao.class | Bin 0 -> 368 bytes
.../dao/PmsProductAttributeCategoryDao.class | Bin 0 -> 302 bytes
.../mall/dao/PmsProductAttributeDao.class | Bin 0 -> 413 bytes
.../dao/PmsProductAttributeValueDao.class | Bin 0 -> 398 bytes
...sProductCategoryAttributeRelationDao.class | Bin 0 -> 431 bytes
.../mall/dao/PmsProductCategoryDao.class | Bin 0 -> 288 bytes
.../com/macro/mall/dao/PmsProductDao.class | Bin 0 -> 316 bytes
.../mall/dao/PmsProductFullReductionDao.class | Bin 0 -> 395 bytes
.../macro/mall/dao/PmsProductLadderDao.class | Bin 0 -> 374 bytes
.../mall/dao/PmsProductVertifyRecordDao.class | Bin 0 -> 395 bytes
.../com/macro/mall/dao/PmsSkuStockDao.class | Bin 0 -> 407 bytes
.../com/macro/mall/dao/SmsCouponDao.class | Bin 0 -> 306 bytes
.../SmsCouponProductCategoryRelationDao.class | Bin 0 -> 422 bytes
.../dao/SmsCouponProductRelationDao.class | Bin 0 -> 398 bytes
.../SmsFlashPromotionProductRelationDao.class | Bin 0 -> 520 bytes
.../dao/UmsAdminPermissionRelationDao.class | Bin 0 -> 404 bytes
.../mall/dao/UmsAdminRoleRelationDao.class | Bin 0 -> 737 bytes
.../dao/UmsRolePermissionRelationDao.class | Bin 0 -> 576 bytes
.../com/macro/mall/dto/CommonResult.class | Bin 0 -> 3574 bytes
.../macro/mall/dto/OmsMoneyInfoParam.class | Bin 0 -> 1311 bytes
.../mall/dto/OmsOrderDeliveryParam.class | Bin 0 -> 1222 bytes
.../com/macro/mall/dto/OmsOrderDetail.class | Bin 0 -> 1281 bytes
.../macro/mall/dto/OmsOrderQueryParam.class | Bin 0 -> 2069 bytes
.../mall/dto/OmsOrderReturnApplyResult.class | Bin 0 -> 704 bytes
.../macro/mall/dto/OmsReceiverInfoParam.class | Bin 0 -> 2369 bytes
.../mall/dto/OmsReturnApplyQueryParam.class | Bin 0 -> 2030 bytes
.../macro/mall/dto/OmsUpdateStatusParam.class | Bin 0 -> 2549 bytes
.../com/macro/mall/dto/OssCallbackParam.class | Bin 0 -> 1006 bytes
.../macro/mall/dto/OssCallbackResult.class | Bin 0 -> 1325 bytes
.../com/macro/mall/dto/OssPolicyResult.class | Bin 0 -> 1325 bytes
.../com/macro/mall/dto/PmsBrandParam.class | Bin 0 -> 2709 bytes
.../dto/PmsProductAttributeCategoryItem.class | Bin 0 -> 953 bytes
.../mall/dto/PmsProductAttributeParam.class | Bin 0 -> 3759 bytes
.../mall/dto/PmsProductCategoryParam.class | Bin 0 -> 3505 bytes
.../PmsProductCategoryWithChildrenItem.class | Bin 0 -> 914 bytes
.../com/macro/mall/dto/PmsProductParam.class | Bin 0 -> 4153 bytes
.../macro/mall/dto/PmsProductQueryParam.class | Bin 0 -> 2038 bytes
.../com/macro/mall/dto/PmsProductResult.class | Bin 0 -> 597 bytes
.../com/macro/mall/dto/ProductAttrInfo.class | Bin 0 -> 800 bytes
.../com/macro/mall/dto/SmsCouponParam.class | Bin 0 -> 1422 bytes
.../mall/dto/SmsFlashPromotionProduct.class | Bin 0 -> 672 bytes
.../dto/SmsFlashPromotionSessionDetail.class | Bin 0 -> 655 bytes
.../macro/mall/dto/UmsAdminLoginParam.class | Bin 0 -> 1056 bytes
.../com/macro/mall/dto/UmsAdminParam.class | Bin 0 -> 1955 bytes
.../macro/mall/dto/UmsPermissionNode.class | Bin 0 -> 845 bytes
.../service/CmsPrefrenceAreaService.class | Bin 0 -> 271 bytes
.../mall/service/CmsSubjectService.class | Bin 0 -> 465 bytes
.../service/OmsCompanyAddressService.class | Bin 0 -> 271 bytes
.../service/OmsOrderReturnApplyService.class | Bin 0 -> 701 bytes
.../service/OmsOrderReturnReasonService.class | Bin 0 -> 804 bytes
.../macro/mall/service/OmsOrderService.class | Bin 0 -> 1148 bytes
.../mall/service/OmsOrderSettingService.class | Bin 0 -> 302 bytes
.../com/macro/mall/service/OssService.class | Bin 0 -> 283 bytes
.../macro/mall/service/PmsBrandService.class | Bin 0 -> 1002 bytes
.../PmsProductAttributeCategoryService.class | Bin 0 -> 736 bytes
.../service/PmsProductAttributeService.class | Bin 0 -> 1008 bytes
.../service/PmsProductCategoryService.class | Bin 0 -> 1070 bytes
.../mall/service/PmsProductService.class | Bin 0 -> 1477 bytes
.../mall/service/PmsSkuStockService.class | Bin 0 -> 461 bytes
.../service/SmsCouponHistoryService.class | Bin 0 -> 450 bytes
.../macro/mall/service/SmsCouponService.class | Bin 0 -> 767 bytes
...FlashPromotionProductRelationService.class | Bin 0 -> 957 bytes
.../service/SmsFlashPromotionService.class | Bin 0 -> 707 bytes
.../SmsFlashPromotionSessionService.class | Bin 0 -> 793 bytes
.../service/SmsHomeAdvertiseService.class | Bin 0 -> 823 bytes
.../mall/service/SmsHomeBrandService.class | Bin 0 -> 880 bytes
.../service/SmsHomeNewProductService.class | Bin 0 -> 900 bytes
.../SmsHomeRecommendProductService.class | Bin 0 -> 924 bytes
.../SmsHomeRecommendSubjectService.class | Bin 0 -> 924 bytes
.../macro/mall/service/UmsAdminService.class | Bin 0 -> 1364 bytes
.../mall/service/UmsMemberLevelService.class | Bin 0 -> 300 bytes
.../mall/service/UmsPermissionService.class | Bin 0 -> 568 bytes
.../macro/mall/service/UmsRoleService.class | Bin 0 -> 828 bytes
.../impl/CmsPrefrenceAreaServiceImpl.class | Bin 0 -> 1045 bytes
.../service/impl/CmsSubjectServiceImpl.class | Bin 0 -> 2297 bytes
.../impl/OmsCompanyAddressServiceImpl.class | Bin 0 -> 1052 bytes
.../impl/OmsOrderReturnApplyServiceImpl.class | Bin 0 -> 4313 bytes
.../OmsOrderReturnReasonServiceImpl.class | Bin 0 -> 3656 bytes
.../service/impl/OmsOrderServiceImpl.class | Bin 0 -> 8467 bytes
.../impl/OmsOrderSettingServiceImpl.class | Bin 0 -> 1281 bytes
.../mall/service/impl/OssServiceImpl.class | Bin 0 -> 4756 bytes
.../service/impl/PmsBrandServiceImpl.class | Bin 0 -> 5465 bytes
...sProductAttributeCategoryServiceImpl.class | Bin 0 -> 2866 bytes
.../impl/PmsProductAttributeServiceImpl.class | Bin 0 -> 5361 bytes
.../impl/PmsProductCategoryServiceImpl.class | Bin 0 -> 8152 bytes
.../service/impl/PmsProductServiceImpl.class | Bin 0 -> 18018 bytes
.../service/impl/PmsSkuStockServiceImpl.class | Bin 0 -> 2535 bytes
.../impl/SmsCouponHistoryServiceImpl.class | Bin 0 -> 2409 bytes
.../service/impl/SmsCouponServiceImpl.class | Bin 0 -> 6845 bytes
...hPromotionProductRelationServiceImpl.class | Bin 0 -> 3910 bytes
.../impl/SmsFlashPromotionServiceImpl.class | Bin 0 -> 3350 bytes
.../SmsFlashPromotionSessionServiceImpl.class | Bin 0 -> 4391 bytes
.../impl/SmsHomeAdvertiseServiceImpl.class | Bin 0 -> 4985 bytes
.../impl/SmsHomeBrandServiceImpl.class | Bin 0 -> 4426 bytes
.../impl/SmsHomeNewProductServiceImpl.class | Bin 0 -> 4570 bytes
.../SmsHomeRecommendProductServiceImpl.class | Bin 0 -> 4704 bytes
.../SmsHomeRecommendSubjectServiceImpl.class | Bin 0 -> 4700 bytes
.../service/impl/UmsAdminServiceImpl.class | Bin 0 -> 15221 bytes
.../impl/UmsMemberLevelServiceImpl.class | Bin 0 -> 1491 bytes
.../impl/UmsPermissionServiceImpl.class | Bin 0 -> 5613 bytes
.../service/impl/UmsRoleServiceImpl.class | Bin 0 -> 4440 bytes
.../com/macro/mall/util/JsonUtil.class | Bin 0 -> 2367 bytes
.../com/macro/mall/util/JwtTokenUtil.class | Bin 0 -> 4700 bytes
.../com/macro/mall/util/RequestUtil.class | Bin 0 -> 2841 bytes
.../macro/mall/validator/FlagValidator.class | Bin 0 -> 879 bytes
.../mall/validator/FlagValidatorClass.class | Bin 0 -> 1642 bytes
.../CmsPrefrenceAreaProductRelationDao.xml | 11 +
.../dao/CmsSubjectProductRelationDao.xml | 11 +
.../target/classes/dao/OmsOrderDao.xml | 93 +++++
.../classes/dao/OmsOrderOperateHistoryDao.xml | 14 +
.../classes/dao/OmsOrderReturnApplyDao.xml | 59 +++
.../target/classes/dao/PmsMemberPriceDao.xml | 14 +
.../dao/PmsProductAttributeCategoryDao.xml | 19 +
.../classes/dao/PmsProductAttributeDao.xml | 15 +
.../dao/PmsProductAttributeValueDao.xml | 12 +
...PmsProductCategoryAttributeRelationDao.xml | 12 +
.../classes/dao/PmsProductCategoryDao.xml | 18 +
.../target/classes/dao/PmsProductDao.xml | 45 +++
.../dao/PmsProductFullReductionDao.xml | 12 +
.../classes/dao/PmsProductLadderDao.xml | 13 +
.../dao/PmsProductVertifyRecordDao.xml | 15 +
.../target/classes/dao/PmsSkuStockDao.xml | 35 ++
.../target/classes/dao/SmsCouponDao.xml | 28 ++
.../SmsCouponProductCategoryRelationDao.xml | 13 +
.../dao/SmsCouponProductRelationDao.xml | 13 +
.../SmsFlashPromotionProductRelationDao.xml | 30 ++
.../dao/UmsAdminPermissionRelationDao.xml | 13 +
.../classes/dao/UmsAdminRoleRelationDao.xml | 55 +++
.../dao/UmsRolePermissionRelationDao.xml | 21 ++
.../target/classes/logback-spring.xml | 31 ++
336 files changed, 1153 insertions(+), 7664 deletions(-)
create mode 100644 代码库/mall-admin/.classpath
create mode 100644 代码库/mall-admin/.project
create mode 100644 代码库/mall-admin/.settings/org.eclipse.jdt.core.prefs
create mode 100644 代码库/mall-admin/.settings/org.eclipse.m2e.core.prefs
create mode 100644 代码库/mall-admin/.settings/org.eclipse.wst.common.project.facet.core.xml
create mode 100644 代码库/mall-admin/pom.xml
create mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/MallAdminApplication.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/bo/AdminUserDetails.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/bo/WebLog.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/component/BIndingResultAspect.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/component/JwtAuthenticationTokenFilter.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/component/RestAuthenticationEntryPoint.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/component/RestfulAccessDeniedHandler.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/component/WebLogAspect.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/config/OssConfig.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/config/SecurityConfig.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/config/Swagger2Config.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/controller/CmsPrefrenceAreaController.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/controller/CmsSubjectController.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/controller/OmsCompanyAddressController.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/controller/OmsOrderController.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/controller/OmsOrderReturnApplyController.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/controller/OmsOrderReturnReasonController.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/controller/OmsOrderSettingController.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/controller/OssCtontroller.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/controller/PmsBrandController.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/controller/PmsProductAttributeCategoryController.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/controller/PmsProductAttributeController.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/controller/PmsProductCategoryController.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/controller/PmsProductController.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/controller/PmsSkuStockController.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/controller/SmsCouponController.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/controller/SmsCouponHistoryController.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/controller/SmsFlashPromotionController.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/controller/SmsFlashPromotionProductRelationController.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/controller/SmsFlashPromotionSessionController.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/controller/SmsHomeAdvertiseController.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/controller/SmsHomeBrandController.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/controller/SmsHomeNewProductController.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/controller/SmsHomeRecommendProductController.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/controller/SmsHomeRecommendSubjectController.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/controller/UmsAdminController.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/controller/UmsMemberLevelController.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/controller/UmsPermissionController.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/controller/UmsRoleController.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/dao/CmsPrefrenceAreaProductRelationDao.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/dao/CmsSubjectProductRelationDao.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/dao/OmsOrderDao.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/dao/OmsOrderOperateHistoryDao.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/dao/OmsOrderReturnApplyDao.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/dao/PmsMemberPriceDao.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/dao/PmsProductAttributeCategoryDao.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/dao/PmsProductAttributeDao.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/dao/PmsProductAttributeValueDao.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/dao/PmsProductCategoryAttributeRelationDao.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/dao/PmsProductCategoryDao.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/dao/PmsProductDao.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/dao/PmsProductFullReductionDao.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/dao/PmsProductLadderDao.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/dao/PmsProductVertifyRecordDao.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/dao/PmsSkuStockDao.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/dao/SmsCouponDao.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/dao/SmsCouponProductCategoryRelationDao.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/dao/SmsCouponProductRelationDao.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/dao/SmsFlashPromotionProductRelationDao.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/dao/UmsAdminPermissionRelationDao.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/dao/UmsAdminRoleRelationDao.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/dao/UmsRolePermissionRelationDao.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/dto/CommonResult.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/dto/OmsMoneyInfoParam.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/dto/OmsOrderDeliveryParam.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/dto/OmsOrderDetail.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/dto/OmsOrderQueryParam.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/dto/OmsOrderReturnApplyResult.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/dto/OmsReceiverInfoParam.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/dto/OmsReturnApplyQueryParam.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/dto/OmsUpdateStatusParam.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/dto/OssCallbackParam.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/dto/OssCallbackResult.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/dto/OssPolicyResult.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/dto/PmsBrandParam.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/dto/PmsProductAttributeCategoryItem.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/dto/PmsProductAttributeParam.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/dto/PmsProductCategoryParam.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/dto/PmsProductCategoryWithChildrenItem.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/dto/PmsProductParam.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/dto/PmsProductQueryParam.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/dto/PmsProductResult.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/dto/ProductAttrInfo.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/dto/SmsCouponParam.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/dto/SmsFlashPromotionProduct.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/dto/SmsFlashPromotionSessionDetail.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/dto/UmsAdminLoginParam.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/dto/UmsAdminParam.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/dto/UmsPermissionNode.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/service/CmsPrefrenceAreaService.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/service/CmsSubjectService.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/service/OmsCompanyAddressService.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/service/OmsOrderReturnApplyService.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/service/OmsOrderReturnReasonService.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/service/OmsOrderService.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/service/OmsOrderSettingService.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/service/OssService.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/service/PmsBrandService.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/service/PmsProductAttributeCategoryService.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/service/PmsProductAttributeService.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/service/PmsProductCategoryService.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/service/PmsProductService.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/service/PmsSkuStockService.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/service/SmsCoupnHistoryService.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/service/SmsCouponService.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/service/SmsFlashPromotionProductRelationService.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/service/SmsFlashPromotionService.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/service/SmsFlashPromotionSessionService.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/service/SmsHomeAdvertiseService.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/service/SmsHomeBrandService.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/service/SmsHomeNewProductService.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/service/SmsHomeRecommendProductService.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/service/SmsHomeRecommendSubjectService.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/service/UmsAdminService.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/service/UmsMemberLevelService.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/service/UmsPermissionService.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/service/UmsRoleService.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/service/impl/CmsPrefrenceAreaService.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/service/impl/CmsSubjectService.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/service/impl/OmsCompanyAddressService.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/service/impl/OmsOrderReturnApplyService.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/service/impl/OmsOrderReturnReasonService.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/service/impl/OmsOrderService.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/service/impl/OmsOrderSettingService.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/service/impl/OssService.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/service/impl/PmsBrandServiceImpl.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/service/impl/PmsProductAttributeCategoryServiceImpl.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/service/impl/PmsProductAttributeServiceImpl.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/service/impl/PmsProductCategoryServiceImpl.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/service/impl/PmsProductServiceImpl.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/service/impl/PmsSkuStockServiceImpl.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/service/impl/SmsCouponHistoryServiceImpl.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/service/impl/SmsCouponServiceImpl.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/service/impl/SmsFlashPromotionProductRelationServiceImpl.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/service/impl/SmsFlashPromotionServiceImpl.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/service/impl/SmsFlashPromotionSessionServiceImpl.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/service/impl/SmsHomeAdvertiseServiceImpl.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/service/impl/SmsHomeBrandServiceImpl.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/service/impl/SmsHomeNewProductServiceImpl.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/service/impl/SmsHomeRecommendProductServiceImpl.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/service/impl/SmsHomeRecommendSubjectServiceImpl.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/service/impl/UmsAdminServiceImpl.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/service/impl/UmsMemberLevelServiceImpl.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/service/impl/UmsPermissionServiceImpl.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/service/impl/UmsRoleServiceImpl.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/util/JsonUtil.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/util/JwtTokenUtil.java
delete mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/util/RequestUtil.java
create mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/validator/FlagValidator.java
create mode 100644 代码库/mall-admin/src/main/java/com/sock/mall/validator/FlagValidatorClass.java
create mode 100644 代码库/mall-admin/target/classes/META-INF/maven/com.macro.mall/mall-admin/pom.properties
create mode 100644 代码库/mall-admin/target/classes/META-INF/maven/com.macro.mall/mall-admin/pom.xml
create mode 100644 代码库/mall-admin/target/classes/application-dev.properties
create mode 100644 代码库/mall-admin/target/classes/application-prod.properties
create mode 100644 代码库/mall-admin/target/classes/application-read.properties
create mode 100644 代码库/mall-admin/target/classes/application.properties
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/MallAdminApplication.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/bo/AdminUserDetails.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/bo/WebLog.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/component/BindingResultAspect.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/component/JwtAuthenticationTokenFilter.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/component/RestAuthenticationEntryPoint.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/component/RestfulAccessDeniedHandler.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/component/WebLogAspect.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/config/OssConfig.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/config/SecurityConfig.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/config/Swagger2Config.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/controller/CmsPrefrenceAreaController.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/controller/CmsSubjectController.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/controller/OmsCompanyAddressController.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/controller/OmsOrderController.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/controller/OmsOrderReturnApplyController.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/controller/OmsOrderReturnReasonController.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/controller/OmsOrderSettingController.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/controller/OssController.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/controller/PmsBrandController.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/controller/PmsProductAttributeCategoryController.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/controller/PmsProductAttributeController.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/controller/PmsProductCategoryController.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/controller/PmsProductController.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/controller/PmsSkuStockController.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/controller/SmsCouponController.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/controller/SmsCouponHistoryController.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/controller/SmsFlashPromotionController.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/controller/SmsFlashPromotionProductRelationController.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/controller/SmsFlashPromotionSessionController.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/controller/SmsHomeAdvertiseController.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/controller/SmsHomeBrandController.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/controller/SmsHomeNewProductController.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/controller/SmsHomeRecommendProductController.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/controller/SmsHomeRecommendSubjectController.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/controller/UmsAdminController.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/controller/UmsMemberLevelController.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/controller/UmsPermissionController.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/controller/UmsRoleController.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/dao/CmsPrefrenceAreaProductRelationDao.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/dao/CmsSubjectProductRelationDao.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/dao/OmsOrderDao.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/dao/OmsOrderOperateHistoryDao.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/dao/OmsOrderReturnApplyDao.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/dao/PmsMemberPriceDao.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/dao/PmsProductAttributeCategoryDao.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/dao/PmsProductAttributeDao.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/dao/PmsProductAttributeValueDao.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/dao/PmsProductCategoryAttributeRelationDao.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/dao/PmsProductCategoryDao.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/dao/PmsProductDao.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/dao/PmsProductFullReductionDao.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/dao/PmsProductLadderDao.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/dao/PmsProductVertifyRecordDao.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/dao/PmsSkuStockDao.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/dao/SmsCouponDao.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/dao/SmsCouponProductCategoryRelationDao.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/dao/SmsCouponProductRelationDao.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/dao/SmsFlashPromotionProductRelationDao.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/dao/UmsAdminPermissionRelationDao.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/dao/UmsAdminRoleRelationDao.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/dao/UmsRolePermissionRelationDao.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/dto/CommonResult.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/dto/OmsMoneyInfoParam.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/dto/OmsOrderDeliveryParam.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/dto/OmsOrderDetail.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/dto/OmsOrderQueryParam.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/dto/OmsOrderReturnApplyResult.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/dto/OmsReceiverInfoParam.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/dto/OmsReturnApplyQueryParam.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/dto/OmsUpdateStatusParam.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/dto/OssCallbackParam.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/dto/OssCallbackResult.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/dto/OssPolicyResult.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/dto/PmsBrandParam.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/dto/PmsProductAttributeCategoryItem.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/dto/PmsProductAttributeParam.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/dto/PmsProductCategoryParam.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/dto/PmsProductCategoryWithChildrenItem.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/dto/PmsProductParam.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/dto/PmsProductQueryParam.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/dto/PmsProductResult.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/dto/ProductAttrInfo.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/dto/SmsCouponParam.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/dto/SmsFlashPromotionProduct.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/dto/SmsFlashPromotionSessionDetail.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/dto/UmsAdminLoginParam.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/dto/UmsAdminParam.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/dto/UmsPermissionNode.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/service/CmsPrefrenceAreaService.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/service/CmsSubjectService.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/service/OmsCompanyAddressService.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/service/OmsOrderReturnApplyService.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/service/OmsOrderReturnReasonService.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/service/OmsOrderService.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/service/OmsOrderSettingService.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/service/OssService.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/service/PmsBrandService.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/service/PmsProductAttributeCategoryService.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/service/PmsProductAttributeService.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/service/PmsProductCategoryService.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/service/PmsProductService.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/service/PmsSkuStockService.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/service/SmsCouponHistoryService.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/service/SmsCouponService.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/service/SmsFlashPromotionProductRelationService.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/service/SmsFlashPromotionService.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/service/SmsFlashPromotionSessionService.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/service/SmsHomeAdvertiseService.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/service/SmsHomeBrandService.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/service/SmsHomeNewProductService.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/service/SmsHomeRecommendProductService.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/service/SmsHomeRecommendSubjectService.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/service/UmsAdminService.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/service/UmsMemberLevelService.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/service/UmsPermissionService.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/service/UmsRoleService.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/service/impl/CmsPrefrenceAreaServiceImpl.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/service/impl/CmsSubjectServiceImpl.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/service/impl/OmsCompanyAddressServiceImpl.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/service/impl/OmsOrderReturnApplyServiceImpl.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/service/impl/OmsOrderReturnReasonServiceImpl.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/service/impl/OmsOrderServiceImpl.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/service/impl/OmsOrderSettingServiceImpl.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/service/impl/OssServiceImpl.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/service/impl/PmsBrandServiceImpl.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/service/impl/PmsProductAttributeCategoryServiceImpl.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/service/impl/PmsProductAttributeServiceImpl.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/service/impl/PmsProductCategoryServiceImpl.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/service/impl/PmsProductServiceImpl.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/service/impl/PmsSkuStockServiceImpl.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/service/impl/SmsCouponHistoryServiceImpl.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/service/impl/SmsCouponServiceImpl.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/service/impl/SmsFlashPromotionProductRelationServiceImpl.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/service/impl/SmsFlashPromotionServiceImpl.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/service/impl/SmsFlashPromotionSessionServiceImpl.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/service/impl/SmsHomeAdvertiseServiceImpl.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/service/impl/SmsHomeBrandServiceImpl.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/service/impl/SmsHomeNewProductServiceImpl.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/service/impl/SmsHomeRecommendProductServiceImpl.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/service/impl/SmsHomeRecommendSubjectServiceImpl.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/service/impl/UmsAdminServiceImpl.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/service/impl/UmsMemberLevelServiceImpl.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/service/impl/UmsPermissionServiceImpl.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/service/impl/UmsRoleServiceImpl.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/util/JsonUtil.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/util/JwtTokenUtil.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/util/RequestUtil.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/validator/FlagValidator.class
create mode 100644 代码库/mall-admin/target/classes/com/macro/mall/validator/FlagValidatorClass.class
create mode 100644 代码库/mall-admin/target/classes/dao/CmsPrefrenceAreaProductRelationDao.xml
create mode 100644 代码库/mall-admin/target/classes/dao/CmsSubjectProductRelationDao.xml
create mode 100644 代码库/mall-admin/target/classes/dao/OmsOrderDao.xml
create mode 100644 代码库/mall-admin/target/classes/dao/OmsOrderOperateHistoryDao.xml
create mode 100644 代码库/mall-admin/target/classes/dao/OmsOrderReturnApplyDao.xml
create mode 100644 代码库/mall-admin/target/classes/dao/PmsMemberPriceDao.xml
create mode 100644 代码库/mall-admin/target/classes/dao/PmsProductAttributeCategoryDao.xml
create mode 100644 代码库/mall-admin/target/classes/dao/PmsProductAttributeDao.xml
create mode 100644 代码库/mall-admin/target/classes/dao/PmsProductAttributeValueDao.xml
create mode 100644 代码库/mall-admin/target/classes/dao/PmsProductCategoryAttributeRelationDao.xml
create mode 100644 代码库/mall-admin/target/classes/dao/PmsProductCategoryDao.xml
create mode 100644 代码库/mall-admin/target/classes/dao/PmsProductDao.xml
create mode 100644 代码库/mall-admin/target/classes/dao/PmsProductFullReductionDao.xml
create mode 100644 代码库/mall-admin/target/classes/dao/PmsProductLadderDao.xml
create mode 100644 代码库/mall-admin/target/classes/dao/PmsProductVertifyRecordDao.xml
create mode 100644 代码库/mall-admin/target/classes/dao/PmsSkuStockDao.xml
create mode 100644 代码库/mall-admin/target/classes/dao/SmsCouponDao.xml
create mode 100644 代码库/mall-admin/target/classes/dao/SmsCouponProductCategoryRelationDao.xml
create mode 100644 代码库/mall-admin/target/classes/dao/SmsCouponProductRelationDao.xml
create mode 100644 代码库/mall-admin/target/classes/dao/SmsFlashPromotionProductRelationDao.xml
create mode 100644 代码库/mall-admin/target/classes/dao/UmsAdminPermissionRelationDao.xml
create mode 100644 代码库/mall-admin/target/classes/dao/UmsAdminRoleRelationDao.xml
create mode 100644 代码库/mall-admin/target/classes/dao/UmsRolePermissionRelationDao.xml
create mode 100644 代码库/mall-admin/target/classes/logback-spring.xml
diff --git a/代码库/mall-admin/.classpath b/代码库/mall-admin/.classpath
new file mode 100644
index 0000000..6d7587a
--- /dev/null
+++ b/代码库/mall-admin/.classpath
@@ -0,0 +1,31 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/代码库/mall-admin/.project b/代码库/mall-admin/.project
new file mode 100644
index 0000000..110f5e6
--- /dev/null
+++ b/代码库/mall-admin/.project
@@ -0,0 +1,40 @@
+
+
+ mall-admin
+
+
+
+
+
+ org.eclipse.wst.common.project.facet.core.builder
+
+
+
+
+ org.eclipse.jdt.core.javabuilder
+
+
+
+
+ org.eclipse.m2e.core.maven2Builder
+
+
+
+
+ org.springframework.ide.eclipse.core.springbuilder
+
+
+
+
+ org.springframework.ide.eclipse.boot.validation.springbootbuilder
+
+
+
+
+
+ org.springframework.ide.eclipse.core.springnature
+ org.eclipse.jdt.core.javanature
+ org.eclipse.m2e.core.maven2Nature
+ org.eclipse.wst.common.project.facet.core.nature
+
+
diff --git a/代码库/mall-admin/.settings/org.eclipse.jdt.core.prefs b/代码库/mall-admin/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 0000000..714351a
--- /dev/null
+++ b/代码库/mall-admin/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,5 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
+org.eclipse.jdt.core.compiler.compliance=1.8
+org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
+org.eclipse.jdt.core.compiler.source=1.8
diff --git a/代码库/mall-admin/.settings/org.eclipse.m2e.core.prefs b/代码库/mall-admin/.settings/org.eclipse.m2e.core.prefs
new file mode 100644
index 0000000..f897a7f
--- /dev/null
+++ b/代码库/mall-admin/.settings/org.eclipse.m2e.core.prefs
@@ -0,0 +1,4 @@
+activeProfiles=
+eclipse.preferences.version=1
+resolveWorkspaceProjects=true
+version=1
diff --git a/代码库/mall-admin/.settings/org.eclipse.wst.common.project.facet.core.xml b/代码库/mall-admin/.settings/org.eclipse.wst.common.project.facet.core.xml
new file mode 100644
index 0000000..d858295
--- /dev/null
+++ b/代码库/mall-admin/.settings/org.eclipse.wst.common.project.facet.core.xml
@@ -0,0 +1,4 @@
+
+
+
+
diff --git a/代码库/mall-admin/pom.xml b/代码库/mall-admin/pom.xml
new file mode 100644
index 0000000..fbc0e4b
--- /dev/null
+++ b/代码库/mall-admin/pom.xml
@@ -0,0 +1,142 @@
+
+ 4.0.0
+
+ com.macro.mall
+ mall-admin
+ 0.0.1-SNAPSHOT
+ jar
+
+ mall-admin
+ mall-admin project for mall
+
+
+ org.springframework.boot
+ spring-boot-starter-parent
+ 1.5.14.RELEASE
+
+
+
+
+ UTF-8
+ UTF-8
+ 1.8
+ true
+
+
+
+
+ com.macro.mall
+ mall-mbg
+ 1.0-SNAPSHOT
+
+
+ org.springframework.boot
+ spring-boot-starter-web
+
+
+ org.springframework.boot
+ spring-boot-starter-security
+
+
+ org.mybatis.spring.boot
+ mybatis-spring-boot-starter
+ 1.2.0
+
+
+ org.springframework.boot
+ spring-boot-starter-actuator
+
+
+ org.springframework.boot
+ spring-boot-starter-test
+ test
+
+
+ org.springframework.boot
+ spring-boot-starter-aop
+
+
+
+ com.github.pagehelper
+ pagehelper-spring-boot-starter
+ 1.2.3
+
+
+
+ io.springfox
+ springfox-swagger2
+ 2.6.1
+
+
+ io.springfox
+ springfox-swagger-ui
+ 2.6.1
+
+
+
+ io.jsonwebtoken
+ jjwt
+ 0.9.0
+
+
+
+ com.aliyun.oss
+ aliyun-sdk-oss
+ 2.5.0
+
+
+
+ net.logstash.logback
+ logstash-logback-encoder
+ 4.8
+
+
+
+ com.alibaba
+ druid-spring-boot-starter
+ 1.1.10
+
+
+
+ org.projectlombok
+ lombok
+ true
+
+
+
+
+
+ org.springframework.boot
+ spring-boot-maven-plugin
+
+
+ com.spotify
+ docker-maven-plugin
+ 1.1.0
+
+
+ build-image
+ package
+
+ build
+
+
+
+
+ mall/${project.artifactId}:${project.version}
+ http://192.168.1.71:2375
+ java:8
+ ["java", "-jar", "-Dspring.profiles.active=prod","/${project.build.finalName}.jar"]
+
+
+ /
+ ${project.build.directory}
+ ${project.build.finalName}.jar
+
+
+
+
+
+
+
diff --git a/代码库/mall-admin/src/main/java/com/sock/mall/MallAdminApplication.java b/代码库/mall-admin/src/main/java/com/sock/mall/MallAdminApplication.java
new file mode 100644
index 0000000..74cd3ee
--- /dev/null
+++ b/代码库/mall-admin/src/main/java/com/sock/mall/MallAdminApplication.java
@@ -0,0 +1,18 @@
+package com.macro.mall;
+
+import org.mybatis.spring.annotation.MapperScan;
+import org.springframework.boot.SpringApplication;
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+import org.springframework.transaction.annotation.EnableTransactionManagement;
+
+/**
+ * Ӧ
+ */
+@SpringBootApplication
+@MapperScan({"com.macro.mall.mapper","com.macro.mall.dao"})
+@EnableTransactionManagement
+public class MallAdminApplication {
+ public static void main(String[] args) {
+ SpringApplication.run(MallAdminApplication.class, args);
+ }
+}
\ No newline at end of file
diff --git a/代码库/mall-admin/src/main/java/com/sock/mall/bo/AdminUserDetails.java b/代码库/mall-admin/src/main/java/com/sock/mall/bo/AdminUserDetails.java
deleted file mode 100644
index 3e6a5ac..0000000
--- a/代码库/mall-admin/src/main/java/com/sock/mall/bo/AdminUserDetails.java
+++ /dev/null
@@ -1 +0,0 @@
-package com.sock.mall.bo;
import com.sock.mall.model.UmsAdmin;
import com.sock.mall.model.UmsPermission;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.authority.SimpleGrantedAuthority;
import org.springframework.security.core.userdetails.UserDetails;
import java.util.Collection;
import java.util.List;
import java.util.stream.Collectors;
/**
* SpringSecurity需要的用户详情
*/
public class AdminUserDetails implements UserDetails {
private UmsAdmin umsAdmin;
private List permissionList;
public AdminUserDetails(UmsAdmin umsAdmin,List permissionList) {
this.umsAdmin = umsAdmin;
this.permissionList = permissionList;
}
@Override
public Collection extends GrantedAuthority> getAuthorities() {
//返回当前用户的权限
return permissionList.stream()
.filter(permission -> permission.getValue()!=null)
.map(permission ->new SimpleGrantedAuthority(permission.getValue()))
.collect(Collectors.toList());
}
@Override
/*登录密码*/
public String getPassword() {
return umsAdmin.getPassword();
}
@Override
/*登录名称*/
public String getUsername() {
return umsAdmin.getUsername();
}
@Override
/*有效性验证(是否过期)*/
public boolean isAccountNonExpired() {
return true;
}
@Override
/*有效性验证(是否被锁)*/
public boolean isAccountNonLocked() {
return true;
}
@Override
/*验证证书是否有效*/
public boolean isCredentialsNonExpired() {
return true;
}
@Override
/*状态判断890-*/
public boolean isEnabled() {
return umsAdmin.getStatus().equals(1);
}
}
\ No newline at end of file
diff --git a/代码库/mall-admin/src/main/java/com/sock/mall/bo/WebLog.java b/代码库/mall-admin/src/main/java/com/sock/mall/bo/WebLog.java
deleted file mode 100644
index f36df97..0000000
--- a/代码库/mall-admin/src/main/java/com/sock/mall/bo/WebLog.java
+++ /dev/null
@@ -1 +0,0 @@
-package com.sock.mall.bo;
/**
* Controller层的日志封装类
*/
public class WebLog {
/**
* 操作描述
*/
private String description;
/**
* 操作用户
*/
private String username;
/**
* 操作时间
*/
private Long startTime;
/**
* 消耗时间
*/
private Integer spendTime;
/**
* 根路径
*/
private String basePath;
/**
* URI
*/
private String uri;
/**
* URL
*/
private String url;
/**
* 请求类型
*/
private String method;
/**
* IP地址
*/
private String ip;
private Object parameter;
private Object result;
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public String getUsername() {
return username;
}
public void setUsername(String username) {
this.username = username;
}
public Long getStartTime() {
return startTime;
}
public void setStartTime(Long startTime) {
this.startTime = startTime;
}
public Integer getSpendTime() {
return spendTime;
}
public void setSpendTime(Integer spendTime) {
this.spendTime = spendTime;
}
public String getBasePath() {
return basePath;
}
public void setBasePath(String basePath) {
this.basePath = basePath;
}
public String getUri() {
return uri;
}
public void setUri(String uri) {
this.uri = uri;
}
public String getUrl() {
return url;
}
public void setUrl(String url) {
this.url = url;
}
public String getMethod() {
return method;
}
public void setMethod(String method) {
this.method = method;
}
public String getIp() {
return ip;
}
public void setIp(String ip) {
this.ip = ip;
}
public Object getParameter() {
return parameter;
}
public void setParameter(Object parameter) {
this.parameter = parameter;
}
public Object getResult() {
return result;
}
public void setResult(Object result) {
this.result = result;
}
}
\ No newline at end of file
diff --git a/代码库/mall-admin/src/main/java/com/sock/mall/component/BIndingResultAspect.java b/代码库/mall-admin/src/main/java/com/sock/mall/component/BIndingResultAspect.java
deleted file mode 100644
index 8ec4dc3..0000000
--- a/代码库/mall-admin/src/main/java/com/sock/mall/component/BIndingResultAspect.java
+++ /dev/null
@@ -1,43 +0,0 @@
-package com.macro.mall.component;
-
-import com.macro.mall.dto.CommonResult;
-import org.aspectj.lang.ProceedingJoinPoint;
-import org.aspectj.lang.annotation.Around;
-import org.aspectj.lang.annotation.Aspect;
-import org.aspectj.lang.annotation.Pointcut;
-import org.springframework.core.annotation.Order;
-import org.springframework.stereotype.Component;
-import org.springframework.validation.BindingResult;
-
-/**
- * HibernateValidator
- */
-@Aspect
-@Component
-@Order(2)
-public class BindingResultAspect {
- @Pointcut("execution(public * com.macro.mall.controller.*.*(..))")
- /*SpringMVCIJ֤*/
- /*Spring֤ĴBindingResult*/
- public void BindingResult() {
- }
-
- @Around("BindingResult()")
- public Object doAround(ProceedingJoinPoint joinPoint) throws Throwable {
- /*Around(value="BindingResult()"*/
- Object[] args = joinPoint.getArgs();
- for (Object arg : args) {
- if (arg instanceof BindingResult) {
- /*֤ͨ*/
- BindingResult result = (BindingResult) arg;
- if (result.hasErrors()) {
- /*ݲ*/
- return new CommonResult().validateFailed(result);
- /* ֤ͨ쳣*/
- /*شļϢ*/
- }
- }
- }
- return joinPoint.proceed();//AOPл֪ͨproceed
- }
-}
diff --git a/代码库/mall-admin/src/main/java/com/sock/mall/component/JwtAuthenticationTokenFilter.java b/代码库/mall-admin/src/main/java/com/sock/mall/component/JwtAuthenticationTokenFilter.java
deleted file mode 100644
index 67c1408..0000000
--- a/代码库/mall-admin/src/main/java/com/sock/mall/component/JwtAuthenticationTokenFilter.java
+++ /dev/null
@@ -1,60 +0,0 @@
-package com.macro.mall.component;
-
-import com.macro.mall.util.JwtTokenUtil;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.beans.factory.annotation.Value;
-import org.springframework.security.authentication.UsernamePasswordAuthenticationToken;
-import org.springframework.security.core.context.SecurityContextHolder;
-import org.springframework.security.core.userdetails.UserDetails;
-import org.springframework.security.core.userdetails.UserDetailsService;
-import org.springframework.security.web.authentication.WebAuthenticationDetailsSource;
-import org.springframework.stereotype.Component;
-import org.springframework.web.filter.OncePerRequestFilter;
-
-import javax.servlet.FilterChain;
-import javax.servlet.ServletException;
-import javax.servlet.http.HttpServletRequest;
-import javax.servlet.http.HttpServletResponse;
-import java.io.IOException;
-
-/**
- * JWT¼Ȩ
- */
-public class JwtAuthenticationTokenFilter extends OncePerRequestFilter {
- private static final Logger LOGGER = LoggerFactory.getLogger(JwtAuthenticationTokenFilter.class);
- /*Log4jUtils࣬LoggerIJ*/
- @Autowired
- private UserDetailsService userDetailsService;//ûϸϢ
- @Autowired
- private JwtTokenUtil jwtTokenUtil;//jwt¼Ȩ
- @Value("${jwt.tokenHeader}")
- private String tokenHeader;//¼ͷ
- @Value("${jwt.tokenHead}")
- private String tokenHead;
-
- @Override
- protected void doFilterInternal(HttpServletRequest request,
- HttpServletResponse response,
- FilterChain chain) throws ServletException, IOException {
- /*Filterʵֹ˹*/
- String authHeader = request.getHeader(this.tokenHeader);
- if (authHeader != null && authHeader.startsWith(this.tokenHead)) {
- String authToken = authHeader.substring(this.tokenHead.length());// The part after "Bearer "
- String username = jwtTokenUtil.getUserNameFromToken(authToken);
- LOGGER.info("checking username:{}", username);
- if (username != null && SecurityContextHolder.getContext().getAuthentication() == null) {
- UserDetails userDetails = this.userDetailsService.loadUserByUsername(username);
- if (jwtTokenUtil.validateToken(authToken, userDetails)) {
- /*֤ϢSecurityContextHolderУUsernamePasswordAuthenticationTokenSecurity֤˺Ĺ*/
- UsernamePasswordAuthenticationToken authentication = new UsernamePasswordAuthenticationToken(userDetails, null, userDetails.getAuthorities());
- authentication.setDetails(new WebAuthenticationDetailsSource().buildDetails(request));
- LOGGER.info("authenticated user:{}", username);
- SecurityContextHolder.getContext().setAuthentication(authentication);
- }
- }
- }
- chain.doFilter(request, response);//תһ
- }
-}
\ No newline at end of file
diff --git a/代码库/mall-admin/src/main/java/com/sock/mall/component/RestAuthenticationEntryPoint.java b/代码库/mall-admin/src/main/java/com/sock/mall/component/RestAuthenticationEntryPoint.java
deleted file mode 100644
index 148d3ef..0000000
--- a/代码库/mall-admin/src/main/java/com/sock/mall/component/RestAuthenticationEntryPoint.java
+++ /dev/null
@@ -1,26 +0,0 @@
-package com.macro.mall.component;
-
-import com.macro.mall.dto.CommonResult;
-import com.macro.mall.util.JsonUtil;
-import org.springframework.security.core.AuthenticationException;
-import org.springframework.security.web.AuthenticationEntryPoint;
-import org.springframework.stereotype.Component;
-
-import javax.servlet.ServletException;
-import javax.servlet.http.HttpServletRequest;
-import javax.servlet.http.HttpServletResponse;
-import java.io.IOException;
-
-/**
- * δ¼tokenʧЧʽӿʱԶķؽ
- */
-@Component
-public class RestAuthenticationEntryPoint implements AuthenticationEntryPoint {//
- @Override
- public void commence(HttpServletRequest request, HttpServletResponse response, AuthenticationException authException) throws IOException, ServletException {
- response.setCharacterEncoding("UTF-8");
- response.setContentType("application/json");
- response.getWriter().println(JsonUtil.objectToJson(new CommonResult().unauthorized(authException.getMessage())));
- response.getWriter().flush();
- }
-}
\ No newline at end of file
diff --git a/代码库/mall-admin/src/main/java/com/sock/mall/component/RestfulAccessDeniedHandler.java b/代码库/mall-admin/src/main/java/com/sock/mall/component/RestfulAccessDeniedHandler.java
deleted file mode 100644
index be45726..0000000
--- a/代码库/mall-admin/src/main/java/com/sock/mall/component/RestfulAccessDeniedHandler.java
+++ /dev/null
@@ -1,28 +0,0 @@
-package com.macro.mall.component;
-
-import com.macro.mall.dto.CommonResult;
-import com.macro.mall.util.JsonUtil;
-import org.springframework.security.access.AccessDeniedException;
-import org.springframework.security.web.access.AccessDeniedHandler;
-import org.springframework.stereotype.Component;
-
-import javax.servlet.ServletException;
-import javax.servlet.http.HttpServletRequest;
-import javax.servlet.http.HttpServletResponse;
-import java.io.IOException;
-
-/**
- * ʽӿûȨʱԶķؽ
- */
-@Component
-public class RestfulAccessDeniedHandler implements AccessDeniedHandler{//ûзȨ
- @Override
- public void handle(HttpServletRequest request,
- HttpServletResponse response,
- AccessDeniedException e) throws IOException, ServletException {
- response.setCharacterEncoding("UTF-8");
- response.setContentType("application/json");
- response.getWriter().println(JsonUtil.objectToJson(new CommonResult().forbidden(e.getMessage())));
- response.getWriter().flush();
- }
-}
\ No newline at end of file
diff --git a/代码库/mall-admin/src/main/java/com/sock/mall/component/WebLogAspect.java b/代码库/mall-admin/src/main/java/com/sock/mall/component/WebLogAspect.java
deleted file mode 100644
index 360d514..0000000
--- a/代码库/mall-admin/src/main/java/com/sock/mall/component/WebLogAspect.java
+++ /dev/null
@@ -1,127 +0,0 @@
-package com.macro.mall.component;
-
-import com.macro.mall.bo.WebLog;
-import com.macro.mall.util.JsonUtil;
-import com.macro.mall.util.RequestUtil;
-import io.swagger.annotations.ApiOperation;
-import net.logstash.logback.marker.Markers;
-import org.aspectj.lang.JoinPoint;
-import org.aspectj.lang.ProceedingJoinPoint;
-import org.aspectj.lang.Signature;
-import org.aspectj.lang.annotation.*;
-import org.aspectj.lang.reflect.MethodSignature;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-import org.springframework.core.annotation.Order;
-import org.springframework.stereotype.Component;
-import org.springframework.util.StringUtils;
-import org.springframework.web.bind.annotation.RequestBody;
-import org.springframework.web.bind.annotation.RequestParam;
-import org.springframework.web.context.request.RequestContextHolder;
-import org.springframework.web.context.request.ServletRequestAttributes;
-
-import javax.servlet.http.HttpServletRequest;
-import java.lang.reflect.Method;
-import java.lang.reflect.Parameter;
-import java.util.ArrayList;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-
-/**
- * ͳһ־
- */
-@Aspect//javaඨΪ
-@Component
-@Order(1)
-public class WebLogAspect {
- private static final Logger LOGGER = LoggerFactory.getLogger(WebLogAspect.class);
- private ThreadLocal startTime = new ThreadLocal<>();
- /**
- * һ
- * ~һ*ηֵⷵ
- * ~ڶ*controllerӰ
- * ~*ⷽ
- * ~..ƥIJ
- */
-
- @Pointcut("execution(public * com.macro.mall.controller.*.*(..))")
- public void webLog() {
- }
-
- @Before("webLog()")
- public void doBefore(JoinPoint joinPoint) throws Throwable {
- startTime.set(System.currentTimeMillis());
- }
-
- @AfterReturning(value = "webLog()", returning = "ret")
- public void doAfterReturning(Object ret) throws Throwable {
- }
-
- @Around("webLog()")
- public Object doAround(ProceedingJoinPoint joinPoint) throws Throwable {
- //ȡǰ
- ServletRequestAttributes attributes = (ServletRequestAttributes) RequestContextHolder.getRequestAttributes();
- HttpServletRequest request = attributes.getRequest();
- //¼Ϣ(ͨlogstashelasticsearch)
- WebLog webLog = new WebLog();
- Object result = joinPoint.proceed();
- Signature signature = joinPoint.getSignature();
- MethodSignature methodSignature = (MethodSignature) signature;
- Method method = methodSignature.getMethod();
- if (method.isAnnotationPresent(ApiOperation.class)) {
- ApiOperation log = method.getAnnotation(ApiOperation.class);
- webLog.setDescription(log.value());
- }
- long endTime = System.currentTimeMillis();
- webLog.setBasePath(RequestUtil.getBasePath(request));
- webLog.setIp(request.getRemoteUser());
- webLog.setMethod(request.getMethod());
- webLog.setParameter(getParameter(method, joinPoint.getArgs()));
- webLog.setResult(result);
- webLog.setSpendTime((int) (endTime - startTime.get()));
- webLog.setStartTime(startTime.get());
- webLog.setUri(request.getRequestURI());
- webLog.setUrl(request.getRequestURL().toString());
- Map logMap = new HashMap<>();
- logMap.put("url",webLog.getUrl());
- logMap.put("method",webLog.getMethod());
- logMap.put("parameter",webLog.getParameter());
- logMap.put("spendTime",webLog.getSpendTime());
- logMap.put("description",webLog.getDescription());
- // LOGGER.info("{}", JsonUtil.objectToJson(webLog));
- LOGGER.info(Markers.appendEntries(logMap),JsonUtil.objectToJson(webLog));
- return result;//
- }
-
- /**
- * ݷʹIJȡ
- */
- private Object getParameter(Method method, Object[] args) {
- List