|
6 | 6 | $middleware = config('checkmobi.route_middleware');
|
7 | 7 |
|
8 | 8 | Route::group(['middleware' => $middleware ? explode(',', $middleware) : []], function(){
|
9 |
| - Route::prefix('/api/checkmobi')->name('checkmobi')->group(function(){ |
10 |
| - Route::post('validation/request', 'Myckhel\CheckMobi\Http\Controllers\CheckMobiVerificationController@request'); |
11 |
| - Route::post('validation/verify', 'Myckhel\CheckMobi\Http\Controllers\CheckMobiVerificationController@verify'); |
12 |
| - Route::get('validation/status/{id}', 'Myckhel\CheckMobi\Http\Controllers\CheckMobiVerificationController@validationStatus'); |
13 |
| - Route::get('my-account', 'Myckhel\CheckMobi\Http\Controllers\CheckMobiVerificationController@getAccountDetails'); |
14 |
| - Route::get('countries', 'Myckhel\CheckMobi\Http\Controllers\CheckMobiVerificationController@getCountriesList'); |
15 |
| - Route::get('prefixes', 'Myckhel\CheckMobi\Http\Controllers\CheckMobiVerificationController@getPrefixes'); |
16 |
| - Route::post('checknumber', 'Myckhel\CheckMobi\Http\Controllers\CheckMobiVerificationController@checkNumber'); |
17 |
| - Route::post('sms/send', 'Myckhel\CheckMobi\Http\Controllers\CheckMobiVerificationController@sendSMS'); |
18 |
| - Route::get('sms/{id}', 'Myckhel\CheckMobi\Http\Controllers\CheckMobiVerificationController@getSmsDetails'); |
19 |
| - Route::post('call', 'Myckhel\CheckMobi\Http\Controllers\CheckMobiVerificationController@placeCall'); |
20 |
| - Route::get('call/{id}', 'Myckhel\CheckMobi\Http\Controllers\CheckMobiVerificationController@getCallDetails'); |
21 |
| - Route::delete('call/{id}', 'Myckhel\CheckMobi\Http\Controllers\CheckMobiVerificationController@hangUpCall'); |
22 |
| - |
23 |
| - }); |
24 |
| - |
25 |
| - Route::resource('/api/checkmobi', 'Myckhel\CheckMobi\Http\Controllers\CheckMobiVerificationController'); |
| 9 | + // Route::prefix('/api/checkmobi')->name('checkmobi')->group(function(){ |
| 10 | + // Route::post('validation/request', 'Myckhel\CheckMobi\Http\Controllers\CheckMobiVerificationController@request'); |
| 11 | + // Route::post('validation/verify', 'Myckhel\CheckMobi\Http\Controllers\CheckMobiVerificationController@verify'); |
| 12 | + // Route::get('validation/status/{id}', 'Myckhel\CheckMobi\Http\Controllers\CheckMobiVerificationController@validationStatus'); |
| 13 | + // Route::get('my-account', 'Myckhel\CheckMobi\Http\Controllers\CheckMobiVerificationController@getAccountDetails'); |
| 14 | + // Route::get('countries', 'Myckhel\CheckMobi\Http\Controllers\CheckMobiVerificationController@getCountriesList'); |
| 15 | + // Route::get('prefixes', 'Myckhel\CheckMobi\Http\Controllers\CheckMobiVerificationController@getPrefixes'); |
| 16 | + // Route::post('checknumber', 'Myckhel\CheckMobi\Http\Controllers\CheckMobiVerificationController@checkNumber'); |
| 17 | + // Route::post('sms/send', 'Myckhel\CheckMobi\Http\Controllers\CheckMobiVerificationController@sendSMS'); |
| 18 | + // Route::get('sms/{id}', 'Myckhel\CheckMobi\Http\Controllers\CheckMobiVerificationController@getSmsDetails'); |
| 19 | + // Route::post('call', 'Myckhel\CheckMobi\Http\Controllers\CheckMobiVerificationController@placeCall'); |
| 20 | + // Route::get('call/{id}', 'Myckhel\CheckMobi\Http\Controllers\CheckMobiVerificationController@getCallDetails'); |
| 21 | + // Route::delete('call/{id}', 'Myckhel\CheckMobi\Http\Controllers\CheckMobiVerificationController@hangUpCall'); |
| 22 | + // |
| 23 | + // }); |
| 24 | + // |
| 25 | + // Route::resource('/api/checkmobi', 'Myckhel\CheckMobi\Http\Controllers\CheckMobiVerificationController'); |
26 | 26 | });
|
0 commit comments