NotifyController.php 597 B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. namespace App\Http\Controllers\Api\v1;
  3. use App\Http\Controllers\Api\webApp;
  4. use App\Services\CregisPayService;
  5. /**
  6. * 钱包回调处理
  7. * Class NotifyController
  8. * @package App\Http\Controllers\Api\v1
  9. */
  10. class NotifyController extends webApp
  11. {
  12. /**
  13. * 提现回调
  14. * @return string
  15. */
  16. public function cregisCallback()
  17. {
  18. return CregisPayService::make()->withdrawCallBack();
  19. }
  20. /**
  21. * 充值回调
  22. * @return string
  23. */
  24. public function rechargeCallback()
  25. {
  26. return CregisPayService::make()->rechargeCallBack();
  27. }
  28. }