...
|
...
|
@@ -118,6 +118,16 @@ public class RealNameAuthorizeServiceImpl implements IRealNameAuthorizeService { |
|
|
return authorizeInfo;
|
|
|
}
|
|
|
|
|
|
// 清除绑定的支付宝信息
|
|
|
public int clearAuthorizeInfo(int uid){
|
|
|
logger.info("RealNameAuthorizeServiceImpl clearAuthorizeInfo uid is {} ",uid);
|
|
|
int num = userAuthorizeInfoDao.updateToUnValidStatusByUid(uid);
|
|
|
logger.info("RealNameAuthorizeServiceImpl clearAuthorizeInfo uid is {} ,num {}",uid,num);
|
|
|
//清缓存
|
|
|
cacheService.delUserAuthorizeInfo(uid);
|
|
|
return num;
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public void saveAuthorizeInfo(RealNameAuthorizeReqVO reqVO){
|
...
|
...
|
@@ -290,13 +300,6 @@ public class RealNameAuthorizeServiceImpl implements IRealNameAuthorizeService { |
|
|
logger.info("RealNameAuthorizeServiceImpl clearCacheZhiMaCertInfo uid is {} ", uid);
|
|
|
int result = 0;
|
|
|
if (uid!=null && uid > 0 ){
|
|
|
/*List<ZhiMaCert> zhiMaCerts = zhiMaCertDao.selectByUid(uid);
|
|
|
try {
|
|
|
zhiMaCerts.stream().forEach(item -> zhiMaCertDao.insertbak(item));
|
|
|
} catch (Exception e) {
|
|
|
logger.info("zhiMaCertDao.insertbak find error zhiMaCerts is : " + zhiMaCerts, e);
|
|
|
}*/
|
|
|
|
|
|
result = zhiMaCertDao.deleteByUid(uid);
|
|
|
logger.info("RealNameAuthorizeServiceImpl clearCacheZhiMaCertInfo delete uid{} ,delete result is {}", uid, result);
|
|
|
|
...
|
...
|
|