Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
PESCMS Ticket
Commits
77a53dc2
Commit
77a53dc2
authored
2 years ago
by
luoboss
Browse files
Options
Download
Email Patches
Plain Diff
修复仪表盘报错的问题。
添加一个新的插件事件。
parent
9774cb10
dev-1.3.19
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
App/Ticket/GET/Index.php
+2
-2
App/Ticket/GET/Index.php
Slice/Ticket/Login.php
+3
-0
Slice/Ticket/Login.php
with
5 additions
and
2 deletions
+5
-2
App/Ticket/GET/Index.php
+
2
-
2
View file @
77a53dc2
...
...
@@ -159,8 +159,8 @@ class Index extends \Core\Controller\Controller {
foreach
(
$type
as
$key
=>
$value
)
{
$list
[
$key
][
'title'
]
=
$value
[
'title'
];
$list
[
$key
][
'url'
]
=
$value
[
'url'
];
$list
[
$key
][
'tips'
]
=
$value
[
'tips'
];
$list
[
$key
][
'url'
]
=
$value
[
'url'
]
??
''
;
$list
[
$key
][
'tips'
]
=
$value
[
'tips'
]
??
''
;
$list
[
$key
][
'list'
]
=
\
Model\Content
::
listContent
([
'table'
=>
'ticket AS t'
,
'field'
=>
't.*, tm.ticket_model_name, tm.ticket_model_cid, tm.ticket_model_time_out'
,
...
...
This diff is collapsed.
Click to expand it.
Slice/Ticket/Login.php
+
3
-
0
View file @
77a53dc2
...
...
@@ -18,6 +18,9 @@ namespace Slice\Ticket;
class
Login
extends
\
Core\Slice\Slice
{
public
function
before
()
{
//埋入登录切片插件事件
(
new
\
Core\Plugin\Plugin
())
->
event
(
'loginSlice'
,
NULL
);
if
(
!
empty
(
$_GET
[
'_notice_login'
])){
$notice_login
=
$this
->
g
(
'_notice_login'
);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
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
Menu
Projects
Groups
Snippets
Help