示例#1
0
 public function checkPay($id)
 {
     $api = new Api();
     $state = PaymentCloud::stateOrder($api->id(), $id, true);
     return Response::json(['data' => $state, 'message' => $state['message']]);
 }