feat: update appraisal ordering and payment flows
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace app\controller\open;
|
||||
|
||||
use app\support\ShouqianbaPaymentService;
|
||||
use support\Request;
|
||||
|
||||
class ShouqianbaPaymentController
|
||||
{
|
||||
public function notify(Request $request)
|
||||
{
|
||||
$service = new ShouqianbaPaymentService();
|
||||
try {
|
||||
$service->handleNotification($request->rawBody());
|
||||
return json($service->notificationResponse(true));
|
||||
} catch (\Throwable $e) {
|
||||
return json($service->notificationResponse(false));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user