package cn.flightfeather.supervision.lightshare.service
|
|
import cn.flightfeather.supervision.domain.entity.Userinfo
|
import cn.flightfeather.supervision.lightshare.vo.AccessToken
|
import cn.flightfeather.supervision.lightshare.vo.AccessTokenPW
|
import cn.flightfeather.supervision.lightshare.vo.AccessTokenWX
|
import cn.flightfeather.supervision.lightshare.vo.BaseResponse
|
|
interface WxUserService {
|
|
/**
|
* 微信用户注册和登录
|
*/
|
fun loginWx(accessTokenWX: AccessTokenWX): BaseResponse<Userinfo>
|
|
/**
|
* 用户名密码登录,同时绑定微信用户
|
*/
|
// FIXME: 2022/9/25 暂定
|
fun loginPw(accessTokenPW: AccessTokenPW): AccessToken
|
|
|
fun subscribeCheck(signature: String, timestamp: String, nonce: String, echostr: String): String
|
|
fun subscribeResult(msg: String): String
|
}
|