Skip to content

Commit

Permalink
Laravel 0.15 | 增添关注与消息提醒的路由
Browse files Browse the repository at this point in the history
  • Loading branch information
PramSin committed Mar 4, 2022
1 parent 2f684f2 commit 8c916d0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,13 @@
Route::get('/myInfo', 'UserAuthController@myInfo')->name('userInfo');
Route::post('/changeInfo', 'UserAuthController@changeInfo')->name('changeInfo');
Route::post('/uploadAvatar', 'UserAuthController@uploadAvatar')->name('uploadAvatar');
Route::post('/follow', 'UserAuthController@follow')->name('follow');

Route::post('/getMySims', 'ListController@getMySimulations');
Route::post('/getFollowings', 'ListController@getSimulations');
Route::post('/followingList', 'ListController@getUsers');
Route::post('/followerList', 'ListController@getUsers');
Route::post('/messageList', 'ListController@getMessages');

Route::post('/sendCom', 'SimulationController@sendComment');
Route::post('/deleteCom', 'SimulationController@deleteComment');
Expand All @@ -35,6 +40,8 @@
Route::post('/editSim', 'SimulationController@editSimulation');
Route::post('/deleteSim', 'SimulationController@deleteSimulation');
Route::post('/uploadSim', 'SimulationController@uploadSimulation');
Route::post('/read', 'SimulationController@read');
Route::post('/mark', 'SimulationController@mark');

// Route::get('/getMySimulations', 'SimulationController@getMySimulations')->name('getMySimulations');
// Route::post('/uploadSimulation', 'SimulationController@uploadSimulation')->name('uploadSimulation');
Expand All @@ -59,6 +66,7 @@
Route::post('/getHisSims', 'ListController@getSimulations')->name('getHisSims');
Route::get('/getCats', 'ListController@getCategories')->name('getCats');
Route::post('/getComs', 'ListController@getComments')->name('getComs');
Route::post('/searchUser', 'ListController@getUsers');

Route::post('/getSim', 'SimulationController@getSimulation')->name('getSim');
// Route::get('/getPackage', 'SimulationController@getPackage')->name('getPackage');
Expand Down

0 comments on commit 8c916d0

Please sign in to comment.