1 Star 4 Fork 2

xcc / my-cloud

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
AccountInfoController.java 877 Bytes
一键复制 编辑 原始数据 按行查看 历史
xcc 提交于 2021-03-04 22:43 . 提交事务代码
package com.xcc.dtx.notifydemo.bank1.controller;
import com.xcc.dtx.notifydemo.bank1.entity.AccountPay;
import com.xcc.dtx.notifydemo.bank1.service.AccountInfoService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;
/**
* @author Administrator
* @version 1.0
**/
@RestController
@Slf4j
public class AccountInfoController {
@Autowired
private AccountInfoService accountInfoService;
//主动查询充值结果
@GetMapping(value = "/payresult/{txNo}")
public AccountPay result(@PathVariable("txNo") String txNo){
AccountPay accountPay = accountInfoService.queryPayResult(txNo);
return accountPay;
}
}
Java
1
https://gitee.com/xiaocheng0902/my-cloud.git
git@gitee.com:xiaocheng0902/my-cloud.git
xiaocheng0902
my-cloud
my-cloud
master

搜索帮助