Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
U
UserAdminApi4Tpl
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
庄欣
UserAdminApi4Tpl
Commits
569e2da4
Commit
569e2da4
authored
Sep 27, 2016
by
庄欣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update ApiList
parent
0a386dcd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
3 deletions
+29
-3
ApiList
+29
-3
No files found.
ApiList
View file @
569e2da4
...
...
@@ -41,10 +41,14 @@ Route::group(["prefix" => "article", 'namespace' => Provider::getNamespace("arti
Route::put ("/{id}/hidden" , "Article@hidden")->where(['id' => '\d+']);
//显示
Route::put ("/{id}/show" , "Article@display")->where(['id' => '\d+']);
//禁用
Route::delete("/{id}" ,"Article@destory");
//解禁
Route::put("/{id}/resume" ,"Article@resume");
});
Route::group(["prefix" => "works", 'namespace' => Provider::getNamespace("works")],function(){
//攻略列表
//攻略列表
test ok
Route::get ("/" , "Works@index");
//改
Route::put ("/{id}" , "Works@update")->where(['id' => '\d+']);
...
...
@@ -54,10 +58,14 @@ Route::group(["prefix" => "works", 'namespace' => Provider::getNamespace("works"
Route::get ("/{id}" , "Works@show")->where(['id' => '\d+']);
//关系
Route::get ("/{id}/relation/{relation}","Works@getRelate")->where(['id' => '\d+','relation'=>'\S+']);
//隐藏
//隐藏
test ok
Route::put ("/{id}/hidden" , "Works@hidden")->where(['id' => '\d+']);
//显示
Route::put ("/{id}/show" , "Works@display")->where(['id' => '\d+']);
//禁用
Route::delete("/{id}" ,"Works@destory");
//解禁
Route::put("/{id}/resume" ,"Works@resume");
});
Route::group(["prefix" => "keywords", 'namespace' => Provider::getNamespace("keywords")],function(){
...
...
@@ -77,6 +85,23 @@ Route::group(["prefix" => "photo", 'namespace' => Provider::getNamespace("photo"
//删除照片
Route::delete("/{id}/{ids}","Photo@image");
//照片列表
Route::get ("/id" , "Photo@lists");
Route::get ("/{id}/list" , "Photo@lists");
//详情
Route::get ("/{id}" , "Photo@show");
});
Route::group(["prefix" => "sets", 'namespace' => Provider::getNamespace("sets")],function(){
//列表
Route::get ("/" , "Sets@index");
//新建
Route::post("/" , "Sets@store");
//改
Route::put ("/{id}" , "Sets@update")->where(['id' => '\d+']);
//详情
Route::get ("/{id}" , "Sets@show");
//禁用
Route::delete("/{id}" ,"Sets@destory");
//解禁
Route::put("/{id}/resume" ,"Sets@resume");
});
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment