mirror of
https://gitee.com/dromara/dax-pay.git
synced 2025-09-07 13:10:44 +00:00
feat 微信和支付宝聚合支付处理
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
package cn.bootx.platform.daxpay.admin.controller;
|
||||
|
||||
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
|
||||
/**
|
||||
* 嵌入式前端项目转发控制器, 不用输入 index.html也可以正常访问
|
||||
* @author xxm
|
||||
* @since 2024/2/10
|
||||
*/
|
||||
@Controller
|
||||
@RequestMapping
|
||||
public class ForwardFrontController {
|
||||
|
||||
/**
|
||||
* 将/front/*的访问请求代理到/h5/index.html*
|
||||
*/
|
||||
@GetMapping("/front/")
|
||||
public String toH5(){
|
||||
return "forward:/front/index.html";
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user