This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
package com.sky.service;
import com.sky.dto.UserLoginDTO;
import com.sky.entity.User;
/**
* UserService 接口定义了用户相关的服务方法。
*/
public interface UserService {
* 使用微信登录,根据提供的用户登录数据传输对象(UserLoginDTO)进行登录操作。
* 如果登录成功,返回对应的用户实体(User),否则可能抛出异常或返回null。
*
* @param userLoginDTO 包含用户登录信息的数据传输对象,通常包括必要的认证信息如微信的code等。
* @return 返回登录成功后的用户实体,如果登录失败则可能抛出异常或返回null。
User wxLogin(UserLoginDTO userLoginDTO);
}