package com.qxgmat.controller.gateway;

import com.nuliji.tools.Response;
import com.nuliji.tools.ResponseHelp;
import com.qxgmat.dto.response.MyDto;
import io.swagger.annotations.ApiOperation;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;

@RestController
@RequestMapping("/gateway/pay")
public class PayController {

    @RequestMapping(value = "/wechat_qr", method = RequestMethod.POST)
    @ApiOperation(value = "微信二维码支付", httpMethod = "POST")
    public Response<MyDto> wechatQr(HttpSession session, HttpServletRequest request) {
        return ResponseHelp.success(null);
    }

    @RequestMapping(value = "/alipay_pc", method = RequestMethod.POST)
    @ApiOperation(value = "支付宝pc支付", httpMethod = "POST")
    public Response alipayPc(HttpSession session, HttpServletRequest request) {

        return ResponseHelp.success(null);
    }
}
