增加删除,返回用户信息接口
This commit is contained in:
@@ -3,6 +3,7 @@ import com.backend.webbackend.mapper.UserMapper;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
@@ -49,4 +50,10 @@ public class Tools {
|
||||
}
|
||||
return PASSWORD_ENCODER.matches(rawPassword, encodedPassword);
|
||||
}
|
||||
|
||||
//文件保存
|
||||
public String saveIcoFile(MultipartFile icoFile){
|
||||
|
||||
return "";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user