Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
self-support
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李俊赕
self-support
Commits
53e4ec29
Commit
53e4ec29
authored
Apr 21, 2021
by
Morson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
token取值问题处理
parent
9b0c1eb9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
index.vue
src/pages/exam/index.vue
+4
-4
No files found.
src/pages/exam/index.vue
View file @
53e4ec29
...
@@ -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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment