Commit 53e4ec29 authored by Morson's avatar Morson

token取值问题处理

parent 9b0c1eb9
...@@ -160,7 +160,7 @@ ...@@ -160,7 +160,7 @@
url: systemApiUrl + url: systemApiUrl +
'/wxh-worker-rest/rest/exam' + '/wxh-worker-rest/rest/exam' +
'/serviceRule/userExamInfo/' + '/serviceRule/userExamInfo/' +
getApp().globalData.token + that.vuex_token +
'?examId=' + this.examId, '?examId=' + this.examId,
method: 'POST', method: 'POST',
data: { data: {
...@@ -231,7 +231,7 @@ ...@@ -231,7 +231,7 @@
url: systemApiUrl + url: systemApiUrl +
'/wxh-worker-rest/rest/exam' + '/wxh-worker-rest/rest/exam' +
'/serviceRule/' + '/serviceRule/' +
getApp().globalData.token + that.vuex_token +
'?examId=' + this.examId, '?examId=' + this.examId,
method: 'POST', method: 'POST',
data: { data: {
...@@ -297,7 +297,7 @@ ...@@ -297,7 +297,7 @@
url: systemApiUrl + url: systemApiUrl +
'/wxh-worker-rest/rest/exam' + '/wxh-worker-rest/rest/exam' +
'/serviceRule/next/' + '/serviceRule/next/' +
getApp().globalData.token + that.vuex_token +
'?userExamId=' + this.userExamId + '?userExamId=' + this.userExamId +
'&questionId=' + questionId + '&questionId=' + questionId +
'&userAnswerIds=' + this.userAnswerIds, '&userAnswerIds=' + this.userAnswerIds,
...@@ -468,7 +468,7 @@ ...@@ -468,7 +468,7 @@
let that = this let that = this
uni.request({ uni.request({
url: ucenterApiUrl + '/v1/settled/update-settled-exam-score' + url: ucenterApiUrl + '/v1/settled/update-settled-exam-score' +
'?access-token=' + getApp().globalData.token, '?access-token=' + that.vuex_token,
method: 'POST', method: 'POST',
data: { data: {
score: this.examScore || 0, score: this.examScore || 0,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment