Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
quxiu
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
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
冷斌
quxiu
Commits
70ccbe89
Commit
70ccbe89
authored
Apr 16, 2020
by
冷斌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
踢人
parent
e49da525
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletions
+4
-1
admin/themes/simplebootx/Admin/Dynamic/edit.html
+1
-1
application/Admin/Controller/DynamicController.class.php
+3
-0
No files found.
admin/themes/simplebootx/Admin/Dynamic/edit.html
View file @
70ccbe89
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
</div>
</div>
</fieldset>
</fieldset>
<div
class=
"form-actions"
>
<div
class=
"form-actions"
>
<a
class=
"btn"
href=
"{:U('dynamic/
report
')}"
>
{:L('BACK')}
</a>
<a
class=
"btn"
href=
"{:U('dynamic/
index
')}"
>
{:L('BACK')}
</a>
</div>
</div>
</form>
</form>
</div>
</div>
...
...
application/Admin/Controller/DynamicController.class.php
View file @
70ccbe89
...
@@ -101,7 +101,10 @@ class DynamicController extends AdminbaseController
...
@@ -101,7 +101,10 @@ class DynamicController extends AdminbaseController
public
function
edit
()
public
function
edit
()
{
{
$id
=
intval
(
I
(
"get.id"
));
$id
=
intval
(
I
(
"get.id"
));
$model
=
$this
->
dynamic_model
->
where
([
'id'
=>
$id
])
->
order
(
"addtime DESC"
)
->
find
();
var_dump
(
$model
);
die
;
$this
->
display
();
$this
->
display
();
}
}
...
...
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