yujian
2019-08-28 d88c167fc5973a2c15ff1539e4cdab36e4a7842c
fanli/src/main/java/com/yeshi/fanli/service/inter/user/TokenRecordService.java
@@ -1,6 +1,8 @@
package com.yeshi.fanli.service.inter.user;
import com.yeshi.fanli.entity.bus.user.TokenRecord;
import com.yeshi.fanli.exception.user.TokenRecordException;
import com.yeshi.fanli.vo.msg.TokenVO;
public interface TokenRecordService {
@@ -14,4 +16,25 @@
    */
   public TokenRecord getNearByTypeAndIdentify(String type, String identify);
   /**
    * 赠送口令解析
    * @param token
    * @param uid
    * @return
    * @throws TokenRecordException
    */
   public TokenVO discernToken(String token, Long uid) throws TokenRecordException;
   /**
    * 口令领取
    * @param token
    * @param uid
    * @throws TokenRecordException
    */
   public String receiveToken(String token, Long uid) throws TokenRecordException;
   public void updateByPrimaryKeySelective(TokenRecord record);
}