-
Notifications
You must be signed in to change notification settings - Fork 188
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#666 Add interval access because extend the session period
- Loading branch information
1 parent
0194e83
commit 03363af
Showing
2 changed files
with
36 additions
and
1 deletion.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
src/main/java/org/support/project/knowledge/control/open/IntervalControl.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package org.support.project.knowledge.control.open; | ||
|
||
import org.support.project.di.DI; | ||
import org.support.project.di.Instance; | ||
import org.support.project.knowledge.control.Control; | ||
import org.support.project.web.bean.Msg; | ||
import org.support.project.web.boundary.Boundary; | ||
import org.support.project.web.control.service.Get; | ||
import org.support.project.web.exception.InvalidParamException; | ||
|
||
@DI(instance = Instance.Prototype) | ||
public class IntervalControl extends Control { | ||
|
||
@Get | ||
public Boundary access() throws InvalidParamException { | ||
return send(new Msg("OK")); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters