|
@@ -9,6 +9,7 @@ import com.yoho.tools.common.beans.ApiResponse; |
|
@@ -9,6 +9,7 @@ import com.yoho.tools.common.beans.ApiResponse; |
9
|
import com.yohobuy.ufo.model.order.bo.MerchantOrderAttachInfo;
|
9
|
import com.yohobuy.ufo.model.order.bo.MerchantOrderAttachInfo;
|
10
|
import com.yohobuy.ufo.model.order.common.EntrySellerType;
|
10
|
import com.yohobuy.ufo.model.order.common.EntrySellerType;
|
11
|
import com.yohobuy.ufo.model.order.req.EntrySellerRecharge;
|
11
|
import com.yohobuy.ufo.model.order.req.EntrySellerRecharge;
|
|
|
12
|
+import com.yohoufo.common.alarm.CommonAlarmEventPublisher;
|
12
|
import com.yohoufo.common.alarm.EventBusPublisher;
|
13
|
import com.yohoufo.common.alarm.EventBusPublisher;
|
13
|
import com.yohoufo.common.caller.UfoServiceCaller;
|
14
|
import com.yohoufo.common.caller.UfoServiceCaller;
|
14
|
import com.yohoufo.common.utils.TimeUtils;
|
15
|
import com.yohoufo.common.utils.TimeUtils;
|
|
@@ -128,7 +129,13 @@ public class EntrySellerRechargeServiceImpl implements IEntrySellerRechargeServi |
|
@@ -128,7 +129,13 @@ public class EntrySellerRechargeServiceImpl implements IEntrySellerRechargeServi |
128
|
}
|
129
|
}
|
129
|
|
130
|
|
130
|
// 4. 清理上次入驻的数据
|
131
|
// 4. 清理上次入驻的数据
|
131
|
- clearOldEntryData(orderCode, uid);
|
132
|
+ // 非常重要,直接影响了退出入驻时,检查账户
|
|
|
133
|
+ try{
|
|
|
134
|
+ clearOldEntryData(orderCode, uid);
|
|
|
135
|
+ }catch (Exception e){
|
|
|
136
|
+ logger.error("clearOldEntryData failed,uid {}, orderCode {}", uid, orderCode);
|
|
|
137
|
+ CommonAlarmEventPublisher.publish("clearOldEntryData", "ufo.order.clearOldEntryData", "clear last entry data ,uid " + uid + ", orderCode "+ orderCode);
|
|
|
138
|
+ }
|
132
|
|
139
|
|
133
|
// 5. 增加入驻次数
|
140
|
// 5. 增加入驻次数
|
134
|
addJoinHistory(uid, entrySellerRecharge.getCertNo());
|
141
|
addJoinHistory(uid, entrySellerRecharge.getCertNo());
|