From 51a4ff5d777028d52a19c314a99f796334cb7b51 Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期六, 23 十一月 2019 18:30:01 +0800
Subject: [PATCH] 配置文件修改

---
 fanli/src/main/java/com/yeshi/fanli/service/inter/user/TokenRecordService.java |   18 ++++++++++++++++--
 1 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/user/TokenRecordService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/user/TokenRecordService.java
index d221755..52e8c02 100644
--- a/fanli/src/main/java/com/yeshi/fanli/service/inter/user/TokenRecordService.java
+++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/user/TokenRecordService.java
@@ -2,6 +2,7 @@
 
 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;
@@ -25,7 +26,7 @@
 	 * @return
 	 * @throws TokenRecordException
 	 */
-	public TokenVO discernToken(String token, Long uid) throws TokenRecordException;
+	public TokenVO discernToken(String token, Long uid, AcceptData acceptData) throws TokenRecordException;
 
 	
 	/**
@@ -34,7 +35,7 @@
 	 * @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);
@@ -52,4 +53,17 @@
 	 */
 	public void overdue(List<TokenRecord> list);
 
+	/**
+	 * 绾㈠寘鍙d护澶辨晥
+	 * @param id
+	 */
+	public void invalidByRedPack(Long id);
+
+
+	/**
+	 * 鍒稿彛浠ゅけ鏁�
+	 * @param id
+	 */
+	public void invalidByCoupon(Long id);
+
 }

--
Gitblit v1.8.0