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
f6c5bcf3
Commit
f6c5bcf3
authored
Sep 30, 2016
by
庄欣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试
parent
d9bbdcf9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
39 additions
and
0 deletions
+39
-0
app/Http/Controllers/Category/Controller/Category.php
+14
-0
app/Http/Controllers/Keywords/Controller/Keywords.php
+25
-0
No files found.
app/Http/Controllers/Category/Controller/Category.php
0 → 100644
View file @
f6c5bcf3
<?php
namespace
App\Http\Controllers\Keywords\Controller
;
use
App\Http\Controllers\ControllerBase
;
class
Category
extends
ControllerBase
{
public
function
pretty
()
{
$data
=
parent
::
index
(
""
,
false
);
}
}
\ No newline at end of file
app/Http/Controllers/Keywords/Controller/Keywords.php
0 → 100644
View file @
f6c5bcf3
<?php
namespace
App\Http\Controllers\Keywords\Controller
;
use
App\Http\Controllers\ControllerBase
;
class
Keywords
extends
ControllerBase
{
protected
$prefix
=
"keywords"
;
public
function
gethot
()
{
$query
=
$this
->
combine
([
'join_hot'
=>
1
,
'is_del'
=>
0
,
"order"
=>
'used_count-desc'
]);
$res
=
parent
::
index
(
$query
,
false
);
return
$res
;
}
public
function
index
(
$query
=
""
,
$checkUid
=
true
)
{
return
parent
::
index
(
$query
,
false
);
}
}
\ 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