package io.github.lvyahui8.spring.example.service;

import io.github.lvyahui8.spring.example.model.User;

/**
 * @author lvyahui (lvyahui8@gmail.com,lvyahui8@126.com)
 * @since 2019/6/2 16:36
 */
public interface UserService {
    /**
     * s
     * @param id
     * @return
     */
    User get(Long id);

    /**
     * 获取已登录用户用户名
     *
     * @return xx
     */
    String getLoggedUsername();
}
