update 部分接口改成不需要登录鉴权
This commit is contained in:
@@ -2,6 +2,7 @@ package com.m2pool.lease.controller;
|
||||
|
||||
|
||||
import com.m2pool.lease.annotation.Decrypt;
|
||||
import com.m2pool.lease.annotation.LoginRequired;
|
||||
import com.m2pool.lease.dto.*;
|
||||
import com.m2pool.lease.service.LeaseProductService;
|
||||
import com.m2pool.lease.service.LeaseUserOwnedProductService;
|
||||
@@ -62,6 +63,7 @@ public class LeaseProductController {
|
||||
|
||||
@ApiOperation("单个商品矿机列表页面---获取支付方式")
|
||||
@PostMapping("/getPayTypes")
|
||||
@LoginRequired(value = false)
|
||||
public Result<List<PayConfigDto>> getPayTypes(@RequestBody(required = false) ShopPayTypeVo shopPayTypeVo) {
|
||||
return leaseProductService.getPayTypes(shopPayTypeVo);
|
||||
}
|
||||
|
||||
@@ -48,6 +48,7 @@ public class LeaseShoppingCartV2Controller {
|
||||
|
||||
@ApiOperation("查询购物车中商品列表")
|
||||
@PostMapping("/getGoodsListV2")
|
||||
@LoginRequired(value = false)
|
||||
public PageResult<ShopCartV2Dto> getGoodsListV2(@RequestBody(required = false) PageVo pageVo) {
|
||||
if (pageVo == null){
|
||||
pageVo = new PageVo();
|
||||
|
||||
Reference in New Issue
Block a user