diff --git a/api/iClicker.js b/api/iClicker.js index e0ee4b8..5cf0e38 100644 --- a/api/iClicker.js +++ b/api/iClicker.js @@ -15,9 +15,9 @@ export function getIClickerData(data, config = {}) { * 提交答题器数据 */ export function submitIClickerData(data, config = {}) { + const { studentanswer, studentid } = data; return request({ - url: '/api/user.ashx?act=studenticlicker', - method: 'POST', - data + url: `/api/user.ashx?act=subansweringmachine&studentanswer=${studentanswer}&studentid=${studentid}`, + method: 'GET' }, config) } diff --git a/manifest.json b/manifest.json index 2a46ebe..2dd9b0b 100644 --- a/manifest.json +++ b/manifest.json @@ -47,7 +47,8 @@ "" ], "minSdkVersion" : 21, - "abiFilters" : [ "armeabi-v7a", "arm64-v8a", "x86" ] + "abiFilters" : [ "armeabi-v7a", "arm64-v8a", "x86" ], + "schemes" : "studypen" }, /* ios打包配置 */ "ios" : { diff --git a/pages/IClicker/IClicker.vue b/pages/IClicker/IClicker.vue index 565b694..64d2281 100644 --- a/pages/IClicker/IClicker.vue +++ b/pages/IClicker/IClicker.vue @@ -9,7 +9,7 @@ - + {{ option.text }} @@ -20,6 +20,7 @@