/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.ifish.helper;

import com.ifish.entity.User;

/**
 * 用户管理所有接口方法
 *
 * @author Administrator
 */
public interface UserHelperI {

    /**
     * 登陆接口
     *
     * @param user
     * @return
     */
    public Object login(User user);

    /**
     * 根据用户Id获取用户信息
     *
     * @param userId
     * @return
     */
    public User getUserById(Integer userId) throws Exception;
}
