feat: 添加用户登录服务及JWT认证功能

refactor: 重构实体类并添加Lombok注解

docs: 更新数据库表结构文档

style: 清理无用代码并优化格式

fix: 修复用户详情服务中的联系方式更新方法

build: 更新pom.xml配置并添加Lombok插件

test: 添加用户登录测试用例

chore: 添加开发和生产环境配置文件
This commit is contained in:
qingfeng1121
2025-11-28 14:14:38 +08:00
parent 7536c8087e
commit 51086db30e
64 changed files with 6168 additions and 567 deletions

View File

@@ -0,0 +1,22 @@
/*
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Interface.java to edit this template
*/
package com.qf.backend.service;
import com.qf.backend.common.Result;
import com.qf.backend.dto.LoginUser;
/**
* 用户登录服务接口
*/
public interface UserLoginService {
/**
* 用户登录
* @param username 用户名
* @param password 密码
* @return 登录结果
*/
Result<LoginUser> login(String username, String password);
}