|
|
@@ -49,6 +49,10 @@ class PaymentOrder extends Controller
|
|
|
public function check()
|
|
|
{
|
|
|
$id = request()->input('id');
|
|
|
+ if(empty($id)){
|
|
|
+ return $this->error(HttpStatus::CUSTOM_ERROR,'参数错误');
|
|
|
+
|
|
|
+ }
|
|
|
try {
|
|
|
$result = PaymentOrderService::singlePayOrder($id);
|
|
|
$this->success([],$result['message'] ?? '操作成功');
|