Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
youka-manage
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
java-youka-wallet
youka-manage
Commits
0def9e03
Commit
0def9e03
authored
Apr 18, 2018
by
Java-聂换换
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
用户管理
parent
d1b15226
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
28 additions
and
18 deletions
+28
-18
Global.java
src/main/java/com/thinkgem/jeesite/common/config/Global.java
+1
-1
log4j.properties
src/main/resources/log4j.properties
+0
-1
userForm.jsp
src/main/webapp/WEB-INF/views/modules/youka/userForm.jsp
+15
-15
userList.jsp
src/main/webapp/WEB-INF/views/modules/youka/userList.jsp
+4
-0
userRealNameAudit.jsp
src/main/webapp/WEB-INF/views/modules/youka/userRealNameAudit.jsp
+8
-1
No files found.
src/main/java/com/thinkgem/jeesite/common/config/Global.java
View file @
0def9e03
...
...
@@ -59,7 +59,7 @@ public class Global {
*/
public
static
final
String
USERFILES_BASE_URL
=
"/userfiles/"
;
public
static
final
String
IMAGE_SAVE_URL
=
getConfig
(
"getConfig
"
);
public
static
final
String
IMAGE_SAVE_URL
=
Global
.
getConfig
(
"image.save.url
"
);
/**
* 获取当前对象实例
...
...
src/main/resources/log4j.properties
View file @
0def9e03
...
...
@@ -9,7 +9,6 @@ log4j.appender.Console.layout.ConversionPattern=%d %-5p [%c{5}] - %m%n
#RollingFile
log4j.appender.RollingFile
=
org.apache.log4j.DailyRollingFileAppender
log4j.appender.RollingFile.File
=
D:/logs/youka/manage.log
#log4j.appender.RollingFile.File=/tomcat/webapps/ROOT/youka/log/manage.log
log4j.appender.RollingFile.layout
=
org.apache.log4j.PatternLayout
log4j.appender.RollingFile.layout.ConversionPattern
=
%d [%t] %-5p [%c] - %m%n
...
...
src/main/webapp/WEB-INF/views/modules/youka/userForm.jsp
View file @
0def9e03
...
...
@@ -46,24 +46,24 @@
<label
class=
"control-label"
>
用户类型:
</label>
<div
class=
"controls"
>
<form:select
path=
"level"
cssStyle=
"width: 100px"
>
<
form:option
value=
"S"
>
管理员
<
/form:option
>
<
%
--
<
form:option
value=
"S"
>
--%
>
<
%
--
管理员
--
%
>
<
%
--
</
form:option
>
--%
>
<form:option
value=
"A"
>
王者会员
</form:option>
<
form:option
value=
"B"
>
钻石会员
<
/form:option
>
<
form:option
value=
"C"
>
黄金会员
<
/form:option
>
<
form:option
value=
"D"
>
白银会员
<
/form:option
>
<
form:option
value=
"E"
>
青铜会员
<
/form:option
>
<
%
--
<
form:option
value=
"B"
>
--%
>
<
%
--
钻石会员
--
%
>
<
%
--
</
form:option
>
--%
>
<
%
--
<
form:option
value=
"C"
>
--%
>
<
%
--
黄金会员
--
%
>
<
%
--
</
form:option
>
--%
>
<
%
--
<
form:option
value=
"D"
>
--%
>
<
%
--
白银会员
--
%
>
<
%
--
</
form:option
>
--%
>
<
%
--
<
form:option
value=
"E"
>
--%
>
<
%
--
青铜会员
--
%
>
<
%
--
</
form:option
>
--%
>
</form:select>
</div>
</div>
...
...
src/main/webapp/WEB-INF/views/modules/youka/userList.jsp
View file @
0def9e03
...
...
@@ -87,6 +87,9 @@
<form:option
value=
"2"
>
已实名
</form:option>
<form:option
value=
"3"
>
审核失败
</form:option>
</form:select>
</li>
<li><label>
推荐人:
</label><form:input
path=
"recommendedMobile"
htmlEscape=
"false"
maxlength=
"50"
class=
"input-medium"
/></li>
...
...
@@ -117,6 +120,7 @@
<c:if
test=
"${user.status eq '0'}"
>
未实名
</c:if>
<c:if
test=
"${user.status eq '1'}"
>
审核中
</c:if>
<c:if
test=
"${user.status eq '2'}"
>
已实名
</c:if>
<c:if
test=
"${user.status eq '3'}"
>
审核失败
</c:if>
</td>
<td>
${user.mobile}
</td>
<td>
...
...
src/main/webapp/WEB-INF/views/modules/youka/userRealNameAudit.jsp
View file @
0def9e03
...
...
@@ -113,7 +113,14 @@
</div>
<div
class=
"form-actions"
>
<shiro:hasPermission
name=
"sys:user:edit"
><a
class=
"btn btn-primary"
href=
"${ctx}/youka/user/save?id=${youkaUser.id}&status=2"
>
通过
</a>
<a
class=
"btn btn-primary"
href=
"${ctx}/youka/user/save?id=${youkaUser.id}&status=0"
>
不通过
</a>
</shiro:hasPermission>
<shiro:hasPermission
name=
"sys:user:edit"
>
<c:if
test=
"${youkaUser.status ne 2}"
>
<a
class=
"btn btn-primary"
href=
"${ctx}/youka/user/save?id=${youkaUser.id}&status=2"
>
通过
</a>
</c:if>
<c:if
test=
"${youkaUser.status ne 2 && youkaUser.status ne 3}"
>
<a
class=
"btn btn-primary"
href=
"${ctx}/youka/user/save?id=${youkaUser.id}&status=3"
>
不通过
</a>
</c:if>
</shiro:hasPermission>
<input
id=
"btnCancel"
class=
"btn"
type=
"button"
value=
"返 回"
onclick=
"history.go(-1)"
/>
</div>
</form:form>
...
...
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