Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
git test
Jpress
Commits
d8f4e848
Commit
d8f4e848
authored
6 years ago
by
fuhai999@gmail.com
Browse files
Options
Download
Email Patches
Plain Diff
v1.0.4
parent
5ccbf726
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
db-init.sql
+2
-2
db-init.sql
jpress-web/src/main/resources/WEB-INF/views/ucenter/user_activate.html
+1
-1
...c/main/resources/WEB-INF/views/ucenter/user_activate.html
jpress-web/src/main/resources/WEB-INF/views/ucenter/user_emailactivate.html
+1
-1
...n/resources/WEB-INF/views/ucenter/user_emailactivate.html
jpress-web/src/main/resources/WEB-INF/views/ucenter/user_register.html
+1
-1
...c/main/resources/WEB-INF/views/ucenter/user_register.html
with
5 additions
and
5 deletions
+5
-5
db-init.sql
+
2
-
2
View file @
d8f4e848
...
...
@@ -312,7 +312,7 @@ DROP TABLE IF EXISTS `user`;
CREATE
TABLE
`user`
(
`id`
int
(
11
)
unsigned
NOT
NULL
AUTO_INCREMENT
COMMENT
'主键ID'
,
`username`
varchar
(
128
)
DEFAULT
NULL
COMMENT
'登
陆
名'
,
`username`
varchar
(
128
)
DEFAULT
NULL
COMMENT
'登
录
名'
,
`nickname`
varchar
(
128
)
DEFAULT
NULL
COMMENT
'昵称'
,
`realname`
varchar
(
128
)
DEFAULT
NULL
COMMENT
'实名'
,
`identity`
varchar
(
128
)
DEFAULT
NULL
COMMENT
'身份'
,
...
...
@@ -343,7 +343,7 @@ CREATE TABLE `user` (
`status`
varchar
(
32
)
DEFAULT
NULL
COMMENT
'状态'
,
`created`
datetime
DEFAULT
NULL
COMMENT
'创建日期'
,
`create_source`
varchar
(
128
)
DEFAULT
NULL
COMMENT
'用户来源(可能来之oauth第三方)'
,
`logged`
datetime
DEFAULT
NULL
COMMENT
'最后的登
陆
时间'
,
`logged`
datetime
DEFAULT
NULL
COMMENT
'最后的登
录
时间'
,
`activated`
datetime
DEFAULT
NULL
COMMENT
'激活时间'
,
PRIMARY
KEY
(
`id`
),
UNIQUE
KEY
`username`
(
`username`
),
...
...
This diff is collapsed.
Click to expand it.
jpress-web/src/main/resources/WEB-INF/views/ucenter/user_activate.html
+
1
-
1
View file @
d8f4e848
...
...
@@ -50,7 +50,7 @@
<div
class=
"form-group"
>
<div
class=
"col-sm-12"
>
#if(code == 0)
#(user.nickname),您好,您的账号已经激活成功。点击
<a
href=
"#(CPATH)/user/login"
>
这里
</a>
登
陆
#(user.nickname),您好,您的账号已经激活成功。点击
<a
href=
"#(CPATH)/user/login"
>
这里
</a>
登
录
#else
#(message)
#end
...
...
This diff is collapsed.
Click to expand it.
jpress-web/src/main/resources/WEB-INF/views/ucenter/user_emailactivate.html
+
1
-
1
View file @
d8f4e848
...
...
@@ -50,7 +50,7 @@
<div
class=
"form-group"
>
<div
class=
"col-sm-12"
>
#if(code == 0)
#(user.nickname),您好,您的邮箱已经激活成功。点击
<a
href=
"#(CPATH)/user/login"
>
这里
</a>
登
陆
#(user.nickname),您好,您的邮箱已经激活成功。点击
<a
href=
"#(CPATH)/user/login"
>
这里
</a>
登
录
#else
#(message)
#end
...
...
This diff is collapsed.
Click to expand it.
jpress-web/src/main/resources/WEB-INF/views/ucenter/user_register.html
+
1
-
1
View file @
d8f4e848
...
...
@@ -125,7 +125,7 @@
type
:
"
post
"
,
success
:
function
(
data
)
{
if
(
data
.
state
==
"
ok
"
)
{
alert
(
"
注册成功,
请登陆
"
)
alert
(
"
注册成功,
点击确定进行登录。
"
)
location
.
href
=
"
#(CPATH)/user/login
"
;
}
else
{
alert
(
data
.
message
);
...
...
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