|
|
|
@ -10,6 +10,7 @@ declare(strict_types=1); |
|
|
|
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE |
|
|
|
*/ |
|
|
|
|
|
|
|
use App\Controller\v3\CcbNotifyController; |
|
|
|
use App\Controller\v3\SfExpressController; |
|
|
|
use Hyperf\HttpServer\Router\Router; |
|
|
|
|
|
|
|
@ -201,10 +202,10 @@ Router::addGroup('/v3/sf_express/', function () { |
|
|
|
|
|
|
|
// 建行支付回调
|
|
|
|
Router::addGroup('/v3/ccb/',function () { |
|
|
|
Router::post('notify/pay', 'App\Controller\v3\CCBNotifyController@pay'); |
|
|
|
Router::post('notify/refund', 'App\Controller\v3\NotifyController@refund'); |
|
|
|
Router::post('notify/merchant', 'App\Controller\v3\NotifyController@merchant'); |
|
|
|
Router::post('notify/accounting', 'App\Controller\v3\NotifyController@accounting'); |
|
|
|
Router::post('notify/bill', 'App\Controller\v3\NotifyController@bill'); |
|
|
|
Router::post('notify/platform', 'App\Controller\v3\NotifyController@platform'); |
|
|
|
Router::post('notify/pay', [CcbNotifyController::class, 'pay']); |
|
|
|
Router::post('notify/refund', [CcbNotifyController::class, 'refund']); |
|
|
|
Router::post('notify/merchant', [CcbNotifyController::class, 'merchant']); |
|
|
|
Router::post('notify/accounting', [CcbNotifyController::class, 'accounting']); |
|
|
|
Router::post('notify/bill', [CcbNotifyController::class, 'bill']); |
|
|
|
Router::post('notify/platform', [CcbNotifyController::class, 'platform']); |
|
|
|
}); |