@IocBean(name="slogService", fields={"dao"})
public class MySlogService extends SlogService {
private static final Log log = Logs.get();
/**
* 获取用户名称, 字符串类型
*/
public static Callable<Object> GET_USER_NAME = () -> {
String userName = TssoUtils.getCurrentUser().getUserName();
new Throwable().printStackTrace();
return userName;
};
}
添加回复
请先登陆