Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
solo-1
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
Administrator
solo-1
Commits
d6037937
Commit
d6037937
authored
Apr 01, 2013
by
Liang Ding
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[GET] /register.html 改为 /register
parent
7839d204
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
582 additions
and
578 deletions
+582
-578
core/src/main/java/org/b3log/solo/processor/IndexProcessor.java
...rc/main/java/org/b3log/solo/processor/IndexProcessor.java
+301
-301
core/src/main/java/org/b3log/solo/util/Users.java
core/src/main/java/org/b3log/solo/util/Users.java
+281
-277
No files found.
core/src/main/java/org/b3log/solo/processor/IndexProcessor.java
View file @
d6037937
...
@@ -56,7 +56,7 @@ import org.json.JSONObject;
...
@@ -56,7 +56,7 @@ import org.json.JSONObject;
*
*
* @author <a href="mailto:DL88250@gmail.com">Liang Ding</a>
* @author <a href="mailto:DL88250@gmail.com">Liang Ding</a>
* @author <a href="mailto:385321165@qq.com">DASHU</a>
* @author <a href="mailto:385321165@qq.com">DASHU</a>
* @version 1.1.1.
1, Mar 30, 2013
* @version 1.1.1.
2, Apr 1, 2013
* @since 0.3.1
* @since 0.3.1
*/
*/
@RequestProcessor
@RequestProcessor
...
@@ -196,7 +196,7 @@ public final class IndexProcessor {
...
@@ -196,7 +196,7 @@ public final class IndexProcessor {
* @param request the specified HTTP servlet request
* @param request the specified HTTP servlet request
* @param response the specified HTTP servlet response
* @param response the specified HTTP servlet response
*/
*/
@RequestProcessing
(
value
=
"/register
.html"
,
method
=
HTTPRequestMethod
.
GET
)
@RequestProcessing
(
value
=
"/register
"
,
method
=
HTTPRequestMethod
.
GET
)
public
void
register
(
final
HTTPRequestContext
context
,
final
HttpServletRequest
request
,
final
HttpServletResponse
response
)
{
public
void
register
(
final
HTTPRequestContext
context
,
final
HttpServletRequest
request
,
final
HttpServletResponse
response
)
{
final
AbstractFreeMarkerRenderer
renderer
=
new
ConsoleRenderer
();
final
AbstractFreeMarkerRenderer
renderer
=
new
ConsoleRenderer
();
...
...
core/src/main/java/org/b3log/solo/util/Users.java
View file @
d6037937
...
@@ -46,7 +46,7 @@ import org.json.JSONObject;
...
@@ -46,7 +46,7 @@ import org.json.JSONObject;
*
*
* @author <a href="mailto:DL88250@gmail.com">Liang Ding</a>
* @author <a href="mailto:DL88250@gmail.com">Liang Ding</a>
* @author <a href="mailto:385321165@qq.com">DASHU</a>
* @author <a href="mailto:385321165@qq.com">DASHU</a>
* @version 1.0.1.
4, Mar 30, 2013
* @version 1.0.1.
5, Apr 1, 2013
* @since 0.3.1
* @since 0.3.1
*/
*/
public
final
class
Users
{
public
final
class
Users
{
...
@@ -207,6 +207,10 @@ public final class Users {
...
@@ -207,6 +207,10 @@ public final class Users {
/**
/**
* Determines whether the specified email exits in the specified users.
* Determines whether the specified email exits in the specified users.
*
*
* <p>
* If the email is a visitor's, returns {@code false}.
* </p>
*
* @param email the specified email
* @param email the specified email
* @param users the specified user
* @param users the specified user
* @return {@code true} if exists, {@code false} otherwise
* @return {@code true} if exists, {@code false} otherwise
...
...
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