Commit f603ca62 authored by zhh's avatar zhh
Browse files

注释信息完善

parent a41633a9
...@@ -6,6 +6,7 @@ import org.springframework.boot.autoconfigure.SpringBootApplication; ...@@ -6,6 +6,7 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
/** /**
* 应用启动入口 * 应用启动入口
* Created by macro on 2018/4/26.
*/ */
@SpringBootApplication @SpringBootApplication
@MapperScan({"com.macro.mall.mapper","com.macro.mall.dao"}) @MapperScan({"com.macro.mall.mapper","com.macro.mall.dao"})
......
...@@ -10,6 +10,7 @@ import java.util.Collection; ...@@ -10,6 +10,7 @@ import java.util.Collection;
/** /**
* SpringSecurity需要的用户详情 * SpringSecurity需要的用户详情
* Created by macro on 2018/4/26.
*/ */
public class AdminUserDetails implements UserDetails { public class AdminUserDetails implements UserDetails {
private UmsAdmin umsAdmin; private UmsAdmin umsAdmin;
......
...@@ -2,6 +2,7 @@ package com.macro.mall.bo; ...@@ -2,6 +2,7 @@ package com.macro.mall.bo;
/** /**
* Controller层的日志封装类 * Controller层的日志封装类
* Created by macro on 2018/4/26.
*/ */
public class WebLog { public class WebLog {
/** /**
......
...@@ -11,6 +11,7 @@ import org.springframework.validation.BindingResult; ...@@ -11,6 +11,7 @@ import org.springframework.validation.BindingResult;
/** /**
* HibernateValidator错误结果处理切面 * HibernateValidator错误结果处理切面
* Created by macro on 2018/4/26.
*/ */
@Aspect @Aspect
@Component @Component
......
...@@ -21,6 +21,7 @@ import java.io.IOException; ...@@ -21,6 +21,7 @@ import java.io.IOException;
/** /**
* JWT登录授权过滤器 * JWT登录授权过滤器
* Created by macro on 2018/4/26.
*/ */
public class JwtAuthenticationTokenFilter extends OncePerRequestFilter { public class JwtAuthenticationTokenFilter extends OncePerRequestFilter {
private static final Logger LOGGER = LoggerFactory.getLogger(JwtAuthenticationTokenFilter.class); private static final Logger LOGGER = LoggerFactory.getLogger(JwtAuthenticationTokenFilter.class);
......
...@@ -13,6 +13,7 @@ import java.io.IOException; ...@@ -13,6 +13,7 @@ import java.io.IOException;
/** /**
* 用于Rest请求是返回自定义错误信息 * 用于Rest请求是返回自定义错误信息
* Created by macro on 2018/4/26.
*/ */
@Component @Component
public class RestfulAccessDeniedHandler implements AccessDeniedHandler{ public class RestfulAccessDeniedHandler implements AccessDeniedHandler{
......
...@@ -26,6 +26,7 @@ import java.util.*; ...@@ -26,6 +26,7 @@ import java.util.*;
/** /**
* 统一日志处理切面 * 统一日志处理切面
* Created by macro on 2018/4/26.
*/ */
@Aspect @Aspect
@Component @Component
......
...@@ -25,6 +25,7 @@ import org.springframework.security.web.authentication.UsernamePasswordAuthentic ...@@ -25,6 +25,7 @@ import org.springframework.security.web.authentication.UsernamePasswordAuthentic
/** /**
* SpringSecurity的配置 * SpringSecurity的配置
* Created by macro on 2018/4/26.
*/ */
@Configuration @Configuration
@EnableWebSecurity @EnableWebSecurity
......
...@@ -12,6 +12,7 @@ import springfox.documentation.swagger2.annotations.EnableSwagger2; ...@@ -12,6 +12,7 @@ import springfox.documentation.swagger2.annotations.EnableSwagger2;
/** /**
* Swagger2API文档的配置 * Swagger2API文档的配置
* Created by macro on 2018/4/26.
*/ */
@Configuration @Configuration
@EnableSwagger2 @EnableSwagger2
......
...@@ -18,6 +18,7 @@ import java.util.List; ...@@ -18,6 +18,7 @@ import java.util.List;
/** /**
* 品牌功能Controller * 品牌功能Controller
* Created by macro on 2018/4/26.
*/ */
@Controller @Controller
@Api(tags = "PmsBrandController",description = "商品品牌管理") @Api(tags = "PmsBrandController",description = "商品品牌管理")
......
...@@ -15,6 +15,7 @@ import java.util.List; ...@@ -15,6 +15,7 @@ import java.util.List;
/** /**
* 商品属性分类Controller * 商品属性分类Controller
* Created by macro on 2018/4/26.
*/ */
@Controller @Controller
@Api(tags = "PmsProductAttributeCategoryController",description = "商品属性分类管理") @Api(tags = "PmsProductAttributeCategoryController",description = "商品属性分类管理")
......
...@@ -19,6 +19,7 @@ import java.util.List; ...@@ -19,6 +19,7 @@ import java.util.List;
/** /**
* 商品属性管理Controller * 商品属性管理Controller
* Created by macro on 2018/4/26.
*/ */
@Controller @Controller
@Api(tags = "PmsProductAttributeController", description = "商品属性管理") @Api(tags = "PmsProductAttributeController", description = "商品属性管理")
......
...@@ -18,6 +18,7 @@ import java.util.List; ...@@ -18,6 +18,7 @@ import java.util.List;
/** /**
* 商品分类模块Controller * 商品分类模块Controller
* Created by macro on 2018/4/26.
*/ */
@Controller @Controller
@Api(tags = "PmsProductCategoryController",description = "商品分类管理") @Api(tags = "PmsProductCategoryController",description = "商品分类管理")
......
...@@ -15,6 +15,7 @@ import org.springframework.web.bind.annotation.ResponseBody; ...@@ -15,6 +15,7 @@ import org.springframework.web.bind.annotation.ResponseBody;
/** /**
* 商品管理Controller * 商品管理Controller
* Created by macro on 2018/4/26.
*/ */
@Controller @Controller
@Api(tags = "PmsProductController", description = "商品管理") @Api(tags = "PmsProductController", description = "商品管理")
......
...@@ -20,6 +20,7 @@ import javax.servlet.http.HttpServletRequest; ...@@ -20,6 +20,7 @@ import javax.servlet.http.HttpServletRequest;
/** /**
* 后台用户管理 * 后台用户管理
* Created by macro on 2018/4/26.
*/ */
@Controller @Controller
@Api(tags = "UmsAdminController", description = "后台用户管理") @Api(tags = "UmsAdminController", description = "后台用户管理")
......
...@@ -16,6 +16,7 @@ import java.util.List; ...@@ -16,6 +16,7 @@ import java.util.List;
/** /**
* 会员等级管理Controller * 会员等级管理Controller
* Created by macro on 2018/4/26.
*/ */
@Controller @Controller
@Api(tags = "UmsMemberLevelController",description = "会员等级管理") @Api(tags = "UmsMemberLevelController",description = "会员等级管理")
......
...@@ -7,6 +7,7 @@ import java.util.List; ...@@ -7,6 +7,7 @@ import java.util.List;
/** /**
* 自定义会员价格Dao * 自定义会员价格Dao
* Created by macro on 2018/4/26.
*/ */
public interface PmsMemberPriceDao { public interface PmsMemberPriceDao {
int insertList(@Param("list") List<PmsMemberPrice> memberPriceList); int insertList(@Param("list") List<PmsMemberPrice> memberPriceList);
......
...@@ -6,7 +6,8 @@ import org.apache.ibatis.annotations.Param; ...@@ -6,7 +6,8 @@ import org.apache.ibatis.annotations.Param;
import java.util.List; import java.util.List;
/** /**
* 商品自定义满减 * 自定义商品满减Dao
* Created by macro on 2018/4/26.
*/ */
public interface PmsProductFullReductionDao { public interface PmsProductFullReductionDao {
int insertList(@Param("list") List<PmsProductFullReduction> productFullReductionList); int insertList(@Param("list") List<PmsProductFullReduction> productFullReductionList);
......
...@@ -7,6 +7,7 @@ import java.util.List; ...@@ -7,6 +7,7 @@ import java.util.List;
/** /**
* 自定义会员阶梯价格Dao * 自定义会员阶梯价格Dao
* Created by macro on 2018/4/26.
*/ */
public interface PmsProductLadderDao { public interface PmsProductLadderDao {
int insertList(@Param("list") List<PmsProductLadder> productLadderList); int insertList(@Param("list") List<PmsProductLadder> productLadderList);
......
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);
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment