| 1234567891011121314151617181920212223242526 |
- <?php
- use Illuminate\Http\Request;
- use Illuminate\Support\Facades\Route;
- /*
- |--------------------------------------------------------------------------
- | API Routes
- |--------------------------------------------------------------------------
- |
- | Here is where you can register API routes for your application. These
- | routes are loaded by the RouteServiceProvider within a group which
- | is assigned the "api" middleware group. Enjoy building your API!
- |
- */
- Route::post('get/payment', 'MerchantChannelController@channelLists');
- // 获取支付url
- Route::post('pay/url', 'MerchantPayController@getPayUrl');
- // 订单回调
- Route::any('/notify/{orderId}/{payCode}', 'OrderController@notify');
- Route::any('test/index', 'TestController@index');
|