Compare commits
2 Commits
2b14390c27
...
829046e131
| Author | SHA1 | Date |
|---|---|---|
|
|
829046e131 | |
|
|
6940f67264 |
|
|
@ -475,7 +475,7 @@ public class PayController extends BaseController
|
|||
|
||||
@PostMapping("/aliPay")
|
||||
@ApiOperation(value = "支付宝支付", notes = "支付宝支付", httpMethod = "POST")
|
||||
public AjaxResult aliPay(@RequestBody AppOrderArg appOrderArg) {
|
||||
public String aliPay(@RequestBody AppOrderArg appOrderArg) {
|
||||
String orderNo = KeyUtil.generateUniqueKey();
|
||||
AlipayTradeCreateResponse result = null;
|
||||
try {
|
||||
|
|
@ -494,9 +494,9 @@ public class PayController extends BaseController
|
|||
order.setCreateTime(new Date());
|
||||
order.setLevel(appOrderArg.getLevel());
|
||||
appOrderMapper.insertAppOrder(order);
|
||||
return AjaxResult.success(result.getBody());
|
||||
return result.getBody();
|
||||
} else {
|
||||
return AjaxResult.error(result.getMsg());
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue