谢杰标 2 年 前
コミット
2ac4c96efd
2 ファイル変更22 行追加19 行削除
  1. 1 1
      common/config.js
  2. 21 18
      common/httpList/exam.js

+ 1 - 1
common/config.js

@@ -6,7 +6,7 @@ const test = {
   tenantId: "867735392558919680", //详粤云学堂
   appid: "wxd3c8ae80cf43a305",
 };
-const index = 6; // 测试环境
+const index = 0; // 测试环境
 // const index = 1; // 祥粤云学堂
 // const index = 2 // 祥粤学堂
 // const index = 3 // 勘设云学堂

+ 21 - 18
common/httpList/exam.js

@@ -1,19 +1,22 @@
-import {
-	myRequest
-} from '../request.js'
+import { myRequest } from "../request.js";
 export default {
-
-	getExamDetail(data) {
-		return myRequest({
-			url: '/bank/exam/'+data,
-			method: 'get',
-		})
-	},
-	getExamLearnStatus(data) {
-		return myRequest({
-		  url: '/bank/record/check/bank/record',
-		  data,
-		  method: 'GET',
-		})
-	  },
-}
+  getExamDetail(data) {
+    return myRequest({
+      url: "/bank/exam/" + data,
+      method: "get",
+    });
+  },
+  getExamLearnStatus(data) {
+    return myRequest({
+      url: "/bank/record/check/bank/record",
+      data,
+      method: "GET",
+    });
+  },
+  getExamTip() {
+    return myRequest({
+      url: "/apply/before/know",
+      method: "GET",
+    });
+  },
+};