Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wwwanlingxiao
mall
Commits
f603ca62
Commit
f603ca62
authored
Apr 26, 2018
by
zhh
Browse files
注释信息完善
parent
a41633a9
Changes
112
Hide whitespace changes
Inline
Side-by-side
mall-admin/src/main/java/com/macro/mall/MallAdminApplication.java
View file @
f603ca62
...
...
@@ -6,6 +6,7 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
/**
* 应用启动入口
* Created by macro on 2018/4/26.
*/
@SpringBootApplication
@MapperScan
({
"com.macro.mall.mapper"
,
"com.macro.mall.dao"
})
...
...
mall-admin/src/main/java/com/macro/mall/bo/AdminUserDetails.java
View file @
f603ca62
...
...
@@ -10,6 +10,7 @@ import java.util.Collection;
/**
* SpringSecurity需要的用户详情
* Created by macro on 2018/4/26.
*/
public
class
AdminUserDetails
implements
UserDetails
{
private
UmsAdmin
umsAdmin
;
...
...
mall-admin/src/main/java/com/macro/mall/bo/WebLog.java
View file @
f603ca62
...
...
@@ -2,6 +2,7 @@ package com.macro.mall.bo;
/**
* Controller层的日志封装类
* Created by macro on 2018/4/26.
*/
public
class
WebLog
{
/**
...
...
mall-admin/src/main/java/com/macro/mall/component/BindingResultAspect.java
View file @
f603ca62
...
...
@@ -11,6 +11,7 @@ import org.springframework.validation.BindingResult;
/**
* HibernateValidator错误结果处理切面
* Created by macro on 2018/4/26.
*/
@Aspect
@Component
...
...
mall-admin/src/main/java/com/macro/mall/component/JwtAuthenticationTokenFilter.java
View file @
f603ca62
...
...
@@ -21,6 +21,7 @@ import java.io.IOException;
/**
* JWT登录授权过滤器
* Created by macro on 2018/4/26.
*/
public
class
JwtAuthenticationTokenFilter
extends
OncePerRequestFilter
{
private
static
final
Logger
LOGGER
=
LoggerFactory
.
getLogger
(
JwtAuthenticationTokenFilter
.
class
);
...
...
mall-admin/src/main/java/com/macro/mall/component/RestfulAccessDeniedHandler.java
View file @
f603ca62
...
...
@@ -13,6 +13,7 @@ import java.io.IOException;
/**
* 用于Rest请求是返回自定义错误信息
* Created by macro on 2018/4/26.
*/
@Component
public
class
RestfulAccessDeniedHandler
implements
AccessDeniedHandler
{
...
...
mall-admin/src/main/java/com/macro/mall/component/WebLogAspect.java
View file @
f603ca62
...
...
@@ -26,6 +26,7 @@ import java.util.*;
/**
* 统一日志处理切面
* Created by macro on 2018/4/26.
*/
@Aspect
@Component
...
...
mall-admin/src/main/java/com/macro/mall/config/SecurityConfig.java
View file @
f603ca62
...
...
@@ -25,6 +25,7 @@ import org.springframework.security.web.authentication.UsernamePasswordAuthentic
/**
* SpringSecurity的配置
* Created by macro on 2018/4/26.
*/
@Configuration
@EnableWebSecurity
...
...
mall-admin/src/main/java/com/macro/mall/config/Swagger2Config.java
View file @
f603ca62
...
...
@@ -12,6 +12,7 @@ import springfox.documentation.swagger2.annotations.EnableSwagger2;
/**
* Swagger2API文档的配置
* Created by macro on 2018/4/26.
*/
@Configuration
@EnableSwagger2
...
...
mall-admin/src/main/java/com/macro/mall/controller/PmsBrandController.java
View file @
f603ca62
...
...
@@ -18,6 +18,7 @@ import java.util.List;
/**
* 品牌功能Controller
* Created by macro on 2018/4/26.
*/
@Controller
@Api
(
tags
=
"PmsBrandController"
,
description
=
"商品品牌管理"
)
...
...
mall-admin/src/main/java/com/macro/mall/controller/PmsProductAttributeCategoryController.java
View file @
f603ca62
...
...
@@ -15,6 +15,7 @@ import java.util.List;
/**
* 商品属性分类Controller
* Created by macro on 2018/4/26.
*/
@Controller
@Api
(
tags
=
"PmsProductAttributeCategoryController"
,
description
=
"商品属性分类管理"
)
...
...
mall-admin/src/main/java/com/macro/mall/controller/PmsProductAttributeController.java
View file @
f603ca62
...
...
@@ -19,6 +19,7 @@ import java.util.List;
/**
* 商品属性管理Controller
* Created by macro on 2018/4/26.
*/
@Controller
@Api
(
tags
=
"PmsProductAttributeController"
,
description
=
"商品属性管理"
)
...
...
mall-admin/src/main/java/com/macro/mall/controller/PmsProductCategoryController.java
View file @
f603ca62
...
...
@@ -18,6 +18,7 @@ import java.util.List;
/**
* 商品分类模块Controller
* Created by macro on 2018/4/26.
*/
@Controller
@Api
(
tags
=
"PmsProductCategoryController"
,
description
=
"商品分类管理"
)
...
...
mall-admin/src/main/java/com/macro/mall/controller/PmsProductController.java
View file @
f603ca62
...
...
@@ -15,6 +15,7 @@ import org.springframework.web.bind.annotation.ResponseBody;
/**
* 商品管理Controller
* Created by macro on 2018/4/26.
*/
@Controller
@Api
(
tags
=
"PmsProductController"
,
description
=
"商品管理"
)
...
...
mall-admin/src/main/java/com/macro/mall/controller/UmsAdminController.java
View file @
f603ca62
...
...
@@ -20,6 +20,7 @@ import javax.servlet.http.HttpServletRequest;
/**
* 后台用户管理
* Created by macro on 2018/4/26.
*/
@Controller
@Api
(
tags
=
"UmsAdminController"
,
description
=
"后台用户管理"
)
...
...
mall-admin/src/main/java/com/macro/mall/controller/UmsMemberLevelController.java
View file @
f603ca62
...
...
@@ -16,6 +16,7 @@ import java.util.List;
/**
* 会员等级管理Controller
* Created by macro on 2018/4/26.
*/
@Controller
@Api
(
tags
=
"UmsMemberLevelController"
,
description
=
"会员等级管理"
)
...
...
mall-admin/src/main/java/com/macro/mall/dao/PmsMemberPriceDao.java
View file @
f603ca62
...
...
@@ -7,6 +7,7 @@ import java.util.List;
/**
* 自定义会员价格Dao
* Created by macro on 2018/4/26.
*/
public
interface
PmsMemberPriceDao
{
int
insertList
(
@Param
(
"list"
)
List
<
PmsMemberPrice
>
memberPriceList
);
...
...
mall-admin/src/main/java/com/macro/mall/dao/PmsProductFullReductionDao.java
View file @
f603ca62
...
...
@@ -6,7 +6,8 @@ import org.apache.ibatis.annotations.Param;
import
java.util.List
;
/**
* 商品自定义满减
* 自定义商品满减Dao
* Created by macro on 2018/4/26.
*/
public
interface
PmsProductFullReductionDao
{
int
insertList
(
@Param
(
"list"
)
List
<
PmsProductFullReduction
>
productFullReductionList
);
...
...
mall-admin/src/main/java/com/macro/mall/dao/PmsProductLadderDao.java
View file @
f603ca62
...
...
@@ -7,6 +7,7 @@ import java.util.List;
/**
* 自定义会员阶梯价格Dao
* Created by macro on 2018/4/26.
*/
public
interface
PmsProductLadderDao
{
int
insertList
(
@Param
(
"list"
)
List
<
PmsProductLadder
>
productLadderList
);
...
...
mall-admin/src/main/java/com/macro/mall/dao/PmsSkuStockDao.java
0 → 100644
View file @
f603ca62
package
com.macro.mall.dao
;
import
com.macro.mall.model.PmsSkuStock
;
import
org.apache.ibatis.annotations.Param
;
import
java.util.List
;
/**
* 自定义商品sku库存Dao
* Created by macro on 2018/4/26.
*/
public
interface
PmsSkuStockDao
{
int
insertList
(
@Param
(
"list"
)
List
<
PmsSkuStock
>
skuStockList
);
}
Prev
1
2
3
4
5
6
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment