| | |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | 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.*; |
| | | |
| | | import javax.annotation.Resource; |
| | | import javax.servlet.http.HttpServletRequest; |
| | |
| | | public FebsResponse pay(@RequestBody VipBuyDto vipBuyDto) { |
| | | return new FebsResponse().success().data(payService.aliPay(vipBuyDto)); |
| | | } |
| | | |
| | | @ApiOperation("获取usdt地址") |
| | | @GetMapping(value = "/address") |
| | | public FebsResponse address() { |
| | | return new FebsResponse().success().data(this.payService.findUsdtAddress()); |
| | | } |
| | | } |