Hellohao图床6-12更新

This commit is contained in:
Hellohao
2019-06-12 17:37:33 +08:00
parent 12f29cd2a1
commit 4b9fa244cd
225 changed files with 31394 additions and 14039 deletions
+36 -13
View File
@@ -6,19 +6,42 @@ import org.apache.ibatis.annotations.Param;
import cn.hellohao.pojo.Images;
import cn.hellohao.pojo.User;
import java.util.List;
@Mapper
public interface UserMapper {
//注册
Integer register(User user);
//登录
Integer login(@Param("email") String email,@Param("password") String password);
//获取用户信息
User getUsers(@Param("email") String email);
//插入图片
Integer insertimg(Images img);
//修改资料
Integer change(User user);
//检查用户名是否重复
Integer checkUsername(@Param("username") String username);
Integer getUserTotal();
//注册
Integer register(User user);
//登录
Integer login(@Param("email") String email, @Param("password") String password);
//获取用户信息
User getUsers(@Param("email") String email);
//插入图片
Integer insertimg(Images img);
//修改资料
Integer change(User user);
//检查用户名是否重复
Integer checkUsername(@Param("username") String username);
Integer getUserTotal();
List<User> getuserlist();
//刪除用戶
Integer deleuser(@Param("id") Integer id);
//查询用户名或者邮箱是否存在
Integer countusername(@Param("username") String username);
Integer countmail(@Param("email") String email);
Integer uiduser(@Param("uid") String uid);
User getUsersMail(@Param("uid") String uid);
}