Commit 14869cc4bbb50e2999009c72ff32744686b3be79
1 parent
9fd62722
Exists in
master
feat: 阅读量修改
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
src/views/Service/AbroadDetail.vue
... | ... | @@ -312,7 +312,7 @@ export default { |
312 | 312 | this.yxAxios |
313 | 313 | .post(`${this.kqUrl}/visitRecord/setCourseVisit`, { |
314 | 314 | courseId: courseId, |
315 | - userId: JSON.parse(localStorage.getItem('userInfo')).userId | |
315 | + userId: JSON.parse(localStorage.getItem('userInfo')).centerNo | |
316 | 316 | }) |
317 | 317 | .then((res) => { |
318 | 318 | if (res.data.success) { | ... | ... |
src/views/Yanxue/pageDetails.vue
... | ... | @@ -95,7 +95,7 @@ export default { |
95 | 95 | this.yxAxios |
96 | 96 | .post(`${this.kqUrl}/visitRecord/setConsultVisit`, { |
97 | 97 | consultId: this.$route.query.dataId, |
98 | - userId: JSON.parse(localStorage.getItem('userInfo')).userId | |
98 | + userId: JSON.parse(localStorage.getItem('userInfo')).centerNo | |
99 | 99 | }) |
100 | 100 | .then((res) => { |
101 | 101 | if (res.data.success) { | ... | ... |