api.php 574 B

12345678910111213141516
  1. <?php
  2. use Webman\Route;
  3. Route::group('/api',function (){
  4. Route::group('/market_custom', function (){
  5. Route::post('/update', [\app\api\controller\custom\MarketCustom::class,'updateStatus']);
  6. });
  7. Route::group('/pay',function (){
  8. Route::post('/alipay',[\app\api\controller\pay\AlipayController::class,'index']);
  9. Route::post('/wxpay',[\app\api\controller\pay\WxpayController::class,'index']);
  10. });
  11. Route::group('/scan',function (){
  12. Route::get('/qrcode',[\app\api\controller\scan\QrcodeController::class,'index']);
  13. });
  14. });