| | |
| | |
|
| | | import java.util.List;
|
| | |
|
| | | import com.yeshi.fanli.entity.accept.AcceptData;
|
| | | import com.yeshi.fanli.entity.bus.user.TokenRecord;
|
| | | import com.yeshi.fanli.exception.user.TokenRecordException;
|
| | | import com.yeshi.fanli.vo.msg.TokenVO;
|
| | |
| | | * @return
|
| | | * @throws TokenRecordException
|
| | | */
|
| | | public TokenVO discernToken(String token, Long uid) throws TokenRecordException;
|
| | | public TokenVO discernToken(String token, Long uid, String platform,String version) throws TokenRecordException;
|
| | |
|
| | |
|
| | | /**
|
| | |
| | | * @param uid
|
| | | * @throws TokenRecordException
|
| | | */
|
| | | public String receiveToken(String token, Long uid) throws TokenRecordException;
|
| | | public String receiveToken(String token, Long uid, AcceptData acceptData) throws TokenRecordException;
|
| | |
|
| | |
|
| | | public void updateByPrimaryKeySelective(TokenRecord record);
|
| | |
| | | */
|
| | | public void invalidByCoupon(Long id);
|
| | |
|
| | | /**
|
| | | * 根据类型查询
|
| | | * @param type
|
| | | * @param identify
|
| | | * @return
|
| | | */
|
| | | public TokenRecord getByTypeAndIdentify(String type, String identify);
|
| | |
|
| | | }
|