parent
a35a1f82f7
commit
c3a76e62be
@ -1,22 +0,0 @@
|
|||||||
package com.softegg.freetogo;
|
|
||||||
|
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
|
||||||
import org.springframework.stereotype.Component;
|
|
||||||
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @description:Service接口类
|
|
||||||
* @author:zhanglinhaon
|
|
||||||
* @date:2024/5/7 16:06
|
|
||||||
*/
|
|
||||||
|
|
||||||
public interface UsersService {
|
|
||||||
List<Users> findAll();
|
|
||||||
void add(Users user);
|
|
||||||
void deleteById(int id);
|
|
||||||
Users getUserById(int id);
|
|
||||||
void update(Users user);
|
|
||||||
boolean isRegister(String phone);
|
|
||||||
Users getUserByPhone(String phone);
|
|
||||||
}
|
|
Loading…
Reference in new issue