zoujiajian 1 년 전
부모
커밋
ac82bcfbaf

+ 8 - 0
netflix-service/src/main/java/com/cyksj/service/mange/usermirror/impl/UserMirrorCommonServiceImpl.java

@@ -118,6 +118,14 @@ public class UserMirrorCommonServiceImpl implements UserMirrorCommonService {
 		orderDon.setOutRefundNo(outRefundNo);
 		orderDon.setStatus(UserMirrorShopFeeOrderDon.Status.refund);
 		orderDon.setRefundMoney(orderDon.getMoney());
+
+		UserMirrorShop userMirrorShop = userMirrorShopMapper.selectOne(Wrappers.lambdaQuery(UserMirrorShop.class)
+				.eq(UserMirrorShop::getUserId, orderDon.getUserId())
+				.last("limit 1"));
+		if (userMirrorShop != null) {
+			userMirrorShop.setStatus(false);
+			userMirrorShopMapper.updateById(userMirrorShop);
+		}
 		userMirrorShopFeeOrderDonMapper.updateById(orderDon);
 	}
 

+ 1 - 1
netflix-web/src/main/resources/application-pre.yml

@@ -146,7 +146,7 @@ wx-login:
   baRedirectUrl: https://nf.video/8082/api/applets/market/task/bind/wx/baseRedirect
   cpsWebRedirectUri: https://inside.liuliangbang.vip/yinhe/cps/homePage
   userMirrorShopRedirectUri: https://cps.nf.video/8082/api/mirrorShop/manage/wx/authLogin/baseRedirect
-  userMirrorShopLoginUrl: https://cps.nf.video/mirror/web/
+  userMirrorShopLoginUrl: https://cps.nf.video/mirrorTest/web/yinhe
   remark: 银河录像网页微信登录
 
 wx-shop-login: