feat:
1. security improve
This commit is contained in:
@@ -6,6 +6,7 @@ import io.swagger.v3.oas.annotations.Operation;
|
|||||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||||
import jakarta.validation.Valid;
|
import jakarta.validation.Valid;
|
||||||
import lombok.AllArgsConstructor;
|
import lombok.AllArgsConstructor;
|
||||||
|
import org.springblade.core.secure.annotation.PreAuth;
|
||||||
import org.springblade.core.tool.api.R;
|
import org.springblade.core.tool.api.R;
|
||||||
import org.springblade.modules.api.request.ConfirmOrderRequest;
|
import org.springblade.modules.api.request.ConfirmOrderRequest;
|
||||||
import org.springblade.modules.api.request.CreateMallOrderRequest;
|
import org.springblade.modules.api.request.CreateMallOrderRequest;
|
||||||
@@ -28,6 +29,7 @@ public class APPEcoController {
|
|||||||
|
|
||||||
private final IMallProductService productService;
|
private final IMallProductService productService;
|
||||||
private final ICommonUserOrderService orderService;
|
private final ICommonUserOrderService orderService;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 生态产品-商品列表
|
* 生态产品-商品列表
|
||||||
*/
|
*/
|
||||||
@@ -41,7 +43,7 @@ public class APPEcoController {
|
|||||||
|
|
||||||
@GetMapping("/detail")
|
@GetMapping("/detail")
|
||||||
@ApiOperationSupport(order = 2)
|
@ApiOperationSupport(order = 2)
|
||||||
@Operation(summary = "详情", description = "传入vo")
|
@Operation(summary = "详情", description = "传入vo")
|
||||||
public R<MallProductDetailApiVO> detail(@Valid MallProductDetailApiVO vo) {
|
public R<MallProductDetailApiVO> detail(@Valid MallProductDetailApiVO vo) {
|
||||||
return R.data(productService.apiDetailVO(vo.getId()));
|
return R.data(productService.apiDetailVO(vo.getId()));
|
||||||
}
|
}
|
||||||
@@ -50,6 +52,7 @@ public class APPEcoController {
|
|||||||
/**
|
/**
|
||||||
* 下单
|
* 下单
|
||||||
*/
|
*/
|
||||||
|
@PreAuth(role = "APP")
|
||||||
@PostMapping("/create-order")
|
@PostMapping("/create-order")
|
||||||
@ApiOperationSupport(order = 4)
|
@ApiOperationSupport(order = 4)
|
||||||
@Operation(summary = "下单", description = "传入CreateMallOrderRequest")
|
@Operation(summary = "下单", description = "传入CreateMallOrderRequest")
|
||||||
@@ -60,6 +63,7 @@ public class APPEcoController {
|
|||||||
/**
|
/**
|
||||||
* 确认收货
|
* 确认收货
|
||||||
*/
|
*/
|
||||||
|
@PreAuth(role = "APP")
|
||||||
@PostMapping("/confirm")
|
@PostMapping("/confirm")
|
||||||
@ApiOperationSupport(order = 5)
|
@ApiOperationSupport(order = 5)
|
||||||
@Operation(summary = "确认收货", description = "传入ConfirmOrderRequest")
|
@Operation(summary = "确认收货", description = "传入ConfirmOrderRequest")
|
||||||
@@ -70,6 +74,7 @@ public class APPEcoController {
|
|||||||
/**
|
/**
|
||||||
* 用户订单详情
|
* 用户订单详情
|
||||||
*/
|
*/
|
||||||
|
@PreAuth(role = "APP")
|
||||||
@GetMapping("/order-detail")
|
@GetMapping("/order-detail")
|
||||||
@ApiOperationSupport(order = 6)
|
@ApiOperationSupport(order = 6)
|
||||||
@Operation(summary = "用户订单详情")
|
@Operation(summary = "用户订单详情")
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ import io.swagger.v3.oas.annotations.Operation;
|
|||||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||||
import jakarta.validation.Valid;
|
import jakarta.validation.Valid;
|
||||||
import lombok.AllArgsConstructor;
|
import lombok.AllArgsConstructor;
|
||||||
|
import org.springblade.core.secure.annotation.PreAuth;
|
||||||
import org.springblade.core.tool.api.R;
|
import org.springblade.core.tool.api.R;
|
||||||
import org.springblade.modules.api.request.ConfirmOrderRequest;
|
import org.springblade.modules.api.request.ConfirmOrderRequest;
|
||||||
import org.springblade.modules.api.request.CreateMallOrderRequest;
|
import org.springblade.modules.api.request.CreateMallOrderRequest;
|
||||||
@@ -69,6 +70,7 @@ public class APPMallController {
|
|||||||
/**
|
/**
|
||||||
* 下单
|
* 下单
|
||||||
*/
|
*/
|
||||||
|
@PreAuth(role = "APP")
|
||||||
@PostMapping("/create-order")
|
@PostMapping("/create-order")
|
||||||
@ApiOperationSupport(order = 4)
|
@ApiOperationSupport(order = 4)
|
||||||
@Operation(summary = "下单", description = "传入CreateMallOrderRequest")
|
@Operation(summary = "下单", description = "传入CreateMallOrderRequest")
|
||||||
@@ -79,6 +81,7 @@ public class APPMallController {
|
|||||||
/**
|
/**
|
||||||
* 确认收货
|
* 确认收货
|
||||||
*/
|
*/
|
||||||
|
@PreAuth(role = "APP")
|
||||||
@PostMapping("/confirm")
|
@PostMapping("/confirm")
|
||||||
@ApiOperationSupport(order = 5)
|
@ApiOperationSupport(order = 5)
|
||||||
@Operation(summary = "确认收货", description = "传入ConfirmOrderRequest")
|
@Operation(summary = "确认收货", description = "传入ConfirmOrderRequest")
|
||||||
@@ -89,6 +92,7 @@ public class APPMallController {
|
|||||||
/**
|
/**
|
||||||
* 用户订单详情
|
* 用户订单详情
|
||||||
*/
|
*/
|
||||||
|
@PreAuth(role = "APP")
|
||||||
@GetMapping("/order-detail")
|
@GetMapping("/order-detail")
|
||||||
@ApiOperationSupport(order = 6)
|
@ApiOperationSupport(order = 6)
|
||||||
@Operation(summary = "用户订单详情")
|
@Operation(summary = "用户订单详情")
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ import io.swagger.v3.oas.annotations.Operation;
|
|||||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||||
import jakarta.validation.Valid;
|
import jakarta.validation.Valid;
|
||||||
import lombok.AllArgsConstructor;
|
import lombok.AllArgsConstructor;
|
||||||
|
import org.springblade.core.secure.annotation.PreAuth;
|
||||||
import org.springblade.core.tool.api.R;
|
import org.springblade.core.tool.api.R;
|
||||||
import org.springblade.modules.api.request.*;
|
import org.springblade.modules.api.request.*;
|
||||||
import org.springblade.modules.api.response.CreateOrderResponse;
|
import org.springblade.modules.api.response.CreateOrderResponse;
|
||||||
@@ -54,6 +55,7 @@ public class APPTourController {
|
|||||||
/**
|
/**
|
||||||
* 旅行团下单
|
* 旅行团下单
|
||||||
*/
|
*/
|
||||||
|
@PreAuth(role = "APP")
|
||||||
@PostMapping("/create-order")
|
@PostMapping("/create-order")
|
||||||
@ApiOperationSupport(order = 4)
|
@ApiOperationSupport(order = 4)
|
||||||
@Operation(summary = "下单", description = "传入CreateTravelOrderRequest")
|
@Operation(summary = "下单", description = "传入CreateTravelOrderRequest")
|
||||||
@@ -64,6 +66,7 @@ public class APPTourController {
|
|||||||
/**
|
/**
|
||||||
* 确认收货
|
* 确认收货
|
||||||
*/
|
*/
|
||||||
|
@PreAuth(role = "APP")
|
||||||
@PostMapping("/confirm")
|
@PostMapping("/confirm")
|
||||||
@ApiOperationSupport(order = 5)
|
@ApiOperationSupport(order = 5)
|
||||||
@Operation(summary = "确认收货", description = "传入ConfirmOrderRequest")
|
@Operation(summary = "确认收货", description = "传入ConfirmOrderRequest")
|
||||||
@@ -71,7 +74,7 @@ public class APPTourController {
|
|||||||
return R.status(orderService.confirmTravelOrder(request));
|
return R.status(orderService.confirmTravelOrder(request));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@PreAuth(role = "APP")
|
||||||
@GetMapping("/order-detail")
|
@GetMapping("/order-detail")
|
||||||
@ApiOperationSupport(order = 6)
|
@ApiOperationSupport(order = 6)
|
||||||
@Operation(summary = "旅行团订单详情")
|
@Operation(summary = "旅行团订单详情")
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ import jakarta.validation.constraints.NotEmpty;
|
|||||||
import lombok.AllArgsConstructor;
|
import lombok.AllArgsConstructor;
|
||||||
import org.springblade.core.mp.support.Condition;
|
import org.springblade.core.mp.support.Condition;
|
||||||
import org.springblade.core.mp.support.Query;
|
import org.springblade.core.mp.support.Query;
|
||||||
|
import org.springblade.core.secure.annotation.PreAuth;
|
||||||
import org.springblade.core.tool.api.R;
|
import org.springblade.core.tool.api.R;
|
||||||
import org.springblade.modules.api.request.*;
|
import org.springblade.modules.api.request.*;
|
||||||
import org.springblade.modules.api.response.PaymentResponse;
|
import org.springblade.modules.api.response.PaymentResponse;
|
||||||
@@ -33,6 +34,7 @@ import java.util.List;
|
|||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@RequestMapping("/app/user")
|
@RequestMapping("/app/user")
|
||||||
@Tag(name = "APP用户接口", description = "APP用户接口")
|
@Tag(name = "APP用户接口", description = "APP用户接口")
|
||||||
|
@PreAuth(role = "APP")
|
||||||
public class APPUserController {
|
public class APPUserController {
|
||||||
|
|
||||||
private final IUserService userService;
|
private final IUserService userService;
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ import io.swagger.v3.oas.annotations.tags.Tag;
|
|||||||
import lombok.AllArgsConstructor;
|
import lombok.AllArgsConstructor;
|
||||||
import org.springblade.core.mp.support.Condition;
|
import org.springblade.core.mp.support.Condition;
|
||||||
import org.springblade.core.mp.support.Query;
|
import org.springblade.core.mp.support.Query;
|
||||||
|
import org.springblade.core.secure.annotation.PreAuth;
|
||||||
import org.springblade.core.secure.utils.AuthUtil;
|
import org.springblade.core.secure.utils.AuthUtil;
|
||||||
import org.springblade.core.tool.api.R;
|
import org.springblade.core.tool.api.R;
|
||||||
import org.springblade.modules.api.request.AcquireBenefitPackageRequest;
|
import org.springblade.modules.api.request.AcquireBenefitPackageRequest;
|
||||||
@@ -26,6 +27,7 @@ import java.util.List;
|
|||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@RequestMapping("/market/user")
|
@RequestMapping("/market/user")
|
||||||
@Tag(name = "APP福利包接口", description = "APP福利包接口")
|
@Tag(name = "APP福利包接口", description = "APP福利包接口")
|
||||||
|
@PreAuth(role = "Market")
|
||||||
public class MarketUserController {
|
public class MarketUserController {
|
||||||
|
|
||||||
private final IMarketBenefitPackageService userMarketBenefitPackageService;
|
private final IMarketBenefitPackageService userMarketBenefitPackageService;
|
||||||
|
|||||||
@@ -34,6 +34,7 @@ import jakarta.validation.Valid;
|
|||||||
|
|
||||||
import org.springblade.core.mp.support.Condition;
|
import org.springblade.core.mp.support.Condition;
|
||||||
import org.springblade.core.mp.support.Query;
|
import org.springblade.core.mp.support.Query;
|
||||||
|
import org.springblade.core.secure.annotation.PreAuth;
|
||||||
import org.springblade.core.tool.api.R;
|
import org.springblade.core.tool.api.R;
|
||||||
import org.springblade.core.tool.utils.Func;
|
import org.springblade.core.tool.utils.Func;
|
||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
||||||
@@ -56,6 +57,7 @@ import java.util.Map;
|
|||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@RequestMapping("common/lottery-prize")
|
@RequestMapping("common/lottery-prize")
|
||||||
@Tag(name = "奖品配置表", description = "奖品配置表接口")
|
@Tag(name = "奖品配置表", description = "奖品配置表接口")
|
||||||
|
@PreAuth("hasAnyRole('administrator', 'admin', 'operator')")
|
||||||
public class CommonLotteryPrizeController extends BladeController {
|
public class CommonLotteryPrizeController extends BladeController {
|
||||||
|
|
||||||
private final ICommonLotteryPrizeService lotteryPrizeService;
|
private final ICommonLotteryPrizeService lotteryPrizeService;
|
||||||
|
|||||||
@@ -36,6 +36,7 @@ import org.springblade.core.secure.BladeUser;
|
|||||||
import org.springblade.core.secure.annotation.IsAdmin;
|
import org.springblade.core.secure.annotation.IsAdmin;
|
||||||
import org.springblade.core.mp.support.Condition;
|
import org.springblade.core.mp.support.Condition;
|
||||||
import org.springblade.core.mp.support.Query;
|
import org.springblade.core.mp.support.Query;
|
||||||
|
import org.springblade.core.secure.annotation.PreAuth;
|
||||||
import org.springblade.core.tool.api.R;
|
import org.springblade.core.tool.api.R;
|
||||||
import org.springblade.core.tool.utils.Func;
|
import org.springblade.core.tool.utils.Func;
|
||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
||||||
@@ -64,6 +65,7 @@ import jakarta.servlet.http.HttpServletResponse;
|
|||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@RequestMapping("common/lottery-record")
|
@RequestMapping("common/lottery-record")
|
||||||
@Tag(name = "抽奖记录表", description = "抽奖记录表接口")
|
@Tag(name = "抽奖记录表", description = "抽奖记录表接口")
|
||||||
|
@PreAuth("hasAnyRole('administrator', 'admin', 'operator')")
|
||||||
public class CommonLotteryRecordController extends BladeController {
|
public class CommonLotteryRecordController extends BladeController {
|
||||||
|
|
||||||
private final ICommonLotteryRecordService lotteryRecordService;
|
private final ICommonLotteryRecordService lotteryRecordService;
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ import jakarta.validation.Valid;
|
|||||||
|
|
||||||
import org.springblade.core.mp.support.Condition;
|
import org.springblade.core.mp.support.Condition;
|
||||||
import org.springblade.core.mp.support.Query;
|
import org.springblade.core.mp.support.Query;
|
||||||
|
import org.springblade.core.secure.annotation.PreAuth;
|
||||||
import org.springblade.core.tool.api.R;
|
import org.springblade.core.tool.api.R;
|
||||||
import org.springblade.core.tool.utils.Func;
|
import org.springblade.core.tool.utils.Func;
|
||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
||||||
@@ -32,6 +33,7 @@ import java.util.Map;
|
|||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@RequestMapping("common/order-confirm-log")
|
@RequestMapping("common/order-confirm-log")
|
||||||
@Tag(name = "订单确认收货记录", description = "订单确认收货记录接口")
|
@Tag(name = "订单确认收货记录", description = "订单确认收货记录接口")
|
||||||
|
@PreAuth("hasAnyRole('administrator', 'admin', 'operator')")
|
||||||
public class CommonOrderConfirmLogController extends BladeController {
|
public class CommonOrderConfirmLogController extends BladeController {
|
||||||
|
|
||||||
private final ICommonOrderConfirmLogService commonOrderConfirmLogService;
|
private final ICommonOrderConfirmLogService commonOrderConfirmLogService;
|
||||||
|
|||||||
@@ -35,6 +35,7 @@ import jakarta.validation.Valid;
|
|||||||
|
|
||||||
import org.springblade.core.mp.support.Condition;
|
import org.springblade.core.mp.support.Condition;
|
||||||
import org.springblade.core.mp.support.Query;
|
import org.springblade.core.mp.support.Query;
|
||||||
|
import org.springblade.core.secure.annotation.PreAuth;
|
||||||
import org.springblade.core.tool.api.R;
|
import org.springblade.core.tool.api.R;
|
||||||
import org.springblade.core.tool.utils.Func;
|
import org.springblade.core.tool.utils.Func;
|
||||||
import org.springblade.modules.common.convert.CommonRegionConvert;
|
import org.springblade.modules.common.convert.CommonRegionConvert;
|
||||||
@@ -59,6 +60,7 @@ import java.util.List;
|
|||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@RequestMapping("common/region")
|
@RequestMapping("common/region")
|
||||||
@Tag(name = "地区详情表", description = "地区详情表接口")
|
@Tag(name = "地区详情表", description = "地区详情表接口")
|
||||||
|
@PreAuth("hasAnyRole('administrator', 'admin', 'operator')")
|
||||||
public class CommonRegionsInfoController extends BladeController {
|
public class CommonRegionsInfoController extends BladeController {
|
||||||
|
|
||||||
private final ICommonRegionsInfoService regionsInfoService;
|
private final ICommonRegionsInfoService regionsInfoService;
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ import jakarta.validation.Valid;
|
|||||||
|
|
||||||
import org.springblade.core.mp.support.Condition;
|
import org.springblade.core.mp.support.Condition;
|
||||||
import org.springblade.core.mp.support.Query;
|
import org.springblade.core.mp.support.Query;
|
||||||
|
import org.springblade.core.secure.annotation.PreAuth;
|
||||||
import org.springblade.core.tool.api.R;
|
import org.springblade.core.tool.api.R;
|
||||||
import org.springblade.core.tool.utils.Func;
|
import org.springblade.core.tool.utils.Func;
|
||||||
import org.springblade.modules.common.pojo.dto.CommonReleaseVersionDTO;
|
import org.springblade.modules.common.pojo.dto.CommonReleaseVersionDTO;
|
||||||
@@ -34,6 +35,7 @@ import java.util.List;
|
|||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@RequestMapping("common/release-version")
|
@RequestMapping("common/release-version")
|
||||||
@Tag(name = "APP版本发布管理", description = "APP版本发布管理接口")
|
@Tag(name = "APP版本发布管理", description = "APP版本发布管理接口")
|
||||||
|
@PreAuth("hasAnyRole('administrator', 'admin', 'operator')")
|
||||||
public class CommonReleaseVersionController extends BladeController {
|
public class CommonReleaseVersionController extends BladeController {
|
||||||
|
|
||||||
private final ICommonReleaseVersionService commonReleaseVersionService;
|
private final ICommonReleaseVersionService commonReleaseVersionService;
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ import jakarta.validation.Valid;
|
|||||||
|
|
||||||
import org.springblade.core.mp.support.Condition;
|
import org.springblade.core.mp.support.Condition;
|
||||||
import org.springblade.core.mp.support.Query;
|
import org.springblade.core.mp.support.Query;
|
||||||
|
import org.springblade.core.secure.annotation.PreAuth;
|
||||||
import org.springblade.core.tool.api.R;
|
import org.springblade.core.tool.api.R;
|
||||||
import org.springblade.core.tool.utils.Func;
|
import org.springblade.core.tool.utils.Func;
|
||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
||||||
@@ -31,6 +32,7 @@ import java.util.Map;
|
|||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@RequestMapping("common/tour-info/commonTourInfo")
|
@RequestMapping("common/tour-info/commonTourInfo")
|
||||||
@Tag(name = "基础出行人档案", description = "基础出行人档案接口")
|
@Tag(name = "基础出行人档案", description = "基础出行人档案接口")
|
||||||
|
@PreAuth("hasAnyRole('administrator', 'admin', 'operator')")
|
||||||
public class CommonTourInfoController extends BladeController {
|
public class CommonTourInfoController extends BladeController {
|
||||||
|
|
||||||
private final ICommonTourInfoService commonTourInfoService;
|
private final ICommonTourInfoService commonTourInfoService;
|
||||||
|
|||||||
@@ -34,6 +34,7 @@ import jakarta.validation.Valid;
|
|||||||
|
|
||||||
import org.springblade.core.mp.support.Condition;
|
import org.springblade.core.mp.support.Condition;
|
||||||
import org.springblade.core.mp.support.Query;
|
import org.springblade.core.mp.support.Query;
|
||||||
|
import org.springblade.core.secure.annotation.PreAuth;
|
||||||
import org.springblade.core.tool.api.R;
|
import org.springblade.core.tool.api.R;
|
||||||
import org.springblade.core.tool.utils.Func;
|
import org.springblade.core.tool.utils.Func;
|
||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
||||||
@@ -55,6 +56,7 @@ import org.springblade.core.boot.ctrl.BladeController;
|
|||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@RequestMapping("common/address")
|
@RequestMapping("common/address")
|
||||||
@Tag(name = "用户地址表", description = "用户地址表接口")
|
@Tag(name = "用户地址表", description = "用户地址表接口")
|
||||||
|
@PreAuth("hasAnyRole('administrator', 'admin', 'operator')")
|
||||||
public class CommonUserAddressController extends BladeController {
|
public class CommonUserAddressController extends BladeController {
|
||||||
|
|
||||||
private final ICommonUserAddressService userAddressService;
|
private final ICommonUserAddressService userAddressService;
|
||||||
|
|||||||
@@ -34,6 +34,7 @@ import jakarta.validation.Valid;
|
|||||||
|
|
||||||
import org.springblade.core.mp.support.Condition;
|
import org.springblade.core.mp.support.Condition;
|
||||||
import org.springblade.core.mp.support.Query;
|
import org.springblade.core.mp.support.Query;
|
||||||
|
import org.springblade.core.secure.annotation.PreAuth;
|
||||||
import org.springblade.core.tool.api.R;
|
import org.springblade.core.tool.api.R;
|
||||||
import org.springblade.core.tool.utils.Func;
|
import org.springblade.core.tool.utils.Func;
|
||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
||||||
@@ -55,6 +56,7 @@ import org.springblade.core.boot.ctrl.BladeController;
|
|||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@RequestMapping("common/notice")
|
@RequestMapping("common/notice")
|
||||||
@Tag(name = "用户通知", description = "用户通知接口")
|
@Tag(name = "用户通知", description = "用户通知接口")
|
||||||
|
@PreAuth("hasAnyRole('administrator', 'admin', 'operator')")
|
||||||
public class CommonUserNoticeController extends BladeController {
|
public class CommonUserNoticeController extends BladeController {
|
||||||
|
|
||||||
private final ICommonUserNoticeService userNoticeService;
|
private final ICommonUserNoticeService userNoticeService;
|
||||||
|
|||||||
@@ -36,6 +36,7 @@ import org.springblade.core.secure.BladeUser;
|
|||||||
import org.springblade.core.secure.annotation.IsAdmin;
|
import org.springblade.core.secure.annotation.IsAdmin;
|
||||||
import org.springblade.core.mp.support.Condition;
|
import org.springblade.core.mp.support.Condition;
|
||||||
import org.springblade.core.mp.support.Query;
|
import org.springblade.core.mp.support.Query;
|
||||||
|
import org.springblade.core.secure.annotation.PreAuth;
|
||||||
import org.springblade.core.tool.api.R;
|
import org.springblade.core.tool.api.R;
|
||||||
import org.springblade.core.tool.utils.Func;
|
import org.springblade.core.tool.utils.Func;
|
||||||
import org.springblade.modules.common.manager.CommonUserManager;
|
import org.springblade.modules.common.manager.CommonUserManager;
|
||||||
@@ -67,6 +68,7 @@ import org.springframework.web.multipart.MultipartFile;
|
|||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@RequestMapping("common/order")
|
@RequestMapping("common/order")
|
||||||
@Tag(name = "用户订单", description = "用户订单接口")
|
@Tag(name = "用户订单", description = "用户订单接口")
|
||||||
|
@PreAuth("hasAnyRole('administrator', 'admin', 'operator')")
|
||||||
public class CommonUserOrderController extends BladeController {
|
public class CommonUserOrderController extends BladeController {
|
||||||
|
|
||||||
private final ICommonUserOrderService orderService;
|
private final ICommonUserOrderService orderService;
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ import org.springblade.core.secure.BladeUser;
|
|||||||
import org.springblade.core.secure.annotation.IsAdmin;
|
import org.springblade.core.secure.annotation.IsAdmin;
|
||||||
import org.springblade.core.mp.support.Condition;
|
import org.springblade.core.mp.support.Condition;
|
||||||
import org.springblade.core.mp.support.Query;
|
import org.springblade.core.mp.support.Query;
|
||||||
|
import org.springblade.core.secure.annotation.PreAuth;
|
||||||
import org.springblade.core.tool.api.R;
|
import org.springblade.core.tool.api.R;
|
||||||
import org.springblade.core.tool.utils.Func;
|
import org.springblade.core.tool.utils.Func;
|
||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
||||||
@@ -38,6 +39,7 @@ import jakarta.servlet.http.HttpServletResponse;
|
|||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@RequestMapping("common/user-point")
|
@RequestMapping("common/user-point")
|
||||||
@Tag(name = "用户商城积分表", description = "用户商城积分表接口")
|
@Tag(name = "用户商城积分表", description = "用户商城积分表接口")
|
||||||
|
@PreAuth("hasAnyRole('administrator', 'admin', 'operator')")
|
||||||
public class CommonUserPointController extends BladeController {
|
public class CommonUserPointController extends BladeController {
|
||||||
|
|
||||||
private final ICommonUserPointService commonUserPointService;
|
private final ICommonUserPointService commonUserPointService;
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ import jakarta.validation.Valid;
|
|||||||
|
|
||||||
import org.springblade.core.mp.support.Condition;
|
import org.springblade.core.mp.support.Condition;
|
||||||
import org.springblade.core.mp.support.Query;
|
import org.springblade.core.mp.support.Query;
|
||||||
|
import org.springblade.core.secure.annotation.PreAuth;
|
||||||
import org.springblade.core.tool.api.R;
|
import org.springblade.core.tool.api.R;
|
||||||
import org.springblade.core.tool.utils.Func;
|
import org.springblade.core.tool.utils.Func;
|
||||||
import org.springblade.modules.common.excel.CommonUserPointLogExcel;
|
import org.springblade.modules.common.excel.CommonUserPointLogExcel;
|
||||||
@@ -36,6 +37,7 @@ import jakarta.servlet.http.HttpServletResponse;
|
|||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@RequestMapping("common/user-point-log")
|
@RequestMapping("common/user-point-log")
|
||||||
@Tag(name = "用户商城积分流水表", description = "用户商城积分流水表接口")
|
@Tag(name = "用户商城积分流水表", description = "用户商城积分流水表接口")
|
||||||
|
@PreAuth("hasAnyRole('administrator', 'admin', 'operator')")
|
||||||
public class CommonUserPointLogController extends BladeController {
|
public class CommonUserPointLogController extends BladeController {
|
||||||
|
|
||||||
private final ICommonUserPointLogService commonUserPointLogService;
|
private final ICommonUserPointLogService commonUserPointLogService;
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ import jakarta.validation.Valid;
|
|||||||
|
|
||||||
import org.springblade.core.mp.support.Condition;
|
import org.springblade.core.mp.support.Condition;
|
||||||
import org.springblade.core.mp.support.Query;
|
import org.springblade.core.mp.support.Query;
|
||||||
|
import org.springblade.core.secure.annotation.PreAuth;
|
||||||
import org.springblade.core.tool.api.R;
|
import org.springblade.core.tool.api.R;
|
||||||
import org.springblade.core.tool.utils.Func;
|
import org.springblade.core.tool.utils.Func;
|
||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
||||||
@@ -31,6 +32,7 @@ import java.util.Map;
|
|||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@RequestMapping("common/usersmslog")
|
@RequestMapping("common/usersmslog")
|
||||||
@Tag(name = "用户短信日志", description = "用户短信日志接口")
|
@Tag(name = "用户短信日志", description = "用户短信日志接口")
|
||||||
|
@PreAuth("hasAnyRole('administrator', 'admin', 'operator')")
|
||||||
public class CommonUserSmsLogController extends BladeController {
|
public class CommonUserSmsLogController extends BladeController {
|
||||||
|
|
||||||
private final ICommonUserSmsLogService userSmsLogService;
|
private final ICommonUserSmsLogService userSmsLogService;
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ import jakarta.validation.Valid;
|
|||||||
import org.springblade.core.log.exception.ServiceException;
|
import org.springblade.core.log.exception.ServiceException;
|
||||||
import org.springblade.core.mp.support.Condition;
|
import org.springblade.core.mp.support.Condition;
|
||||||
import org.springblade.core.mp.support.Query;
|
import org.springblade.core.mp.support.Query;
|
||||||
|
import org.springblade.core.secure.annotation.PreAuth;
|
||||||
import org.springblade.core.tool.api.R;
|
import org.springblade.core.tool.api.R;
|
||||||
import org.springblade.core.tool.utils.Func;
|
import org.springblade.core.tool.utils.Func;
|
||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
||||||
@@ -35,6 +36,7 @@ import java.util.Map;
|
|||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@RequestMapping("common/tourism-spot")
|
@RequestMapping("common/tourism-spot")
|
||||||
@Tag(name = "文旅景点信息", description = "文旅景点信息接口")
|
@Tag(name = "文旅景点信息", description = "文旅景点信息接口")
|
||||||
|
@PreAuth("hasAnyRole('administrator', 'admin', 'operator')")
|
||||||
public class CulturalTourismSpotController extends BladeController {
|
public class CulturalTourismSpotController extends BladeController {
|
||||||
|
|
||||||
private final ICulturalTourismSpotService culturalTourismSpotService;
|
private final ICulturalTourismSpotService culturalTourismSpotService;
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ import jakarta.validation.Valid;
|
|||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
import org.springblade.core.mp.support.Condition;
|
import org.springblade.core.mp.support.Condition;
|
||||||
import org.springblade.core.mp.support.Query;
|
import org.springblade.core.mp.support.Query;
|
||||||
|
import org.springblade.core.secure.annotation.PreAuth;
|
||||||
import org.springblade.core.tool.api.R;
|
import org.springblade.core.tool.api.R;
|
||||||
import org.springblade.core.tool.utils.Func;
|
import org.springblade.core.tool.utils.Func;
|
||||||
|
|
||||||
@@ -34,6 +35,7 @@ import java.util.Map;
|
|||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@RequestMapping("common/merchant-store")
|
@RequestMapping("common/merchant-store")
|
||||||
@Tag(name = "商家旗舰店信息", description = "商家旗舰店信息接口")
|
@Tag(name = "商家旗舰店信息", description = "商家旗舰店信息接口")
|
||||||
|
@PreAuth("hasAnyRole('administrator', 'admin', 'operator')")
|
||||||
public class MerchantFlagshipStoreController extends BladeController {
|
public class MerchantFlagshipStoreController extends BladeController {
|
||||||
|
|
||||||
private final IMerchantFlagshipStoreService merchantFlagshipStoreService;
|
private final IMerchantFlagshipStoreService merchantFlagshipStoreService;
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ import jakarta.validation.Valid;
|
|||||||
|
|
||||||
import org.springblade.core.mp.support.Condition;
|
import org.springblade.core.mp.support.Condition;
|
||||||
import org.springblade.core.mp.support.Query;
|
import org.springblade.core.mp.support.Query;
|
||||||
|
import org.springblade.core.secure.annotation.PreAuth;
|
||||||
import org.springblade.core.tool.api.R;
|
import org.springblade.core.tool.api.R;
|
||||||
import org.springblade.core.tool.utils.Func;
|
import org.springblade.core.tool.utils.Func;
|
||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
||||||
@@ -33,6 +34,7 @@ import java.util.Map;
|
|||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@RequestMapping("common/news-category")
|
@RequestMapping("common/news-category")
|
||||||
@Tag(name = "资讯分类", description = "资讯分类接口")
|
@Tag(name = "资讯分类", description = "资讯分类接口")
|
||||||
|
@PreAuth("hasAnyRole('administrator', 'admin', 'operator')")
|
||||||
public class NewsCategoryController extends BladeController {
|
public class NewsCategoryController extends BladeController {
|
||||||
|
|
||||||
private final INewsCategoryService newsCategoryService;
|
private final INewsCategoryService newsCategoryService;
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ import jakarta.validation.Valid;
|
|||||||
|
|
||||||
import org.springblade.core.mp.support.Condition;
|
import org.springblade.core.mp.support.Condition;
|
||||||
import org.springblade.core.mp.support.Query;
|
import org.springblade.core.mp.support.Query;
|
||||||
|
import org.springblade.core.secure.annotation.PreAuth;
|
||||||
import org.springblade.core.tool.api.R;
|
import org.springblade.core.tool.api.R;
|
||||||
import org.springblade.core.tool.utils.Func;
|
import org.springblade.core.tool.utils.Func;
|
||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
||||||
@@ -32,6 +33,7 @@ import java.util.Map;
|
|||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@RequestMapping("common/news-content")
|
@RequestMapping("common/news-content")
|
||||||
@Tag(name = "资讯内容", description = "资讯内容接口")
|
@Tag(name = "资讯内容", description = "资讯内容接口")
|
||||||
|
@PreAuth("hasAnyRole('administrator', 'admin', 'operator')")
|
||||||
public class NewsContentController extends BladeController {
|
public class NewsContentController extends BladeController {
|
||||||
|
|
||||||
private final INewsContentService newsContentService;
|
private final INewsContentService newsContentService;
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ import jakarta.validation.Valid;
|
|||||||
|
|
||||||
import org.springblade.core.mp.support.Condition;
|
import org.springblade.core.mp.support.Condition;
|
||||||
import org.springblade.core.mp.support.Query;
|
import org.springblade.core.mp.support.Query;
|
||||||
|
import org.springblade.core.secure.annotation.PreAuth;
|
||||||
import org.springblade.core.tool.api.R;
|
import org.springblade.core.tool.api.R;
|
||||||
import org.springblade.core.tool.utils.Func;
|
import org.springblade.core.tool.utils.Func;
|
||||||
import org.springblade.modules.common.pojo.entity.CommonUserOrderEntity;
|
import org.springblade.modules.common.pojo.entity.CommonUserOrderEntity;
|
||||||
@@ -32,6 +33,7 @@ import java.util.Map;
|
|||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@RequestMapping("common/tour-order-detail")
|
@RequestMapping("common/tour-order-detail")
|
||||||
@Tag(name = "旅游团订单详情", description = "旅游团订单详情接口")
|
@Tag(name = "旅游团订单详情", description = "旅游团订单详情接口")
|
||||||
|
@PreAuth("hasAnyRole('administrator', 'admin', 'operator')")
|
||||||
public class TourOrderDetailController extends BladeController {
|
public class TourOrderDetailController extends BladeController {
|
||||||
|
|
||||||
private final ITourOrderDetailService tourOrderDetailService;
|
private final ITourOrderDetailService tourOrderDetailService;
|
||||||
|
|||||||
@@ -34,6 +34,7 @@ import jakarta.validation.Valid;
|
|||||||
|
|
||||||
import org.springblade.core.mp.support.Condition;
|
import org.springblade.core.mp.support.Condition;
|
||||||
import org.springblade.core.mp.support.Query;
|
import org.springblade.core.mp.support.Query;
|
||||||
|
import org.springblade.core.secure.annotation.PreAuth;
|
||||||
import org.springblade.core.tool.api.R;
|
import org.springblade.core.tool.api.R;
|
||||||
import org.springblade.core.tool.utils.Func;
|
import org.springblade.core.tool.utils.Func;
|
||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
||||||
@@ -55,6 +56,7 @@ import org.springblade.core.boot.ctrl.BladeController;
|
|||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@RequestMapping("common/tour-product")
|
@RequestMapping("common/tour-product")
|
||||||
@Tag(name = "旅游产品", description = "旅游产品接口")
|
@Tag(name = "旅游产品", description = "旅游产品接口")
|
||||||
|
@PreAuth("hasAnyRole('administrator', 'admin', 'operator')")
|
||||||
public class TourProductController extends BladeController {
|
public class TourProductController extends BladeController {
|
||||||
|
|
||||||
private final ITourProductService tourProductService;
|
private final ITourProductService tourProductService;
|
||||||
|
|||||||
@@ -36,6 +36,7 @@ import lombok.AllArgsConstructor;
|
|||||||
import org.springblade.core.boot.ctrl.BladeController;
|
import org.springblade.core.boot.ctrl.BladeController;
|
||||||
import org.springblade.core.mp.support.Condition;
|
import org.springblade.core.mp.support.Condition;
|
||||||
import org.springblade.core.mp.support.Query;
|
import org.springblade.core.mp.support.Query;
|
||||||
|
import org.springblade.core.secure.annotation.PreAuth;
|
||||||
import org.springblade.core.tool.api.R;
|
import org.springblade.core.tool.api.R;
|
||||||
import org.springblade.core.tool.utils.Func;
|
import org.springblade.core.tool.utils.Func;
|
||||||
import org.springblade.modules.mall.pojo.entity.MallProductEntity;
|
import org.springblade.modules.mall.pojo.entity.MallProductEntity;
|
||||||
@@ -56,6 +57,7 @@ import java.util.Map;
|
|||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@RequestMapping("/mall/directMall")
|
@RequestMapping("/mall/directMall")
|
||||||
@Tag(name = "自营商城", description = "自营商城接口")
|
@Tag(name = "自营商城", description = "自营商城接口")
|
||||||
|
@PreAuth("hasAnyRole('administrator', 'admin', 'operator')")
|
||||||
public class DirectMallController extends BladeController {
|
public class DirectMallController extends BladeController {
|
||||||
|
|
||||||
private final IMallProductService mallProductService;
|
private final IMallProductService mallProductService;
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ import lombok.AllArgsConstructor;
|
|||||||
import org.springblade.core.boot.ctrl.BladeController;
|
import org.springblade.core.boot.ctrl.BladeController;
|
||||||
import org.springblade.core.mp.support.Condition;
|
import org.springblade.core.mp.support.Condition;
|
||||||
import org.springblade.core.mp.support.Query;
|
import org.springblade.core.mp.support.Query;
|
||||||
|
import org.springblade.core.secure.annotation.PreAuth;
|
||||||
import org.springblade.core.tool.api.R;
|
import org.springblade.core.tool.api.R;
|
||||||
import org.springblade.core.tool.utils.Func;
|
import org.springblade.core.tool.utils.Func;
|
||||||
import org.springblade.modules.mall.pojo.entity.MallProductEntity;
|
import org.springblade.modules.mall.pojo.entity.MallProductEntity;
|
||||||
@@ -31,6 +32,7 @@ import java.util.Map;
|
|||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@RequestMapping("/mall/ecosystemProduct")
|
@RequestMapping("/mall/ecosystemProduct")
|
||||||
@Tag(name = "生态产品", description = "生态产品接口")
|
@Tag(name = "生态产品", description = "生态产品接口")
|
||||||
|
@PreAuth("hasAnyRole('administrator', 'admin', 'operator')")
|
||||||
public class EcosystemProductController extends BladeController {
|
public class EcosystemProductController extends BladeController {
|
||||||
|
|
||||||
private final IMallProductService mallProductService;
|
private final IMallProductService mallProductService;
|
||||||
|
|||||||
@@ -35,6 +35,7 @@ import jakarta.validation.Valid;
|
|||||||
|
|
||||||
import org.springblade.core.mp.support.Condition;
|
import org.springblade.core.mp.support.Condition;
|
||||||
import org.springblade.core.mp.support.Query;
|
import org.springblade.core.mp.support.Query;
|
||||||
|
import org.springblade.core.secure.annotation.PreAuth;
|
||||||
import org.springblade.core.tool.api.R;
|
import org.springblade.core.tool.api.R;
|
||||||
import org.springblade.core.tool.utils.Func;
|
import org.springblade.core.tool.utils.Func;
|
||||||
import org.springblade.modules.system.pojo.entity.Dict;
|
import org.springblade.modules.system.pojo.entity.Dict;
|
||||||
@@ -59,6 +60,7 @@ import java.util.Map;
|
|||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@RequestMapping("/mall/category")
|
@RequestMapping("/mall/category")
|
||||||
@Tag(name = "商品分类", description = "商品分类接口")
|
@Tag(name = "商品分类", description = "商品分类接口")
|
||||||
|
@PreAuth("hasAnyRole('administrator', 'admin', 'operator')")
|
||||||
public class MallCategoryController extends BladeController {
|
public class MallCategoryController extends BladeController {
|
||||||
|
|
||||||
private final IMallCategoryService mallCategoryService;
|
private final IMallCategoryService mallCategoryService;
|
||||||
|
|||||||
@@ -35,6 +35,7 @@ import jakarta.validation.Valid;
|
|||||||
|
|
||||||
import org.springblade.core.mp.support.Condition;
|
import org.springblade.core.mp.support.Condition;
|
||||||
import org.springblade.core.mp.support.Query;
|
import org.springblade.core.mp.support.Query;
|
||||||
|
import org.springblade.core.secure.annotation.PreAuth;
|
||||||
import org.springblade.core.tool.api.R;
|
import org.springblade.core.tool.api.R;
|
||||||
import org.springblade.core.tool.utils.Func;
|
import org.springblade.core.tool.utils.Func;
|
||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
||||||
@@ -57,6 +58,7 @@ import java.util.Map;
|
|||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@RequestMapping("/mall/product")
|
@RequestMapping("/mall/product")
|
||||||
@Tag(name = "商城商品", description = "商城商品接口")
|
@Tag(name = "商城商品", description = "商城商品接口")
|
||||||
|
@PreAuth("hasAnyRole('administrator', 'admin', 'operator')")
|
||||||
public class MallProductController extends BladeController {
|
public class MallProductController extends BladeController {
|
||||||
|
|
||||||
private final IMallProductService mallProductService;
|
private final IMallProductService mallProductService;
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ import jakarta.validation.Valid;
|
|||||||
|
|
||||||
import org.springblade.core.mp.support.Condition;
|
import org.springblade.core.mp.support.Condition;
|
||||||
import org.springblade.core.mp.support.Query;
|
import org.springblade.core.mp.support.Query;
|
||||||
|
import org.springblade.core.secure.annotation.PreAuth;
|
||||||
import org.springblade.core.tool.api.R;
|
import org.springblade.core.tool.api.R;
|
||||||
import org.springblade.core.tool.utils.Func;
|
import org.springblade.core.tool.utils.Func;
|
||||||
import org.springblade.modules.market.pojo.entity.MarketBenefitPackageEntity;
|
import org.springblade.modules.market.pojo.entity.MarketBenefitPackageEntity;
|
||||||
@@ -32,6 +33,7 @@ import org.springblade.core.boot.ctrl.BladeController;
|
|||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@RequestMapping("/market/benefit-package/")
|
@RequestMapping("/market/benefit-package/")
|
||||||
@Tag(name = "用户积分包信息表", description = "用户积分包信息表接口")
|
@Tag(name = "用户积分包信息表", description = "用户积分包信息表接口")
|
||||||
|
@PreAuth("hasAnyRole('administrator', 'admin', 'operator')")
|
||||||
public class MarketBenefitPackageController extends BladeController {
|
public class MarketBenefitPackageController extends BladeController {
|
||||||
|
|
||||||
private final IMarketBenefitPackageService userMarketBenefitPackageService;
|
private final IMarketBenefitPackageService userMarketBenefitPackageService;
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ import jakarta.validation.Valid;
|
|||||||
import org.springblade.core.excel.util.ExcelUtil;
|
import org.springblade.core.excel.util.ExcelUtil;
|
||||||
import org.springblade.core.mp.support.Condition;
|
import org.springblade.core.mp.support.Condition;
|
||||||
import org.springblade.core.mp.support.Query;
|
import org.springblade.core.mp.support.Query;
|
||||||
|
import org.springblade.core.secure.annotation.PreAuth;
|
||||||
import org.springblade.core.tool.api.R;
|
import org.springblade.core.tool.api.R;
|
||||||
import org.springblade.core.tool.utils.Func;
|
import org.springblade.core.tool.utils.Func;
|
||||||
import org.springblade.modules.market.excel.MarketBenefitPackageLogExcel;
|
import org.springblade.modules.market.excel.MarketBenefitPackageLogExcel;
|
||||||
@@ -37,6 +38,7 @@ import java.util.List;
|
|||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@RequestMapping("/market/benefit-package-log")
|
@RequestMapping("/market/benefit-package-log")
|
||||||
@Tag(name = "划拨积分记录", description = "划拨积分记录接口")
|
@Tag(name = "划拨积分记录", description = "划拨积分记录接口")
|
||||||
|
@PreAuth("hasAnyRole('administrator', 'admin', 'operator')")
|
||||||
public class MarketBenefitPackageLogController extends BladeController {
|
public class MarketBenefitPackageLogController extends BladeController {
|
||||||
|
|
||||||
private final IMarketBenefitPackageLogService userMarketBenefitPackageLogService;
|
private final IMarketBenefitPackageLogService userMarketBenefitPackageLogService;
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ import jakarta.validation.Valid;
|
|||||||
|
|
||||||
import org.springblade.core.mp.support.Condition;
|
import org.springblade.core.mp.support.Condition;
|
||||||
import org.springblade.core.mp.support.Query;
|
import org.springblade.core.mp.support.Query;
|
||||||
|
import org.springblade.core.secure.annotation.PreAuth;
|
||||||
import org.springblade.core.tool.api.R;
|
import org.springblade.core.tool.api.R;
|
||||||
import org.springblade.core.tool.utils.Func;
|
import org.springblade.core.tool.utils.Func;
|
||||||
import org.springblade.modules.market.pojo.vo.MarketImportBenefitPackageError;
|
import org.springblade.modules.market.pojo.vo.MarketImportBenefitPackageError;
|
||||||
@@ -36,6 +37,7 @@ import java.util.Map;
|
|||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@RequestMapping("/market/benefit-package-template")
|
@RequestMapping("/market/benefit-package-template")
|
||||||
@Tag(name = "积分包信息表", description = "积分包信息表接口")
|
@Tag(name = "积分包信息表", description = "积分包信息表接口")
|
||||||
|
@PreAuth("hasAnyRole('administrator', 'admin', 'operator')")
|
||||||
public class MarketBenefitPackageTemplateController extends BladeController {
|
public class MarketBenefitPackageTemplateController extends BladeController {
|
||||||
|
|
||||||
private final IMarketBenefitPackageTemplateService userMarketBenefitPackageTemplateService;
|
private final IMarketBenefitPackageTemplateService userMarketBenefitPackageTemplateService;
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ import jakarta.validation.Valid;
|
|||||||
|
|
||||||
import org.springblade.core.mp.support.Condition;
|
import org.springblade.core.mp.support.Condition;
|
||||||
import org.springblade.core.mp.support.Query;
|
import org.springblade.core.mp.support.Query;
|
||||||
|
import org.springblade.core.secure.annotation.PreAuth;
|
||||||
import org.springblade.core.tool.api.R;
|
import org.springblade.core.tool.api.R;
|
||||||
import org.springblade.core.tool.utils.Func;
|
import org.springblade.core.tool.utils.Func;
|
||||||
import org.springblade.modules.market.manager.MarketUserPointManager;
|
import org.springblade.modules.market.manager.MarketUserPointManager;
|
||||||
@@ -34,6 +35,7 @@ import java.util.Map;
|
|||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@RequestMapping("/market/benefit-point")
|
@RequestMapping("/market/benefit-point")
|
||||||
@Tag(name = "用户福利值表", description = "用户福利值表接口")
|
@Tag(name = "用户福利值表", description = "用户福利值表接口")
|
||||||
|
@PreAuth("hasAnyRole('administrator', 'admin', 'operator')")
|
||||||
public class MarketBenefitPointController extends BladeController {
|
public class MarketBenefitPointController extends BladeController {
|
||||||
|
|
||||||
private final IMarketBenefitPointService marketBenefitPointService;
|
private final IMarketBenefitPointService marketBenefitPointService;
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ import jakarta.validation.Valid;
|
|||||||
import org.springblade.core.excel.util.ExcelUtil;
|
import org.springblade.core.excel.util.ExcelUtil;
|
||||||
import org.springblade.core.mp.support.Condition;
|
import org.springblade.core.mp.support.Condition;
|
||||||
import org.springblade.core.mp.support.Query;
|
import org.springblade.core.mp.support.Query;
|
||||||
|
import org.springblade.core.secure.annotation.PreAuth;
|
||||||
import org.springblade.core.tool.api.R;
|
import org.springblade.core.tool.api.R;
|
||||||
import org.springblade.core.tool.utils.Func;
|
import org.springblade.core.tool.utils.Func;
|
||||||
import org.springblade.modules.market.excel.MarketBenefitPointLogExcel;
|
import org.springblade.modules.market.excel.MarketBenefitPointLogExcel;
|
||||||
@@ -36,6 +37,7 @@ import java.util.Map;
|
|||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@RequestMapping("/market/benefit-point-log")
|
@RequestMapping("/market/benefit-point-log")
|
||||||
@Tag(name = "用户福利值流水表", description = "用户福利值流水表接口")
|
@Tag(name = "用户福利值流水表", description = "用户福利值流水表接口")
|
||||||
|
@PreAuth("hasAnyRole('administrator', 'admin', 'operator')")
|
||||||
public class MarketBenefitPointLogController extends BladeController {
|
public class MarketBenefitPointLogController extends BladeController {
|
||||||
|
|
||||||
private final IMarketBenefitPointLogService marketBenefitPointLogService;
|
private final IMarketBenefitPointLogService marketBenefitPointLogService;
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ import jakarta.validation.Valid;
|
|||||||
|
|
||||||
import org.springblade.core.mp.support.Condition;
|
import org.springblade.core.mp.support.Condition;
|
||||||
import org.springblade.core.mp.support.Query;
|
import org.springblade.core.mp.support.Query;
|
||||||
|
import org.springblade.core.secure.annotation.PreAuth;
|
||||||
import org.springblade.core.tool.api.R;
|
import org.springblade.core.tool.api.R;
|
||||||
import org.springblade.core.tool.utils.Func;
|
import org.springblade.core.tool.utils.Func;
|
||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
||||||
@@ -31,6 +32,7 @@ import java.util.Map;
|
|||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@RequestMapping("/market/cash-coupon")
|
@RequestMapping("/market/cash-coupon")
|
||||||
@Tag(name = "用户现金券表", description = "用户现金券表接口")
|
@Tag(name = "用户现金券表", description = "用户现金券表接口")
|
||||||
|
@PreAuth("hasAnyRole('administrator', 'admin', 'operator')")
|
||||||
public class MarketCashCouponController extends BladeController {
|
public class MarketCashCouponController extends BladeController {
|
||||||
|
|
||||||
private final IMarketCashCouponService marketCashCouponService;
|
private final IMarketCashCouponService marketCashCouponService;
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ import jakarta.validation.Valid;
|
|||||||
import org.springblade.core.excel.util.ExcelUtil;
|
import org.springblade.core.excel.util.ExcelUtil;
|
||||||
import org.springblade.core.mp.support.Condition;
|
import org.springblade.core.mp.support.Condition;
|
||||||
import org.springblade.core.mp.support.Query;
|
import org.springblade.core.mp.support.Query;
|
||||||
|
import org.springblade.core.secure.annotation.PreAuth;
|
||||||
import org.springblade.core.tool.api.R;
|
import org.springblade.core.tool.api.R;
|
||||||
import org.springblade.core.tool.utils.Func;
|
import org.springblade.core.tool.utils.Func;
|
||||||
import org.springblade.modules.market.excel.MarketCashCouponLogExcel;
|
import org.springblade.modules.market.excel.MarketCashCouponLogExcel;
|
||||||
@@ -36,6 +37,7 @@ import java.util.Map;
|
|||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@RequestMapping("/market/cash-coupon-log")
|
@RequestMapping("/market/cash-coupon-log")
|
||||||
@Tag(name = "用户现金券流水表", description = "用户现金券流水表接口")
|
@Tag(name = "用户现金券流水表", description = "用户现金券流水表接口")
|
||||||
|
@PreAuth("hasAnyRole('administrator', 'admin', 'operator')")
|
||||||
public class MarketCashCouponLogController extends BladeController {
|
public class MarketCashCouponLogController extends BladeController {
|
||||||
|
|
||||||
private final IMarketCashCouponLogService marketCashCouponLogService;
|
private final IMarketCashCouponLogService marketCashCouponLogService;
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ import jakarta.validation.Valid;
|
|||||||
|
|
||||||
import org.springblade.core.mp.support.Condition;
|
import org.springblade.core.mp.support.Condition;
|
||||||
import org.springblade.core.mp.support.Query;
|
import org.springblade.core.mp.support.Query;
|
||||||
|
import org.springblade.core.secure.annotation.PreAuth;
|
||||||
import org.springblade.core.tool.api.R;
|
import org.springblade.core.tool.api.R;
|
||||||
import org.springblade.core.tool.utils.Func;
|
import org.springblade.core.tool.utils.Func;
|
||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
||||||
@@ -31,6 +32,7 @@ import java.util.Map;
|
|||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@RequestMapping("/market/cash-performance")
|
@RequestMapping("/market/cash-performance")
|
||||||
@Tag(name = "现金业绩", description = "现金业绩接口")
|
@Tag(name = "现金业绩", description = "现金业绩接口")
|
||||||
|
@PreAuth("hasAnyRole('administrator', 'admin', 'operator')")
|
||||||
public class MarketCashPerformanceController extends BladeController {
|
public class MarketCashPerformanceController extends BladeController {
|
||||||
|
|
||||||
private final IMarketCashPerformanceService marketCashPerformanceService;
|
private final IMarketCashPerformanceService marketCashPerformanceService;
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ import jakarta.validation.Valid;
|
|||||||
|
|
||||||
import org.springblade.core.mp.support.Condition;
|
import org.springblade.core.mp.support.Condition;
|
||||||
import org.springblade.core.mp.support.Query;
|
import org.springblade.core.mp.support.Query;
|
||||||
|
import org.springblade.core.secure.annotation.PreAuth;
|
||||||
import org.springblade.core.tool.api.R;
|
import org.springblade.core.tool.api.R;
|
||||||
import org.springblade.core.tool.utils.Func;
|
import org.springblade.core.tool.utils.Func;
|
||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
||||||
@@ -31,6 +32,7 @@ import java.util.Map;
|
|||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@RequestMapping("/market/cash-performance-log")
|
@RequestMapping("/market/cash-performance-log")
|
||||||
@Tag(name = "现金业绩日志", description = "现金业绩日志接口")
|
@Tag(name = "现金业绩日志", description = "现金业绩日志接口")
|
||||||
|
@PreAuth("hasAnyRole('administrator', 'admin', 'operator')")
|
||||||
public class MarketCashPerformanceLogController extends BladeController {
|
public class MarketCashPerformanceLogController extends BladeController {
|
||||||
|
|
||||||
private final IMarketCashPerformanceLogService marketCashPerformanceLogService;
|
private final IMarketCashPerformanceLogService marketCashPerformanceLogService;
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ import jakarta.validation.Valid;
|
|||||||
|
|
||||||
import org.springblade.core.mp.support.Condition;
|
import org.springblade.core.mp.support.Condition;
|
||||||
import org.springblade.core.mp.support.Query;
|
import org.springblade.core.mp.support.Query;
|
||||||
|
import org.springblade.core.secure.annotation.PreAuth;
|
||||||
import org.springblade.core.tool.api.R;
|
import org.springblade.core.tool.api.R;
|
||||||
import org.springblade.core.tool.utils.Func;
|
import org.springblade.core.tool.utils.Func;
|
||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
||||||
@@ -32,6 +33,7 @@ import java.util.Map;
|
|||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@RequestMapping("/market-commission/account")
|
@RequestMapping("/market-commission/account")
|
||||||
@Tag(name = "用户佣金账户表", description = "用户佣金账户表接口")
|
@Tag(name = "用户佣金账户表", description = "用户佣金账户表接口")
|
||||||
|
@PreAuth("hasAnyRole('administrator', 'admin', 'operator')")
|
||||||
public class MarketCommissionAccountController extends BladeController {
|
public class MarketCommissionAccountController extends BladeController {
|
||||||
|
|
||||||
private final IMarketCommissionAccountService marketCommissionAccountService;
|
private final IMarketCommissionAccountService marketCommissionAccountService;
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ import jakarta.validation.Valid;
|
|||||||
|
|
||||||
import org.springblade.core.mp.support.Condition;
|
import org.springblade.core.mp.support.Condition;
|
||||||
import org.springblade.core.mp.support.Query;
|
import org.springblade.core.mp.support.Query;
|
||||||
|
import org.springblade.core.secure.annotation.PreAuth;
|
||||||
import org.springblade.core.tool.api.R;
|
import org.springblade.core.tool.api.R;
|
||||||
import org.springblade.core.tool.utils.Func;
|
import org.springblade.core.tool.utils.Func;
|
||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
||||||
@@ -30,6 +31,7 @@ import java.util.Map;
|
|||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@RequestMapping("/market-commission/advertising-log")
|
@RequestMapping("/market-commission/advertising-log")
|
||||||
@Tag(name = "5%广告补贴佣金流水表", description = "5%广告补贴佣金流水表接口")
|
@Tag(name = "5%广告补贴佣金流水表", description = "5%广告补贴佣金流水表接口")
|
||||||
|
@PreAuth("hasAnyRole('administrator', 'admin', 'operator')")
|
||||||
public class MarketCommissionAdvertisingLogController extends BladeController {
|
public class MarketCommissionAdvertisingLogController extends BladeController {
|
||||||
|
|
||||||
private final IMarketCommissionAdvertisingLogService marketCommissionAdvertisingLogService;
|
private final IMarketCommissionAdvertisingLogService marketCommissionAdvertisingLogService;
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ import jakarta.validation.Valid;
|
|||||||
|
|
||||||
import org.springblade.core.mp.support.Condition;
|
import org.springblade.core.mp.support.Condition;
|
||||||
import org.springblade.core.mp.support.Query;
|
import org.springblade.core.mp.support.Query;
|
||||||
|
import org.springblade.core.secure.annotation.PreAuth;
|
||||||
import org.springblade.core.tool.api.R;
|
import org.springblade.core.tool.api.R;
|
||||||
import org.springblade.core.tool.utils.Func;
|
import org.springblade.core.tool.utils.Func;
|
||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
||||||
@@ -31,6 +32,7 @@ import java.util.Map;
|
|||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@RequestMapping("/market-commission/agency-log")
|
@RequestMapping("/market-commission/agency-log")
|
||||||
@Tag(name = "15%极差代理佣金流水表", description = "15%极差代理佣金流水表接口")
|
@Tag(name = "15%极差代理佣金流水表", description = "15%极差代理佣金流水表接口")
|
||||||
|
@PreAuth("hasAnyRole('administrator', 'admin', 'operator')")
|
||||||
public class MarketCommissionAgencyLogController extends BladeController {
|
public class MarketCommissionAgencyLogController extends BladeController {
|
||||||
|
|
||||||
private final IMarketCommissionAgencyLogService marketCommissionAgencyLogService;
|
private final IMarketCommissionAgencyLogService marketCommissionAgencyLogService;
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ import jakarta.validation.Valid;
|
|||||||
|
|
||||||
import org.springblade.core.mp.support.Condition;
|
import org.springblade.core.mp.support.Condition;
|
||||||
import org.springblade.core.mp.support.Query;
|
import org.springblade.core.mp.support.Query;
|
||||||
|
import org.springblade.core.secure.annotation.PreAuth;
|
||||||
import org.springblade.core.tool.api.R;
|
import org.springblade.core.tool.api.R;
|
||||||
import org.springblade.core.tool.utils.Func;
|
import org.springblade.core.tool.utils.Func;
|
||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
||||||
@@ -30,6 +31,7 @@ import java.util.Map;
|
|||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@RequestMapping("/market-commission/cocreator-log")
|
@RequestMapping("/market-commission/cocreator-log")
|
||||||
@Tag(name = "5%联创佣金流水表", description = "5%联创佣金流水表接口")
|
@Tag(name = "5%联创佣金流水表", description = "5%联创佣金流水表接口")
|
||||||
|
@PreAuth("hasAnyRole('administrator', 'admin', 'operator')")
|
||||||
public class MarketCommissionCoCreatorLogController extends BladeController {
|
public class MarketCommissionCoCreatorLogController extends BladeController {
|
||||||
|
|
||||||
private final IMarketCommissionCoCreatorLogService marketCommissionCoCreatorLogService;
|
private final IMarketCommissionCoCreatorLogService marketCommissionCoCreatorLogService;
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ import jakarta.validation.Valid;
|
|||||||
|
|
||||||
import org.springblade.core.mp.support.Condition;
|
import org.springblade.core.mp.support.Condition;
|
||||||
import org.springblade.core.mp.support.Query;
|
import org.springblade.core.mp.support.Query;
|
||||||
|
import org.springblade.core.secure.annotation.PreAuth;
|
||||||
import org.springblade.core.tool.api.R;
|
import org.springblade.core.tool.api.R;
|
||||||
import org.springblade.core.tool.utils.Func;
|
import org.springblade.core.tool.utils.Func;
|
||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
||||||
@@ -31,6 +32,7 @@ import java.util.Map;
|
|||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@RequestMapping("/market-commission/direct-push-log")
|
@RequestMapping("/market-commission/direct-push-log")
|
||||||
@Tag(name = "10%直推人佣金流水表", description = "10%直推人佣金流水表接口")
|
@Tag(name = "10%直推人佣金流水表", description = "10%直推人佣金流水表接口")
|
||||||
|
@PreAuth("hasAnyRole('administrator', 'admin', 'operator')")
|
||||||
public class MarketCommissionDirectPushLogController extends BladeController {
|
public class MarketCommissionDirectPushLogController extends BladeController {
|
||||||
|
|
||||||
private final IMarketCommissionDirectPushLogService marketCommissionDirectPushLogService;
|
private final IMarketCommissionDirectPushLogService marketCommissionDirectPushLogService;
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ import jakarta.validation.Valid;
|
|||||||
|
|
||||||
import org.springblade.core.mp.support.Condition;
|
import org.springblade.core.mp.support.Condition;
|
||||||
import org.springblade.core.mp.support.Query;
|
import org.springblade.core.mp.support.Query;
|
||||||
|
import org.springblade.core.secure.annotation.PreAuth;
|
||||||
import org.springblade.core.tool.api.R;
|
import org.springblade.core.tool.api.R;
|
||||||
import org.springblade.core.tool.utils.Func;
|
import org.springblade.core.tool.utils.Func;
|
||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
||||||
@@ -31,6 +32,7 @@ import java.util.Map;
|
|||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@RequestMapping("/market-commission/goods-cost-log")
|
@RequestMapping("/market-commission/goods-cost-log")
|
||||||
@Tag(name = "25%商品成本佣金流水表", description = "25%商品成本佣金流水表接口")
|
@Tag(name = "25%商品成本佣金流水表", description = "25%商品成本佣金流水表接口")
|
||||||
|
@PreAuth("hasAnyRole('administrator', 'admin', 'operator')")
|
||||||
public class MarketCommissionGoodsCostLogController extends BladeController {
|
public class MarketCommissionGoodsCostLogController extends BladeController {
|
||||||
|
|
||||||
private final IMarketCommissionGoodsCostLogService marketCommissionGoodsCostLogService;
|
private final IMarketCommissionGoodsCostLogService marketCommissionGoodsCostLogService;
|
||||||
|
|||||||
@@ -35,6 +35,7 @@ import jakarta.validation.Valid;
|
|||||||
|
|
||||||
import org.springblade.core.mp.support.Condition;
|
import org.springblade.core.mp.support.Condition;
|
||||||
import org.springblade.core.mp.support.Query;
|
import org.springblade.core.mp.support.Query;
|
||||||
|
import org.springblade.core.secure.annotation.PreAuth;
|
||||||
import org.springblade.core.tool.api.R;
|
import org.springblade.core.tool.api.R;
|
||||||
import org.springblade.core.tool.utils.Func;
|
import org.springblade.core.tool.utils.Func;
|
||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
||||||
@@ -57,6 +58,7 @@ import java.util.Map;
|
|||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@RequestMapping("/market-commission/operation-log")
|
@RequestMapping("/market-commission/operation-log")
|
||||||
@Tag(name = "5%运营佣金流水表", description = "5%运营佣金流水表接口")
|
@Tag(name = "5%运营佣金流水表", description = "5%运营佣金流水表接口")
|
||||||
|
@PreAuth("hasAnyRole('administrator', 'admin', 'operator')")
|
||||||
public class MarketCommissionOperationLogController extends BladeController {
|
public class MarketCommissionOperationLogController extends BladeController {
|
||||||
|
|
||||||
private final IMarketCommissionOperationLogService marketCommissionOperationLogService;
|
private final IMarketCommissionOperationLogService marketCommissionOperationLogService;
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ import jakarta.validation.Valid;
|
|||||||
|
|
||||||
import org.springblade.core.mp.support.Condition;
|
import org.springblade.core.mp.support.Condition;
|
||||||
import org.springblade.core.mp.support.Query;
|
import org.springblade.core.mp.support.Query;
|
||||||
|
import org.springblade.core.secure.annotation.PreAuth;
|
||||||
import org.springblade.core.tool.api.R;
|
import org.springblade.core.tool.api.R;
|
||||||
import org.springblade.core.tool.utils.Func;
|
import org.springblade.core.tool.utils.Func;
|
||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
||||||
@@ -30,6 +31,7 @@ import java.util.Map;
|
|||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@RequestMapping("/market-commission/service-provider-log")
|
@RequestMapping("/market-commission/service-provider-log")
|
||||||
@Tag(name = "5%服务商佣金流水表", description = "5%服务商佣金流水表接口")
|
@Tag(name = "5%服务商佣金流水表", description = "5%服务商佣金流水表接口")
|
||||||
|
@PreAuth("hasAnyRole('administrator', 'admin', 'operator')")
|
||||||
public class MarketCommissionServiceProviderLogController extends BladeController {
|
public class MarketCommissionServiceProviderLogController extends BladeController {
|
||||||
|
|
||||||
private final IMarketCommissionServiceProviderLogService marketCommissionServiceProviderLogService;
|
private final IMarketCommissionServiceProviderLogService marketCommissionServiceProviderLogService;
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ import jakarta.validation.Valid;
|
|||||||
|
|
||||||
import org.springblade.core.mp.support.Condition;
|
import org.springblade.core.mp.support.Condition;
|
||||||
import org.springblade.core.mp.support.Query;
|
import org.springblade.core.mp.support.Query;
|
||||||
|
import org.springblade.core.secure.annotation.PreAuth;
|
||||||
import org.springblade.core.tool.api.R;
|
import org.springblade.core.tool.api.R;
|
||||||
import org.springblade.core.tool.utils.Func;
|
import org.springblade.core.tool.utils.Func;
|
||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
||||||
@@ -31,6 +32,7 @@ import java.util.Map;
|
|||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@RequestMapping("/market-commission/user-point-log")
|
@RequestMapping("/market-commission/user-point-log")
|
||||||
@Tag(name = "30%购买人获取用户积分佣金流水表", description = "30%购买人获取用户积分佣金流水表接口")
|
@Tag(name = "30%购买人获取用户积分佣金流水表", description = "30%购买人获取用户积分佣金流水表接口")
|
||||||
|
@PreAuth("hasAnyRole('administrator', 'admin', 'operator')")
|
||||||
public class MarketCommissionUserPointLogController extends BladeController {
|
public class MarketCommissionUserPointLogController extends BladeController {
|
||||||
|
|
||||||
private final IMarketCommissionUserPointLogService marketCommissionUserPointLogService;
|
private final IMarketCommissionUserPointLogService marketCommissionUserPointLogService;
|
||||||
|
|||||||
@@ -35,6 +35,7 @@ import jakarta.validation.Valid;
|
|||||||
|
|
||||||
import org.springblade.core.mp.support.Condition;
|
import org.springblade.core.mp.support.Condition;
|
||||||
import org.springblade.core.mp.support.Query;
|
import org.springblade.core.mp.support.Query;
|
||||||
|
import org.springblade.core.secure.annotation.PreAuth;
|
||||||
import org.springblade.core.tool.api.R;
|
import org.springblade.core.tool.api.R;
|
||||||
import org.springblade.core.tool.utils.Func;
|
import org.springblade.core.tool.utils.Func;
|
||||||
import org.springblade.modules.market.manager.MarketUserManager;
|
import org.springblade.modules.market.manager.MarketUserManager;
|
||||||
@@ -58,6 +59,7 @@ import java.util.Map;
|
|||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@RequestMapping("/market-info")
|
@RequestMapping("/market-info")
|
||||||
@Tag(name = "用户拓展信息表", description = "用户拓展信息表接口")
|
@Tag(name = "用户拓展信息表", description = "用户拓展信息表接口")
|
||||||
|
@PreAuth("hasAnyRole('administrator', 'admin', 'operator')")
|
||||||
public class MarketInfoController extends BladeController {
|
public class MarketInfoController extends BladeController {
|
||||||
|
|
||||||
private final IMarketInfoService marketInfoService;
|
private final IMarketInfoService marketInfoService;
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ import jakarta.validation.Valid;
|
|||||||
|
|
||||||
import org.springblade.core.mp.support.Condition;
|
import org.springblade.core.mp.support.Condition;
|
||||||
import org.springblade.core.mp.support.Query;
|
import org.springblade.core.mp.support.Query;
|
||||||
|
import org.springblade.core.secure.annotation.PreAuth;
|
||||||
import org.springblade.core.tool.api.R;
|
import org.springblade.core.tool.api.R;
|
||||||
import org.springblade.core.tool.utils.Func;
|
import org.springblade.core.tool.utils.Func;
|
||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
||||||
@@ -31,6 +32,7 @@ import java.util.Map;
|
|||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@RequestMapping("/market/benefit-package-settlement")
|
@RequestMapping("/market/benefit-package-settlement")
|
||||||
@Tag(name = "用户福利包每天结算记录", description = "用户福利包每天结算记录接口")
|
@Tag(name = "用户福利包每天结算记录", description = "用户福利包每天结算记录接口")
|
||||||
|
@PreAuth("hasAnyRole('administrator', 'admin', 'operator')")
|
||||||
public class MarketPackageDailySettlementController extends BladeController {
|
public class MarketPackageDailySettlementController extends BladeController {
|
||||||
|
|
||||||
private final IMarketPackageDailySettlementService userMarketPackageDailySettlementService;
|
private final IMarketPackageDailySettlementService userMarketPackageDailySettlementService;
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ import jakarta.validation.Valid;
|
|||||||
|
|
||||||
import org.springblade.core.mp.support.Condition;
|
import org.springblade.core.mp.support.Condition;
|
||||||
import org.springblade.core.mp.support.Query;
|
import org.springblade.core.mp.support.Query;
|
||||||
|
import org.springblade.core.secure.annotation.PreAuth;
|
||||||
import org.springblade.core.tool.api.R;
|
import org.springblade.core.tool.api.R;
|
||||||
import org.springblade.core.tool.utils.Func;
|
import org.springblade.core.tool.utils.Func;
|
||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
||||||
@@ -30,6 +31,7 @@ import java.util.Map;
|
|||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@RequestMapping("/market/upgrade-cash-log")
|
@RequestMapping("/market/upgrade-cash-log")
|
||||||
@Tag(name = "用户现金升级日志", description = "用户现金升级日志接口")
|
@Tag(name = "用户现金升级日志", description = "用户现金升级日志接口")
|
||||||
|
@PreAuth("hasAnyRole('administrator', 'admin', 'operator')")
|
||||||
public class MarketUpgradeCashLogController extends BladeController {
|
public class MarketUpgradeCashLogController extends BladeController {
|
||||||
|
|
||||||
private final IMarketUpgradeCashLogService marketUpgradeCashLogService;
|
private final IMarketUpgradeCashLogService marketUpgradeCashLogService;
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ import jakarta.validation.Valid;
|
|||||||
|
|
||||||
import org.springblade.core.mp.support.Condition;
|
import org.springblade.core.mp.support.Condition;
|
||||||
import org.springblade.core.mp.support.Query;
|
import org.springblade.core.mp.support.Query;
|
||||||
|
import org.springblade.core.secure.annotation.PreAuth;
|
||||||
import org.springblade.core.tool.api.R;
|
import org.springblade.core.tool.api.R;
|
||||||
import org.springblade.core.tool.utils.Func;
|
import org.springblade.core.tool.utils.Func;
|
||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
||||||
@@ -31,6 +32,7 @@ import java.util.Map;
|
|||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@RequestMapping("/market/upgrade-config")
|
@RequestMapping("/market/upgrade-config")
|
||||||
@Tag(name = "用户等级升级配置", description = "用户等级升级配置接口")
|
@Tag(name = "用户等级升级配置", description = "用户等级升级配置接口")
|
||||||
|
@PreAuth("hasAnyRole('administrator', 'admin', 'operator')")
|
||||||
public class MarketUpgradeConfigController extends BladeController {
|
public class MarketUpgradeConfigController extends BladeController {
|
||||||
|
|
||||||
private final IMarketUpgradeConfigService marketUpgradeConfigService;
|
private final IMarketUpgradeConfigService marketUpgradeConfigService;
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ import jakarta.validation.Valid;
|
|||||||
|
|
||||||
import org.springblade.core.mp.support.Condition;
|
import org.springblade.core.mp.support.Condition;
|
||||||
import org.springblade.core.mp.support.Query;
|
import org.springblade.core.mp.support.Query;
|
||||||
|
import org.springblade.core.secure.annotation.PreAuth;
|
||||||
import org.springblade.core.tool.api.R;
|
import org.springblade.core.tool.api.R;
|
||||||
import org.springblade.core.tool.utils.Func;
|
import org.springblade.core.tool.utils.Func;
|
||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
||||||
@@ -31,6 +32,7 @@ import java.util.Map;
|
|||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@RequestMapping("/market/upgrade-welfare-log")
|
@RequestMapping("/market/upgrade-welfare-log")
|
||||||
@Tag(name = "用户福利包升级日志", description = "用户福利包升级日志接口")
|
@Tag(name = "用户福利包升级日志", description = "用户福利包升级日志接口")
|
||||||
|
@PreAuth("hasAnyRole('administrator', 'admin', 'operator')")
|
||||||
public class MarketUpgradeWelfareLogController extends BladeController {
|
public class MarketUpgradeWelfareLogController extends BladeController {
|
||||||
|
|
||||||
private final IMarketUpgradeWelfareLogService marketUpgradeWelfareLogService;
|
private final IMarketUpgradeWelfareLogService marketUpgradeWelfareLogService;
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ import jakarta.validation.Valid;
|
|||||||
|
|
||||||
import org.springblade.core.mp.support.Condition;
|
import org.springblade.core.mp.support.Condition;
|
||||||
import org.springblade.core.mp.support.Query;
|
import org.springblade.core.mp.support.Query;
|
||||||
|
import org.springblade.core.secure.annotation.PreAuth;
|
||||||
import org.springblade.core.tool.api.R;
|
import org.springblade.core.tool.api.R;
|
||||||
import org.springblade.core.tool.utils.Func;
|
import org.springblade.core.tool.utils.Func;
|
||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
||||||
@@ -32,6 +33,7 @@ import java.util.Map;
|
|||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@RequestMapping("/market/benefit-commission")
|
@RequestMapping("/market/benefit-commission")
|
||||||
@Tag(name = "用户佣金表", description = "用户佣金表接口")
|
@Tag(name = "用户佣金表", description = "用户佣金表接口")
|
||||||
|
@PreAuth("hasAnyRole('administrator', 'admin', 'operator')")
|
||||||
public class MarketUserCommissionController extends BladeController {
|
public class MarketUserCommissionController extends BladeController {
|
||||||
|
|
||||||
private final IMarketUserCommissionService userCommissionService;
|
private final IMarketUserCommissionService userCommissionService;
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ import jakarta.validation.Valid;
|
|||||||
import org.springblade.core.excel.util.ExcelUtil;
|
import org.springblade.core.excel.util.ExcelUtil;
|
||||||
import org.springblade.core.mp.support.Condition;
|
import org.springblade.core.mp.support.Condition;
|
||||||
import org.springblade.core.mp.support.Query;
|
import org.springblade.core.mp.support.Query;
|
||||||
|
import org.springblade.core.secure.annotation.PreAuth;
|
||||||
import org.springblade.core.tool.api.R;
|
import org.springblade.core.tool.api.R;
|
||||||
import org.springblade.core.tool.utils.Func;
|
import org.springblade.core.tool.utils.Func;
|
||||||
import org.springblade.modules.market.excel.MarketUserCommissionLogExcel;
|
import org.springblade.modules.market.excel.MarketUserCommissionLogExcel;
|
||||||
@@ -38,6 +39,7 @@ import java.util.Map;
|
|||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@RequestMapping("/market/benefit-commission-log")
|
@RequestMapping("/market/benefit-commission-log")
|
||||||
@Tag(name = "用户佣金流水表", description = "用户佣金流水表接口")
|
@Tag(name = "用户佣金流水表", description = "用户佣金流水表接口")
|
||||||
|
@PreAuth("hasAnyRole('administrator', 'admin', 'operator')")
|
||||||
public class MarketUserCommissionLogController extends BladeController {
|
public class MarketUserCommissionLogController extends BladeController {
|
||||||
|
|
||||||
private final IMarketUserCommissionLogService userCommissionLogService;
|
private final IMarketUserCommissionLogService userCommissionLogService;
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ import jakarta.validation.Valid;
|
|||||||
|
|
||||||
import org.springblade.core.mp.support.Condition;
|
import org.springblade.core.mp.support.Condition;
|
||||||
import org.springblade.core.mp.support.Query;
|
import org.springblade.core.mp.support.Query;
|
||||||
|
import org.springblade.core.secure.annotation.PreAuth;
|
||||||
import org.springblade.core.tool.api.R;
|
import org.springblade.core.tool.api.R;
|
||||||
import org.springblade.core.tool.utils.Func;
|
import org.springblade.core.tool.utils.Func;
|
||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
||||||
@@ -31,6 +32,7 @@ import java.util.Map;
|
|||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@RequestMapping("/market/welfare-performance/")
|
@RequestMapping("/market/welfare-performance/")
|
||||||
@Tag(name = "福利包业绩", description = "福利包业绩接口")
|
@Tag(name = "福利包业绩", description = "福利包业绩接口")
|
||||||
|
@PreAuth("hasAnyRole('administrator', 'admin', 'operator')")
|
||||||
public class MarketWelfarePerformanceController extends BladeController {
|
public class MarketWelfarePerformanceController extends BladeController {
|
||||||
|
|
||||||
private final IMarketWelfarePerformanceService marketWelfarePerformanceService;
|
private final IMarketWelfarePerformanceService marketWelfarePerformanceService;
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ import jakarta.validation.Valid;
|
|||||||
|
|
||||||
import org.springblade.core.mp.support.Condition;
|
import org.springblade.core.mp.support.Condition;
|
||||||
import org.springblade.core.mp.support.Query;
|
import org.springblade.core.mp.support.Query;
|
||||||
|
import org.springblade.core.secure.annotation.PreAuth;
|
||||||
import org.springblade.core.tool.api.R;
|
import org.springblade.core.tool.api.R;
|
||||||
import org.springblade.core.tool.utils.Func;
|
import org.springblade.core.tool.utils.Func;
|
||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
||||||
@@ -31,6 +32,7 @@ import java.util.Map;
|
|||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@RequestMapping("/market/welfare-performance-log")
|
@RequestMapping("/market/welfare-performance-log")
|
||||||
@Tag(name = "福利包业绩日志", description = "福利包业绩日志接口")
|
@Tag(name = "福利包业绩日志", description = "福利包业绩日志接口")
|
||||||
|
@PreAuth("hasAnyRole('administrator', 'admin', 'operator')")
|
||||||
public class MarketWelfarePerformanceLogController extends BladeController {
|
public class MarketWelfarePerformanceLogController extends BladeController {
|
||||||
|
|
||||||
private final IMarketWelfarePerformanceLogService marketWelfarePerformanceLogService;
|
private final IMarketWelfarePerformanceLogService marketWelfarePerformanceLogService;
|
||||||
|
|||||||
Reference in New Issue
Block a user