package cn.flightfeather.supervision.lightshare.service
|
|
import cn.flightfeather.supervision.domain.entity.Userinfo
|
import cn.flightfeather.supervision.lightshare.vo.*
|
import org.springframework.web.multipart.MultipartFile
|
import javax.servlet.http.HttpServletResponse
|
|
interface UserinfoService {
|
fun findOne(id: String): Userinfo
|
|
fun findAll(): MutableList<Userinfo>
|
|
fun save(userinfo: Userinfo): Int
|
|
fun update(userinfo: Userinfo): Int
|
|
fun delete(id: String): Int
|
|
fun findOneByName(userinfo: Userinfo): Userinfo
|
|
fun login(loginRequestVo: LoginRequestVo): AccessToken
|
|
|
fun register(loginRequestVo: LoginRequestVo): AccessToken
|
|
fun register2(loginRequestVo: LoginRequestVo): AccessToken
|
|
fun getAddressBook(userId:String):List<FriendVo>
|
|
fun upLoadAccountPic(userId: String, files: Array<MultipartFile>): String
|
|
fun changePassword(userId: String, oldPassword: String, newPassword: String): BaseResponse<String>
|
|
fun searchUser(userId: String,condition: UserSearchCondition, page: Int, perPage: Int, response: HttpServletResponse): List<Userinfo>
|
|
fun getBaseInfo(userId: String, wxUserId: String?): UserBaseInfo
|
|
fun search(district: String?, sceneType: Int?, userType: Int?, page: Int, perPage: Int): BaseResponse<List<Userinfo>>
|
|
}
|