Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
workbiu-admin
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gxx
workbiu-admin
Commits
66dbca2d
Commit
66dbca2d
authored
Oct 11, 2017
by
gxx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
任务
parent
0d4113c5
Changes
13
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
232 additions
and
215 deletions
+232
-215
UserServiceContract.php
app/Contracts/UserServiceContract.php
+0
-2
AuthController.php
app/Http/Controllers/AuthController.php
+18
-0
ProjectController.php
app/Http/Controllers/ProjectController.php
+1
-0
UserController.php
app/Http/Controllers/UserController.php
+3
-0
Project.php
app/Models/Project.php
+6
-0
Task.php
app/Models/Task.php
+10
-0
User.php
app/Models/User.php
+5
-0
ProjectService.php
app/Services/ProjectService.php
+2
-0
authtables.blade.php
resources/views/admin/auth/authtables.blade.php
+97
-0
projectinformation.blade.php
resources/views/admin/project/projectinformation.blade.php
+31
-106
sidebar.blade.php
resources/views/admin/sidebar.blade.php
+7
-19
userinformation.blade.php
resources/views/admin/userinformation.blade.php
+47
-88
web.php
routes/web.php
+5
-0
No files found.
app/Contracts/UserServiceContract.php
View file @
66dbca2d
...
...
@@ -19,6 +19,4 @@ interface UserServiceContract
public
function
simpleSearch
(
$search_content
,
$page
);
public
function
search
(
$content
);
}
\ No newline at end of file
app/Http/Controllers/AuthController.php
0 → 100644
View file @
66dbca2d
<?php
namespace
App\Http\Controllers
;
use
Illuminate\Http\Request
;
class
AuthController
extends
Controller
{
public
function
getAll
()
{
echo
123
;
return
view
(
'admin/auth/authtables'
);
}
}
app/Http/Controllers/ProjectController.php
View file @
66dbca2d
...
...
@@ -21,6 +21,7 @@ class ProjectController extends Controller
{
$projectid
=
$request
->
id
;
$project
=
$this
->
mProject
->
get
(
$projectid
);
if
(
count
(
$project
)
>
0
){
return
view
(
'admin/project/projectinformation'
,
compact
(
'project'
));
}
...
...
app/Http/Controllers/UserController.php
View file @
66dbca2d
...
...
@@ -87,6 +87,9 @@ class UserController extends Controller
public
function
get
(
$id
)
{
$result
=
$this
->
mUser
->
get
(
$id
);
if
(
$result
){
return
view
(
'admin/userinformation'
,
compact
(
'result'
));
}
else
{
...
...
app/Models/Project.php
View file @
66dbca2d
...
...
@@ -15,4 +15,10 @@ class Project extends Model
{
return
$this
->
hasOne
(
'App\Models\Group'
,
'id'
,
'creator_id'
);
}
public
function
tasks
()
{
return
$this
->
hasMany
(
'App\Models\Task'
,
'project_id'
,
'id'
);
}
}
app/Models/Task.php
View file @
66dbca2d
...
...
@@ -10,4 +10,14 @@ class Task extends Model
use
SoftDeletes
;
protected
$dates
=
[
'delete_at'
];
public
function
owner
()
{
return
$this
->
hasOne
(
'App\Models\User'
,
'id'
,
'owner_id'
);
}
public
function
project
()
{
return
$this
->
hasOne
(
'App\Models\Project'
,
'id'
,
'project_id'
);
}
}
app/Models/User.php
View file @
66dbca2d
...
...
@@ -28,4 +28,9 @@ class User extends Model
{
return
$this
->
hasOne
(
'App\Models\EmailCheck'
);
}
public
function
tasks
()
{
return
$this
->
hasMany
(
'App\Models\Task'
,
'owner_id'
,
'id'
);
}
}
app/Services/ProjectService.php
View file @
66dbca2d
...
...
@@ -87,6 +87,8 @@ class ProjectService implements ProjectServiceContract
{
$project
=
Project
::
find
(
$project_id
);
if
(
$project
==
null
){
return
null
;
}
else
{
...
...
resources/views/admin/auth/authtables.blade.php
0 → 100644
View file @
66dbca2d
@
extends
(
'admin/dashboard'
)
@
section
(
'content'
)
<!--
Content
Header
(
Page
header
)
-->
<
section
class
=
"content-header"
>
<
h1
>
权限列表
{{
--<
small
>
advanced
tables
</
small
>--
}}
</
h1
>
<
ol
class
=
"breadcrumb"
>
<
li
><
a
href
=
"#"
><
i
class
=
"fa fa-dashboard"
></
i
>
Home
</
a
></
li
>
<
li
><
a
href
=
"#"
>
Tables
</
a
></
li
>
<
li
class
=
"active"
>
Data
tables
</
li
>
</
ol
>
</
section
>
<!--
Main
content
-->
<
section
class
=
"content"
>
<
div
class
=
"row"
>
<
div
class
=
"col-xs-12"
>
<
div
class
=
"box"
>
<
div
class
=
"box-header"
>
{{
--<
h3
class
=
"box-title"
>
Hover
Data
Table
</
h3
>--
}}
</
div
>
<!--
/.
box
-
header
-->
<
div
class
=
"box-body"
>
{{
--<
form
action
=
"
{
{url('project/search')}}">--}
}
{{--<div class="
row
">--}}
{{--<div class="
col
-
lg
-
6
">--}}
{{--<div class="
input
-
group
">--}}
{{--<input type="
text
" class="
form
-
control
" placeholder="
项目名称
" name="
search
">--}}
{{--<span class="
input
-
group
-
btn
">--}}
{{--<button class="
btn
btn
-
default
" > 搜索 </button>--}}
{
{--</span>--}
}
{{--</div><!-- /input-group -->--}}
{{--</div><!-- /.col-lg-6 -->--}}
{{--</div><!-- /.row -->--}}
{
{--</form>--}
}
<br>
<table id="
example2
" class="
table
table
-
bordered
table
-
hover
">
<thead>
<tr>
<th>ID</th>
<th>权限名称</th>
<th>创建者</th>
<th>简介</th>
<th>cover_img</th>
<th>操作</th>
</tr>
</thead>
{{--@if(
$projects
== null)--}}
{
{--<tbody>--}
}
{
{--<tr>--}
}
{{--<td colspan="
8
" style="
text
-
align
:
center
;
color
:
red
"> 数据暂无 </td>--}}
{
{--</tr>--}
}
{
{--</tbody>--}
}
{
{--</table>--}
}
{
{--@else--}
}
{{--@foreach(
$projects
as
$project
)--}}
<tbody>
<tr>
<td>1</td>
<td>上天权限</td>
<td></td>
<td></td>
<td><img src="" alt="" width="
50
px
" height="
40
px
"> </td>
<td>
<a href="" class="
btn
btn
-
info
" > 查看详情 </a>
<a href="" class="
btn
btn
-
info
"> 编辑 </a>
</td>
</tr>
</tbody>
{
{--@endforeach--}
}
</table>
{{--{{
$groups->links
() }}--}}
</div>
<!-- /.box-body -->
</div>
<!-- /.box -->
</div>
<!-- /.col -->
</div>
<!-- /.row -->
</section>
{
{--@endif--}
}
@endsection
\ No newline at end of file
resources/views/admin/project/projectinformation.blade.php
View file @
66dbca2d
...
...
@@ -57,7 +57,7 @@
<!--
About
Me
Box
-->
<
div
class
=
"box box-primary"
>
<
div
class
=
"box-header with-border"
>
<
h3
class
=
"box-title"
>
About
Me
</
h3
>
<
h3
class
=
"box-title"
>
关于项目
</
h3
>
</
div
>
<!--
/.
box
-
header
-->
<
div
class
=
"box-body"
>
...
...
@@ -99,29 +99,31 @@
<
div
class
=
"col-md-9"
>
<
div
class
=
"nav-tabs-custom"
>
<
ul
class
=
"nav nav-tabs"
>
<
li
class
=
"active"
><
a
href
=
"#activity"
data
-
toggle
=
"tab"
>
Activity
</
a
></
li
>
<
li
class
=
"active"
><
a
href
=
"#activity"
data
-
toggle
=
"tab"
>
任务
</
a
></
li
>
<
li
><
a
href
=
"#timeline"
data
-
toggle
=
"tab"
>
Timeline
</
a
></
li
>
<
li
><
a
href
=
"#settings"
data
-
toggle
=
"tab"
>
Settings
</
a
></
li
>
</
ul
>
<
div
class
=
"tab-content"
>
@
foreach
(
$project
->
tasks
as
$value
)
<
div
class
=
"active tab-pane"
id
=
"activity"
>
<!--
Post
-->
<
div
class
=
"post"
>
<
div
class
=
"user-block"
>
<
img
class
=
"img-circle img-bordered-sm"
src
=
"../../dist/img/user1-128x128.jpg"
alt
=
"user image"
>
<
span
class
=
"username"
>
<
a
href
=
"#"
>
Jonathan
Burke
Jr
.</
a
>
<
a
href
=
"#"
class
=
"pull-right btn-box-tool"
><
i
class
=
"fa fa-times"
></
i
></
a
>
</
span
>
<
span
class
=
"description"
>
Shared
publicly
-
7
:
30
PM
today
</
span
>
<
a
href
=
"#"
>
{{
$value
[
'name'
]}}
</
a
>
<
span
class
=
"description"
>
开始时间
:
{{
$value
[
'starts_at'
]}}
</
span
>
<
span
class
=
"description"
>
结束时间
:
{{
$value
[
'ends_at'
]}}
</
span
>
<
span
class
=
"description"
>
任务简介
:
{{
$value
[
'brief'
]}}
</
span
>
<
span
class
=
"description"
>
任务状态
:
{{
$value
[
'status'
]}}
</
span
>
<
span
class
=
"description"
>
负责人
:
&
nbsp
;
&
nbsp
;
&
nbsp
;
{{
$value
->
owner
[
'user_name'
]}}
</
span
>
</
div
>
<!--
/.
user
-
block
-->
<
p
>
Lorem
ipsum
represents
a
long
-
held
tradition
for
designers
,
typographers
and
the
like
.
Some
people
hate
it
and
argue
for
its
demise
,
but
others
ignore
the
hate
as
they
create
awesome
tools
to
help
create
filler
text
for
everyone
from
bacon
lovers
to
Charlie
Sheen
fans
.
</
p
>
<
ul
class
=
"list-inline"
>
<
li
><
a
href
=
"#"
class
=
"link-black text-sm"
><
i
class
=
"fa fa-share margin-r-5"
></
i
>
Share
</
a
></
li
>
...
...
@@ -132,92 +134,15 @@
(
5
)
</
a
></
li
>
</
ul
>
<
input
class
=
"form-control input-sm"
type
=
"text"
placeholder
=
"Type a comment"
>
<
hr
>
{{
--<
input
class
=
"form-control input-sm"
type
=
"text"
placeholder
=
"Type a comment"
>--
}}
</
div
>
<!--
/.
post
-->
<!--
Post
-->
<
div
class
=
"post clearfix"
>
<
div
class
=
"user-block"
>
<
img
class
=
"img-circle img-bordered-sm"
src
=
"../../dist/img/user7-128x128.jpg"
alt
=
"User Image"
>
<
span
class
=
"username"
>
<
a
href
=
"#"
>
Sarah
Ross
</
a
>
<
a
href
=
"#"
class
=
"pull-right btn-box-tool"
><
i
class
=
"fa fa-times"
></
i
></
a
>
</
span
>
<
span
class
=
"description"
>
Sent
you
a
message
-
3
days
ago
</
span
>
</
div
>
<!--
/.
user
-
block
-->
<
p
>
Lorem
ipsum
represents
a
long
-
held
tradition
for
designers
,
typographers
and
the
like
.
Some
people
hate
it
and
argue
for
its
demise
,
but
others
ignore
the
hate
as
they
create
awesome
tools
to
help
create
filler
text
for
everyone
from
bacon
lovers
to
Charlie
Sheen
fans
.
</
p
>
<
form
class
=
"form-horizontal"
>
<
div
class
=
"form-group margin-bottom-none"
>
<
div
class
=
"col-sm-9"
>
<
input
class
=
"form-control input-sm"
placeholder
=
"Response"
>
</
div
>
<
div
class
=
"col-sm-3"
>
<
button
type
=
"submit"
class
=
"btn btn-danger pull-right btn-block btn-sm"
>
Send
</
button
>
</
div
>
</
div
>
</
form
>
</
div
>
<!--
/.
post
-->
<!--
Post
-->
<
div
class
=
"post"
>
<
div
class
=
"user-block"
>
<
img
class
=
"img-circle img-bordered-sm"
src
=
"../../dist/img/user6-128x128.jpg"
alt
=
"User Image"
>
<
span
class
=
"username"
>
<
a
href
=
"#"
>
Adam
Jones
</
a
>
<
a
href
=
"#"
class
=
"pull-right btn-box-tool"
><
i
class
=
"fa fa-times"
></
i
></
a
>
</
span
>
<
span
class
=
"description"
>
Posted
5
photos
-
5
days
ago
</
span
>
</
div
>
<!--
/.
user
-
block
-->
<
div
class
=
"row margin-bottom"
>
<
div
class
=
"col-sm-6"
>
<
img
class
=
"img-responsive"
src
=
"../../dist/img/photo1.png"
alt
=
"Photo"
>
</
div
>
<!--
/.
col
-->
<
div
class
=
"col-sm-6"
>
<
div
class
=
"row"
>
<
div
class
=
"col-sm-6"
>
<
img
class
=
"img-responsive"
src
=
"../../dist/img/photo2.png"
alt
=
"Photo"
>
<
br
>
<
img
class
=
"img-responsive"
src
=
"../../dist/img/photo3.jpg"
alt
=
"Photo"
>
</
div
>
<!--
/.
col
-->
<
div
class
=
"col-sm-6"
>
<
img
class
=
"img-responsive"
src
=
"../../dist/img/photo4.jpg"
alt
=
"Photo"
>
<
br
>
<
img
class
=
"img-responsive"
src
=
"../../dist/img/photo1.png"
alt
=
"Photo"
>
</
div
>
<!--
/.
col
-->
</
div
>
<!--
/.
row
-->
</
div
>
<!--
/.
col
-->
</
div
>
<!--
/.
row
-->
<
ul
class
=
"list-inline"
>
<
li
><
a
href
=
"#"
class
=
"link-black text-sm"
><
i
class
=
"fa fa-share margin-r-5"
></
i
>
Share
</
a
></
li
>
<
li
><
a
href
=
"#"
class
=
"link-black text-sm"
><
i
class
=
"fa fa-thumbs-o-up margin-r-5"
></
i
>
Like
</
a
>
</
li
>
<
li
class
=
"pull-right"
>
<
a
href
=
"#"
class
=
"link-black text-sm"
><
i
class
=
"fa fa-comments-o margin-r-5"
></
i
>
Comments
(
5
)
</
a
></
li
>
</
ul
>
<
input
class
=
"form-control input-sm"
type
=
"text"
placeholder
=
"Type a comment"
>
</
div
>
<!--
/.
post
-->
</
div
>
@
endforeach
<!--
/.
tab
-
pane
-->
<
div
class
=
"tab-pane"
id
=
"timeline"
>
<!--
The
timeline
-->
...
...
resources/views/admin/sidebar.blade.php
View file @
66dbca2d
...
...
@@ -63,32 +63,20 @@
</li>
<li
class=
"treeview"
>
<a
href=
"#"
><i
class=
"fa fa-link"
></i>
<span>
项目
管理
</span>
<a
href=
"#"
><i
class=
"fa fa-link"
></i>
<span>
权限
管理
</span>
<span
class=
"pull-right-container"
>
<i
class=
"fa fa-angle-left pull-right"
></i>
</span>
</a>
<ul
class=
"treeview-menu"
>
<li><a
href=
""
>
项目
列表
</a></li>
<li><a
href=
"{{url('auth/getAll')}}"
>
权限
列表
</a></li>
{{--
<li><a
href=
"#"
>
Link in level 2
</a></li>
--}}
</ul>
</li>
<li
class=
"treeview"
>
<a
href=
"#"
><i
class=
"fa fa-link"
></i>
<span>
日程管理
</span>
<span
class=
"pull-right-container"
>
<i
class=
"fa fa-angle-left pull-right"
></i>
</span>
</a>
<ul
class=
"treeview-menu"
>
<li><a
href=
""
>
日程列表
</a></li>
{{--
<li><a
href=
"#"
>
Link in level 2
</a></li>
--}}
</ul>
</li>
...
...
resources/views/admin/userinformation.blade.php
View file @
66dbca2d
...
...
@@ -94,9 +94,9 @@
<
div
class
=
"col-md-9"
>
<
div
class
=
"nav-tabs-custom"
>
<
ul
class
=
"nav nav-tabs"
>
<
li
class
=
"active"
><
a
href
=
"#activity"
data
-
toggle
=
"tab"
>
Activity
</
a
></
li
>
<
li
><
a
href
=
"#timeline"
data
-
toggle
=
"tab"
>
Timeline
</
a
></
li
>
<
li
><
a
href
=
"#settings"
data
-
toggle
=
"tab"
>
Settings
</
a
></
li
>
<
li
class
=
"active"
><
a
href
=
"#activity"
data
-
toggle
=
"tab"
>
日程安排
</
a
></
li
>
<
li
><
a
href
=
"#timeline"
data
-
toggle
=
"tab"
>
任务
</
a
></
li
>
<
li
><
a
href
=
"#settings"
data
-
toggle
=
"tab"
>
待开发ing
....
</
a
></
li
>
</
ul
>
<
div
class
=
"tab-content"
>
<
div
class
=
"active tab-pane"
id
=
"activity"
>
...
...
@@ -215,98 +215,57 @@
</
div
>
<!--
/.
tab
-
pane
-->
<
div
class
=
"tab-pane"
id
=
"timeline"
>
<!--
The
timeline
-->
<
ul
class
=
"timeline timeline-inverse"
>
<!--
timeline
time
label
-->
<
li
class
=
"time-label"
>
<
span
class
=
"bg-red"
>
10
Feb
.
2014
</
span
>
</
li
>
<!--
/.
timeline
-
label
-->
<!--
timeline
item
-->
<
li
>
<
i
class
=
"fa fa-envelope bg-blue"
></
i
>
<
div
class
=
"timeline-item"
>
<
span
class
=
"time"
><
i
class
=
"fa fa-clock-o"
></
i
>
12
:
05
</
span
>
@
if
(
count
(
$result
->
tasks
)
==
0
)
<
h3
class
=
"timeline-header"
><
a
href
=
"#"
>
Support
Team
</
a
>
sent
you
an
email
</
h3
>
<
h3
>
你还没任务呢
~~
</
h3
>
<
div
class
=
"timeline-body"
>
Etsy
doostang
zoodles
disqus
groupon
greplin
oooj
voxy
zoodles
,
weebly
ning
heekya
handango
imeem
plugg
dopplr
jibjab
,
movity
jajah
plickers
sifteo
edmodo
ifttt
zimbra
.
Babblely
odeo
kaboodle
quora
plaxo
ideeli
hulu
weebly
balihoo
...
</
div
>
<
div
class
=
"timeline-footer"
>
<
a
class
=
"btn btn-primary btn-xs"
>
Read
more
</
a
>
<
a
class
=
"btn btn-danger btn-xs"
>
Delete
</
a
>
</
div
>
</
div
>
</
li
>
<!--
END
timeline
item
-->
<!--
timeline
item
-->
<
li
>
<
i
class
=
"fa fa-user bg-aqua"
></
i
>
@
else
<
div
class
=
"timeline-item"
>
<
span
class
=
"time"
><
i
class
=
"fa fa-clock-o"
></
i
>
5
mins
ago
</
span
>
<
h3
class
=
"timeline-header no-border"
><
a
href
=
"#"
>
Sarah
Young
</
a
>
accepted
your
friend
request
</
h3
>
</
div
>
</
li
>
<!--
END
timeline
item
-->
<!--
timeline
item
-->
<
li
>
<
i
class
=
"fa fa-comments bg-yellow"
></
i
>
<
div
class
=
"timeline-item"
>
<
span
class
=
"time"
><
i
class
=
"fa fa-clock-o"
></
i
>
27
mins
ago
</
span
>
@
foreach
(
$result
->
tasks
as
$value
)
<
h3
class
=
"timeline-header"
><
a
href
=
"#"
>
Jay
White
</
a
>
commented
on
your
post
</
h3
>
<
div
class
=
"timeline-body"
>
Take
me
to
your
leader
!
Switzerland
is
small
and
neutral
!
We
are
more
like
Germany
,
ambitious
and
misunderstood
!
</
div
>
<
div
class
=
"timeline-footer"
>
<
a
class
=
"btn btn-warning btn-flat btn-xs"
>
View
comment
</
a
>
</
div
>
<
div
class
=
"active tab-pane"
id
=
"activity"
>
<!--
Post
-->
<
div
class
=
"post"
>
<
div
class
=
"user-block"
>
<
a
href
=
"#"
>
{{
$value
[
'name'
]}}
</
a
>
<
span
class
=
"description"
>
所属项目
:
{{
$value
->
project
[
'name'
]}}
</
span
>
<
span
class
=
"description"
>
开始时间
:
{{
$value
[
'starts_at'
]}}
</
span
>
<
span
class
=
"description"
>
结束时间
:
{{
$value
[
'ends_at'
]}}
</
span
>
<
span
class
=
"description"
>
任务简介
:
{{
$value
[
'brief'
]}}
</
span
>
<
span
class
=
"description"
>
任务状态
:
{{
$value
[
'status'
]}}
</
span
>
<
span
class
=
"description"
>
负责人
:
&
nbsp
;
&
nbsp
;
&
nbsp
;
{{
$value
->
owner
[
'user_name'
]}}
</
span
>
</
div
>
<!--
/.
user
-
block
-->
<
p
>
</
p
>
<
ul
class
=
"list-inline"
>
<
li
><
a
href
=
"#"
class
=
"link-black text-sm"
><
i
class
=
"fa fa-share margin-r-5"
></
i
>
Share
</
a
></
li
>
<
li
><
a
href
=
"#"
class
=
"link-black text-sm"
><
i
class
=
"fa fa-thumbs-o-up margin-r-5"
></
i
>
Like
</
a
>
</
li
>
<!--
END
timeline
item
-->
<!--
timeline
time
label
-->
<
li
class
=
"time-label"
>
<
span
class
=
"bg-green"
>
3
Jan
.
2014
</
span
>
</
li
>
<!--
/.
timeline
-
label
-->
<!--
timeline
item
-->
<
li
>
<
i
class
=
"fa fa-camera bg-purple"
></
i
>
<
li
class
=
"pull-right"
>
<
a
href
=
"#"
class
=
"link-black text-sm"
><
i
class
=
"fa fa-comments-o margin-r-5"
></
i
>
Comments
(
5
)
</
a
></
li
>
</
ul
>
<
hr
>
{{
--<
input
class
=
"form-control input-sm"
type
=
"text"
placeholder
=
"Type a comment"
>--
}}
</
div
>
<!--
/.
post
-->
<
div
class
=
"timeline-item"
>
<
span
class
=
"time"
><
i
class
=
"fa fa-clock-o"
></
i
>
2
days
ago
</
span
>
<
h3
class
=
"timeline-header"
><
a
href
=
"#"
>
Mina
Lee
</
a
>
uploaded
new
photos
</
h3
>
<
div
class
=
"timeline-body"
>
<
img
src
=
"http://placehold.it/150x100"
alt
=
"..."
class
=
"margin"
>
<
img
src
=
"http://placehold.it/150x100"
alt
=
"..."
class
=
"margin"
>
<
img
src
=
"http://placehold.it/150x100"
alt
=
"..."
class
=
"margin"
>
<
img
src
=
"http://placehold.it/150x100"
alt
=
"..."
class
=
"margin"
>
</
div
>
</
div
>
</
li
>
<!--
END
timeline
item
-->
<
li
>
<
i
class
=
"fa fa-clock-o bg-gray"
></
i
>
</
li
>
</
ul
>
@
endforeach
@
endif
</
div
>
<!--
/.
tab
-
pane
-->
...
...
routes/web.php
View file @
66dbca2d
...
...
@@ -79,6 +79,11 @@ Route::group(['prefix'=> 'project'],function (){
Route
::
get
(
'search'
,
'ProjectController@search'
)
->
name
(
'project.search'
);
});
// 权限
Route
::
group
([
'prefix'
=>
'auth'
],
function
(){
Route
::
get
(
'getAll'
,
'AuthController@getAll'
)
->
name
(
'auth.getAll'
);
});
...
...
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