refactor(unipay): 将 UniGatewayPayController 迁入 trade.controller

与 UniTrade 等商户签名开放 API 同包,删除空的 gateway 控制器包;对外 /unipay/gateway 路径不变。
This commit is contained in:
DaxPay Dev
2026-07-15 14:46:39 +08:00
parent 07e147be4a
commit 3bc30cc570
2 changed files with 5 additions and 2 deletions

View File

@@ -5,7 +5,7 @@ import org.springframework.context.annotation.ComponentScan;
/// # 开放支付端装配入口
///
/// 扫描 unipay 模块trade / gateway / client注册开放 API 与公开 H5 控制器。
/// 扫描 unipay 模块trade 商户开放 API / client 公开 H5),注册控制器。
/// 支付编排在 daxpay-payment-coretrade.runtime.service.pay.*);本模块不反向被内核依赖。
@AutoConfiguration
@ComponentScan

View File

@@ -1,4 +1,4 @@
package cn.daxpay.open.payment.unipay.gateway.controller;
package cn.daxpay.open.payment.unipay.trade.controller;
import cn.daxpay.open.payment.unipay.aop.PaymentVerify;
import cn.daxpay.open.payment.common.result.DaxResult;
@@ -19,6 +19,9 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/// # 网关支付开放接口
///
/// 商户签名 API`@PaymentVerify` [UniTradeController] 等同属 trade 开放层
/// 产品语义网关支付体现在 URL `/unipay/gateway` param/result.gateway而非独立 controller
@PaymentVerify
@IgnoreAuth
@Tag(name = "网关支付接口")