zoujiajian 2 лет назад
Родитель
Сommit
b7633ee84b

+ 1 - 1
netflix-service/src/main/java/com/cyksj/service/relation/impl/GroupRelationFrontServiceImpl.java

@@ -576,7 +576,7 @@ public class GroupRelationFrontServiceImpl implements GroupRelationFrontService
 		}
 		if (renewalView.getGoodsId() == 1l) {
 			Integer linkType = loginReq.getLinkType();
-			if (linkType == null) {
+			if (type == null && linkType == null) {
 				throw BusinessRuntimeException.getInstance("系统异常");
 			}
 			String key = RedisService.key.NF_UPGRAD_USER_LIMIT_KEY.getNameFormat(DateUtil.hour(DateTime.now(), true), linkType, renewalView.getUserId());