-
Notifications
You must be signed in to change notification settings - Fork 4
QuickApi
dengyongbin edited this page Jan 10, 2017
·
23 revisions
Route::post('login', '\Loopeer\QuickCms\Http\Controllers\Api\AccountController@loginByPassword');
Route::post('login', '\Loopeer\QuickCms\Http\Controllers\Api\AccountController@loginByCaptcha');
Route::post('loginByWeChat', '\Loopeer\QuickCms\Http\Controllers\Api\AccountController@loginByWeChat');
Route::post('register', '\Loopeer\QuickCms\Http\Controllers\Api\AccountController@register');
Route::post('forgetPassword', '\Loopeer\QuickCms\Http\Controllers\Api\AccountController@forgetPassword');
Route::post('updatePassword', '\Loopeer\QuickCms\Http\Controllers\Api\AccountController@updatePassword')
->middleware('auth');
Route::get('captcha', '\Loopeer\QuickCms\Http\Controllers\Api\AccountController@captcha');
Route::post('validatorCaptcha', '\Loopeer\QuickCms\Http\Controllers\Api\AccountController@validatorCaptcha');
Route::get('verify', '\Loopeer\QuickCms\Http\Controllers\Api\AccountController@verify');
Route::get('detail', '\Loopeer\QuickCms\Http\Controllers\Api\AccountController@detail')
->middleware('auth');
Route::get('easeMobDetail', '\Loopeer\QuickCms\Http\Controllers\Api\AccountController@easeMobDetail')
->middleware('auth');
Route::post('update', '\Loopeer\QuickCms\Http\Controllers\Api\AccountController@update')
->middleware('auth');
// 不分页
Route::get('{type}List', '\Loopeer\QuickCms\Http\Controllers\Api\AccountController@myList')
->where(['type' => 'favorite|xxx'])->middleware('auth');
// 分页
Route::get('{type}List', '\Loopeer\QuickCms\Http\Controllers\Api\AccountController@myListByPage')
->where(['type' => 'favorite|xxx'])->middleware('auth');
Route::get('init', '\Loopeer\QuickCms\Http\Controllers\Api\SystemController@initialize');
Route::post('feedback', '\Loopeer\QuickCms\Http\Controllers\Api\SystemController@feedback');
Route::post('registerPush', '\Loopeer\QuickCms\Http\Controllers\Api\SystemController@registerPush');
Route::get('version', '\Loopeer\QuickCms\Http\Controllers\Api\SystemController@version');
Route::get('document/xxx', '\Loopeer\QuickCms\Http\Controllers\Api\SystemController@document');
Route::get('advert/list', '\Loopeer\QuickCms\Http\Controllers\Api\AdvertController@index');
Route::get('category/list', '\Loopeer\QuickCms\Http\Controllers\Api\CategoryController@index');
Route::get('label/list', '\Loopeer\QuickCms\Http\Controllers\Api\LabelController@index');