diff --git a/app/Service/Test/Proxy/AopService.php b/app/Service/Test/Proxy/AopService.php new file mode 100644 index 0000000..c0abec7 --- /dev/null +++ b/app/Service/Test/Proxy/AopService.php @@ -0,0 +1,33 @@ +return->success('success',$this->paymentService->pay((float)$this->request->input('amount',1))); + } +} \ No newline at end of file diff --git a/app/Service/Test/Proxy/Payment/PaymentService.php b/app/Service/Test/Proxy/Payment/PaymentService.php new file mode 100644 index 0000000..ceb0178 --- /dev/null +++ b/app/Service/Test/Proxy/Payment/PaymentService.php @@ -0,0 +1,29 @@ + $amount, + 'msg' => 'Processing payment of '.$amount. PHP_EOL, + ]; + } +} \ No newline at end of file