update 部分接口改成不需要登录鉴权

This commit is contained in:
yyb
2026-01-08 10:11:50 +08:00
parent 48fb364d95
commit 4ff004f2ac
2 changed files with 3 additions and 0 deletions

View File

@@ -2,6 +2,7 @@ package com.m2pool.lease.controller;
import com.m2pool.lease.annotation.Decrypt; import com.m2pool.lease.annotation.Decrypt;
import com.m2pool.lease.annotation.LoginRequired;
import com.m2pool.lease.dto.*; import com.m2pool.lease.dto.*;
import com.m2pool.lease.service.LeaseProductService; import com.m2pool.lease.service.LeaseProductService;
import com.m2pool.lease.service.LeaseUserOwnedProductService; import com.m2pool.lease.service.LeaseUserOwnedProductService;
@@ -62,6 +63,7 @@ public class LeaseProductController {
@ApiOperation("单个商品矿机列表页面---获取支付方式") @ApiOperation("单个商品矿机列表页面---获取支付方式")
@PostMapping("/getPayTypes") @PostMapping("/getPayTypes")
@LoginRequired(value = false)
public Result<List<PayConfigDto>> getPayTypes(@RequestBody(required = false) ShopPayTypeVo shopPayTypeVo) { public Result<List<PayConfigDto>> getPayTypes(@RequestBody(required = false) ShopPayTypeVo shopPayTypeVo) {
return leaseProductService.getPayTypes(shopPayTypeVo); return leaseProductService.getPayTypes(shopPayTypeVo);
} }

View File

@@ -48,6 +48,7 @@ public class LeaseShoppingCartV2Controller {
@ApiOperation("查询购物车中商品列表") @ApiOperation("查询购物车中商品列表")
@PostMapping("/getGoodsListV2") @PostMapping("/getGoodsListV2")
@LoginRequired(value = false)
public PageResult<ShopCartV2Dto> getGoodsListV2(@RequestBody(required = false) PageVo pageVo) { public PageResult<ShopCartV2Dto> getGoodsListV2(@RequestBody(required = false) PageVo pageVo) {
if (pageVo == null){ if (pageVo == null){
pageVo = new PageVo(); pageVo = new PageVo();