You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
453 B
PHP
18 lines
453 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use App\Controller\Payment\PageController;
|
|
use App\Controller\Payment\PayController;
|
|
use Hyperf\HttpServer\Router\Router;
|
|
|
|
Router::get('/favicon.ico', function () {
|
|
return 'sdfsd';
|
|
});
|
|
|
|
Router::addGroup('/payment',function () {
|
|
Router::post('/jsapi', [PayController::class, 'jsapi']);
|
|
Router::post('/page', [PageController::class, 'index']);
|
|
Router::post('/notify', [PayController::class, 'index']);
|
|
});
|