Browse Source

1、课堂作业提交联动服务指标限制;
2、vip课创建无运营主管提示;
3、vip课购买添加学员限制;

Joburgess 5 years ago
parent
commit
af829d43e8

+ 2 - 2
cms/src/main/java/com/ym/mec/cms/service/impl/SysNewsInformationServiceImpl.java

@@ -33,7 +33,7 @@ public class SysNewsInformationServiceImpl extends BaseServiceImpl<Long, SysNews
 	
 	@Autowired
 	private WebFeignService webFeignService;
-	
+
 	@Value("${cms.server.context.path}")
 	private String serverContextPath;
 	
@@ -167,4 +167,4 @@ public class SysNewsInformationServiceImpl extends BaseServiceImpl<Long, SysNews
 		return pageInfo;
 	}
 
-}
+}

+ 7 - 1
cms/src/main/resources/application.yml

@@ -76,4 +76,10 @@ management:
 
 ribbon:  
     ReadTimeout: 60000  
-    ConnectTimeout: 60000
+    ConnectTimeout: 60000
+
+
+cms:
+  server:
+    context:
+      path: http://admin.dayaedu.com/

+ 2 - 2
mec-biz/src/main/java/com/ym/mec/biz/service/impl/VipGroupServiceImpl.java

@@ -1174,7 +1174,7 @@ public class VipGroupServiceImpl extends BaseServiceImpl<Long, VipGroup> impleme
 		if(classGroup.getStudentNum()>1&&(VipGroupStatusEnum.APPLYING.equals(vipGroup.getStatus()))){
 			int i = studentPaymentOrderDao.countGroupOrderWithoutFailed(vipGroupBuyParams.getVipGroupId().toString(), GroupType.VIP);
 			if(i<=0){
-				throw new BizException("VIP课程存在手动添加用户,无法进行购买!");
+				throw new BizException("该课程已经无法通过购买加入,请联系教务老师!");
 			}
 		}
 
@@ -2487,7 +2487,7 @@ public class VipGroupServiceImpl extends BaseServiceImpl<Long, VipGroup> impleme
 		if(classGroup.getStudentNum()>1&&(VipGroupStatusEnum.APPLYING.equals(vipGroup.getStatus()))){
 			int i = studentPaymentOrderDao.countGroupOrderWithoutFailed(vipGroupId.toString(), GroupType.VIP);
 			if(i>0){
-				throw new BizException("VIP课程存在购买用户,无法进行添加学员操作!");
+				throw new BizException("该课程组学员为购买加入,无法添加学员加入,请走学员走购买流程!");
 			}
 		}