feat:打包排除文档

This commit is contained in:
dzc committed 2025-05-06 16:25:22 +08:00
1 parent fb703a956d
commit ef1194ee0b
10 files changed
+75 -38

No files matched your search

@@ -1,6 +1,7 @@
package com.bsd.pjcloud.hard.api.feign;
import com.bsd.pjcloud.common.core.constant.ServiceNameConstants;
import com.bsd.pjcloud.common.feign.annotation.NoToken;
import com.bsd.pjcloud.thirdparty.dto.pay.PayDto;
import com.bsd.pjcloud.thirdparty.dto.pay.RefundDto;
import com.bsd.pjcloud.thirdparty.vo.pay.PayBaseVo;
@@ -10,18 +11,21 @@ import com.bsd.pjcloud.wallet.api.constant.WalletTypeEnum;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;
@FeignClient(contextId = "remoteHardThirdPayService", value = ServiceNameConstants.HARDWARE_SERVICE)
public interface RemoteHardThirdPayService {
/**
* 第三方支付
*/
@PostMapping("/hard-third-pay/wallet-refund")
PayBaseVo<PayVo> walletPay(@RequestBody PayDto dto, WalletTypeEnum walletType);
@NoToken
@PostMapping("/hard-third-pay/wallet-pay")
PayBaseVo<PayVo> walletPay(@RequestBody PayDto dto, @RequestParam WalletTypeEnum walletType);
/**
* 第三方退款
*/
@NoToken
@PostMapping("/hard-third-pay/wallet-refund")
PayBaseVo<RefundVo> walletRefund(@RequestBody RefundDto dto);
@@ -14,10 +14,7 @@ import io.swagger.v3.oas.annotations.security.SecurityRequirement;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.RequiredArgsConstructor;
import org.springframework.http.HttpHeaders;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.*;
@RestController
@RequiredArgsConstructor
@@ -32,7 +29,7 @@ public class HardThirdPayController {
@PostMapping("/wallet-pay")
@SysLog("第三方支付")
@Operation(summary = "第三方支付")
public PayBaseVo<PayVo> walletPay(@RequestBody PayDto dto, WalletTypeEnum walletType) {
public PayBaseVo<PayVo> walletPay(@RequestBody PayDto dto, @RequestParam WalletTypeEnum walletType) {
return hardThirdPayService.walletPay(dto, walletType);
}