|
@@ -199,10 +199,19 @@ public class CommonUserController {
|
|
* @throws ServiceException
|
|
* @throws ServiceException
|
|
*/
|
|
*/
|
|
@PostMapping("/api/checkApp")
|
|
@PostMapping("/api/checkApp")
|
|
- public String checkApp(CommonUser commonUser) throws ServiceException {
|
|
|
|
|
|
+ public String checkApp(@RequestBody CommonUser commonUser) throws ServiceException {
|
|
return commonUserService.checkApp(commonUser);
|
|
return commonUserService.checkApp(commonUser);
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+ /**
|
|
|
|
+ * Session检测
|
|
|
|
+ *
|
|
|
|
+ * @return
|
|
|
|
+ * @throws ServiceException
|
|
|
|
+ */
|
|
|
|
+ @GetMapping("/api/checkSession")
|
|
|
|
+ public String checkSession() throws ServiceException {
|
|
|
|
+ return commonUserService.checkSession();
|
|
|
|
+ }
|
|
|
|
|
|
|
|
|
|
}
|
|
}
|