feiyu02
2022-10-21 f22c4b9230808fed4fec80c435eccb4c833349a0
src/main/kotlin/cn/flightfeather/supervision/lightshare/service/WxUserService.kt
@@ -1,6 +1,7 @@
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
@@ -12,5 +13,14 @@
     */
    fun loginWx(accessTokenWX: AccessTokenWX): BaseResponse<Userinfo>
    fun loginPw(accessTokenPW: AccessTokenPW): 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
}