Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
xiaozhan
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
冷斌
xiaozhan
Commits
0b1958ae
Commit
0b1958ae
authored
Feb 19, 2020
by
冷斌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
9491b9fc
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
application/User/Controller/IndexadminController.class.php
+19
-0
No files found.
application/User/Controller/IndexadminController.class.php
View file @
0b1958ae
...
@@ -550,8 +550,27 @@ class IndexadminController extends AdminbaseController {
...
@@ -550,8 +550,27 @@ class IndexadminController extends AdminbaseController {
}
}
}
}
}
}
/* 印象标签 */
public
function
getImpressionLabel
()
{
$key
=
"getImpressionLabel2"
;
$list
=
getcaches
(
$key
);
if
(
!
$list
)
{
$rules
=
M
(
"impression_label2"
)
->
select
();
foreach
(
$rules
as
$k
=>
$v
){
$rules
[
$k
][
'colour'
]
=
'#'
.
$v
[
'colour'
];
}
setcaches
(
$key
,
$rules
);
}
return
$list
;
}
function
edit
(){
function
edit
(){
$id
=
intval
(
$_GET
[
'id'
]);
$id
=
intval
(
$_GET
[
'id'
]);
var_dump
(
$this
->
getImpressionLabel
());
die
;
if
(
$id
){
if
(
$id
){
$userinfo
=
M
(
"users"
)
->
find
(
$id
);
$userinfo
=
M
(
"users"
)
->
find
(
$id
);
$this
->
assign
(
'userinfo'
,
$userinfo
);
$this
->
assign
(
'userinfo'
,
$userinfo
);
...
...
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