weiwenhai 6 سال پیش
والد
کامیت
be2f4293aa

+ 1 - 1
src/main/java/cn/com/qmth/examcloud/app/service/impl/NetExamServiceImpl.java

@@ -47,7 +47,7 @@ public class NetExamServiceImpl implements NetExamService {
     @Override
     @Override
     public Result getCurrentTime(String key, String token) throws Exception {
     public Result getCurrentTime(String key, String token) throws Exception {
         //封装请求参数
         //封装请求参数
-        final String requestUrl = String.format("%s/api/online_exam_course/currentTime", propertyService.getNetExamUrl());
+        final String requestUrl = String.format("%s/api/ecs_oe_student/examControl/currentTime", propertyService.getNetExamUrl());
         Result<String> result = HttpUtils.doGet(requestUrl, key, token);
         Result<String> result = HttpUtils.doGet(requestUrl, key, token);
         if (result.isSuccess()) {
         if (result.isSuccess()) {
             //转换日期格式
             //转换日期格式

+ 13 - 13
src/main/resources/application-dev.properties

@@ -22,23 +22,23 @@ spring.jpa.show-sql=false
 spring.jpa.hibernate.ddl-auto=update
 spring.jpa.hibernate.ddl-auto=update
 #redis config
 #redis config
 spring.redis.port=6379
 spring.redis.port=6379
-spring.redis.host=192.168.10.30
+spring.redis.host=192.168.10.39
 spring.redis.password=
 spring.redis.password=
 spring.redis.database=0
 spring.redis.database=0
 spring.redis.timeout=15000
 spring.redis.timeout=15000
-# 基础信息服务地址
-examcloud.base.info.url=http://192.168.10.30:8000
-# 考务服务地
-examcloud.exam.admin.url=http://192.168.10.30:8001
-# 网考服务地址
-examcloud.net.exam.url=http://192.168.10.30:8003
-# 题库服务地址
-examcloud.question.pool.url=http://192.168.10.30:8868
-# 认证中心服务地址
-examcloud.user.auth.url=http://192.168.10.30
-# 又拍云文件服务地址
+# 锟斤拷锟斤拷锟斤拷息锟斤拷锟斤拷锟街�
+examcloud.base.info.url=http://192.168.10.39:8000
+# 锟斤拷锟斤拷锟斤拷锟斤拷
+examcloud.exam.admin.url=http://192.168.10.39:8001
+# 锟斤拷锟斤拷锟斤拷锟斤拷锟街�
+examcloud.net.exam.url=http://192.168.10.39:8003
+# 锟斤拷锟斤拷锟斤拷锟街�
+examcloud.question.pool.url=http://192.168.10.39:8868
+# 锟斤拷证锟斤拷锟侥凤拷锟斤拷锟街�
+examcloud.user.auth.url=http://192.168.10.39
+# 锟斤拷锟斤拷锟斤拷锟侥硷拷锟斤拷锟斤拷锟街�
 examcloud.upyun.url=https://ecs-test-static.qmth.com.cn
 examcloud.upyun.url=https://ecs-test-static.qmth.com.cn
-# 短信服务配置
+# 锟斤拷锟脚凤拷锟斤拷锟斤拷锟斤拷
 examcloud.sms.url=http://192.168.10.30:8007
 examcloud.sms.url=http://192.168.10.30:8007
 examcloud.sms.sign=\u8003\u8BD5\u4E91\u5E73\u53F0
 examcloud.sms.sign=\u8003\u8BD5\u4E91\u5E73\u53F0
 examcloud.sms.template=SMS_138073780
 examcloud.sms.template=SMS_138073780