feat: SaToken

This commit is contained in:
2024-03-05 19:17:23 +08:00
parent 4551fe660c
commit 36f4750705
6 changed files with 41 additions and 44 deletions

View File

@@ -151,7 +151,7 @@ id,sno,password,username,class_name,grade,age,sex,avatar,date_of_birth,email,pho
select count(1) from student
</select>
<select id="login" resultType="java.lang.Integer">
select * from student
select id from student
where username=#{username}
and password=#{password}
</select>