Commit f603ca62 authored by zhh's avatar zhh
Browse files

注释信息完善

parent a41633a9
......@@ -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"})
......
......@@ -10,6 +10,7 @@ import java.util.Collection;
/**
* SpringSecurity需要的用户详情
* Created by macro on 2018/4/26.
*/
public class AdminUserDetails implements UserDetails {
private UmsAdmin umsAdmin;
......
......@@ -2,6 +2,7 @@ package com.macro.mall.bo;
/**
* Controller层的日志封装类
* Created by macro on 2018/4/26.
*/
public class WebLog {
/**
......
......@@ -11,6 +11,7 @@ import org.springframework.validation.BindingResult;
/**
* HibernateValidator错误结果处理切面
* Created by macro on 2018/4/26.
*/
@Aspect
@Component
......
......@@ -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);
......
......@@ -13,6 +13,7 @@ import java.io.IOException;
/**
* 用于Rest请求是返回自定义错误信息
* Created by macro on 2018/4/26.
*/
@Component
public class RestfulAccessDeniedHandler implements AccessDeniedHandler{
......
......@@ -26,6 +26,7 @@ import java.util.*;
/**
* 统一日志处理切面
* Created by macro on 2018/4/26.
*/
@Aspect
@Component
......
......@@ -25,6 +25,7 @@ import org.springframework.security.web.authentication.UsernamePasswordAuthentic
/**
* SpringSecurity的配置
* Created by macro on 2018/4/26.
*/
@Configuration
@EnableWebSecurity
......
......@@ -12,6 +12,7 @@ import springfox.documentation.swagger2.annotations.EnableSwagger2;
/**
* Swagger2API文档的配置
* Created by macro on 2018/4/26.
*/
@Configuration
@EnableSwagger2
......
......@@ -18,6 +18,7 @@ import java.util.List;
/**
* 品牌功能Controller
* Created by macro on 2018/4/26.
*/
@Controller
@Api(tags = "PmsBrandController",description = "商品品牌管理")
......
......@@ -15,6 +15,7 @@ import java.util.List;
/**
* 商品属性分类Controller
* Created by macro on 2018/4/26.
*/
@Controller
@Api(tags = "PmsProductAttributeCategoryController",description = "商品属性分类管理")
......
......@@ -19,6 +19,7 @@ import java.util.List;
/**
* 商品属性管理Controller
* Created by macro on 2018/4/26.
*/
@Controller
@Api(tags = "PmsProductAttributeController", description = "商品属性管理")
......
......@@ -18,6 +18,7 @@ import java.util.List;
/**
* 商品分类模块Controller
* Created by macro on 2018/4/26.
*/
@Controller
@Api(tags = "PmsProductCategoryController",description = "商品分类管理")
......
......@@ -15,6 +15,7 @@ import org.springframework.web.bind.annotation.ResponseBody;
/**
* 商品管理Controller
* Created by macro on 2018/4/26.
*/
@Controller
@Api(tags = "PmsProductController", description = "商品管理")
......
......@@ -20,6 +20,7 @@ import javax.servlet.http.HttpServletRequest;
/**
* 后台用户管理
* Created by macro on 2018/4/26.
*/
@Controller
@Api(tags = "UmsAdminController", description = "后台用户管理")
......
......@@ -16,6 +16,7 @@ import java.util.List;
/**
* 会员等级管理Controller
* Created by macro on 2018/4/26.
*/
@Controller
@Api(tags = "UmsMemberLevelController",description = "会员等级管理")
......
......@@ -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);
......
......@@ -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);
......
......@@ -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);
......
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