format
This commit is contained in:
@@ -7,7 +7,11 @@ package org.redkale.test.rest;
|
|||||||
|
|
||||||
import org.redkale.convert.json.JsonFactory;
|
import org.redkale.convert.json.JsonFactory;
|
||||||
|
|
||||||
/** @author zhangjx */
|
/**
|
||||||
|
* LoginBean
|
||||||
|
*
|
||||||
|
* @author zhangjx
|
||||||
|
*/
|
||||||
public class LoginBean {
|
public class LoginBean {
|
||||||
|
|
||||||
private String account = "";
|
private String account = "";
|
||||||
|
|||||||
@@ -8,13 +8,18 @@ package org.redkale.test.rest;
|
|||||||
import org.redkale.service.*;
|
import org.redkale.service.*;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 简单的定义UserService接口
|
* 简单的定义UserService接口
|
||||||
*
|
*
|
||||||
* @author zhangjx
|
* @author zhangjx
|
||||||
*/
|
*/
|
||||||
public class UserService implements Service {
|
public class UserService implements Service {
|
||||||
|
|
||||||
// 根据登录态获取当前用户信息
|
/**
|
||||||
|
* 根据登录态获取当前用户信息
|
||||||
|
*
|
||||||
|
* @param sessionid
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
public UserInfo current(String sessionid) {
|
public UserInfo current(String sessionid) {
|
||||||
return new UserInfo();
|
return new UserInfo();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user