From 6bd25ed34819c2cdeea28ce6a9ba08a9489ae2e4 Mon Sep 17 00:00:00 2001 From: kylin L <452061493@qq.com> Date: Thu, 25 Jan 2024 21:12:46 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=86=E9=A2=91=E7=AD=94=E9=A2=98=E6=8F=90?= =?UTF-8?q?=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/question.js | 10 ++++ components/s-video/s-video.vue | 87 +++++++++++++++++++++++++--------- pages/scan/scan.vue | 2 +- 3 files changed, 76 insertions(+), 23 deletions(-) create mode 100755 api/question.js diff --git a/api/question.js b/api/question.js new file mode 100755 index 0000000..bf09d72 --- /dev/null +++ b/api/question.js @@ -0,0 +1,10 @@ +import $http from '@/utils/http.js' + +/** 根据id获取绑定的题目json串 */ +export const getBindJson = (data) => { + return $http({ + method: 'POST', + url: 'small/project/question/getBindJsonApp', + data + }) +} \ No newline at end of file diff --git a/components/s-video/s-video.vue b/components/s-video/s-video.vue index d6913c1..5624f03 100644 --- a/components/s-video/s-video.vue +++ b/components/s-video/s-video.vue @@ -1,14 +1,24 @@