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
     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);
         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
 #redis config
 spring.redis.port=6379
-spring.redis.host=192.168.10.30
+spring.redis.host=192.168.10.39
 spring.redis.password=
 spring.redis.database=0
 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.sms.url=http://192.168.10.30:8007
 examcloud.sms.sign=\u8003\u8BD5\u4E91\u5E73\u53F0
 examcloud.sms.template=SMS_138073780