This commit is contained in:
parent
42f3840fac
commit
87634c5375
|
|
@ -10,6 +10,7 @@ import com.ghy.payment.domain.FinancialMaster;
|
||||||
import com.ghy.payment.service.FinancialMasterService;
|
import com.ghy.payment.service.FinancialMasterService;
|
||||||
import com.huifu.adapay.core.exception.BaseAdaPayException;
|
import com.huifu.adapay.core.exception.BaseAdaPayException;
|
||||||
import org.springframework.web.bind.annotation.PostMapping;
|
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.RequestMapping;
|
||||||
import org.springframework.web.bind.annotation.RestController;
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
|
||||||
|
|
@ -37,7 +38,7 @@ public class AlipayController extends BaseController {
|
||||||
* 支付宝正扫支付
|
* 支付宝正扫支付
|
||||||
*/
|
*/
|
||||||
@PostMapping("qr")
|
@PostMapping("qr")
|
||||||
public AjaxResult qrPay(Long orderMasterId) {
|
public AjaxResult qrPay(@RequestBody Long orderMasterId) {
|
||||||
OrderMaster om = orderMasterService.selectById(orderMasterId);
|
OrderMaster om = orderMasterService.selectById(orderMasterId);
|
||||||
FinancialMaster fm = financialMasterService.selectByOrderMasterId(orderMasterId);
|
FinancialMaster fm = financialMasterService.selectByOrderMasterId(orderMasterId);
|
||||||
if (om == null || fm == null) {
|
if (om == null || fm == null) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue