소스 검색

预约体验

zzp 2 년 전
부모
커밋
35512d522d
2개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 2 2
      config/api.js
  2. 1 1
      pagesMain/venueDetail.vue

+ 2 - 2
config/api.js

@@ -2,10 +2,10 @@
 // const API_BASE = 'http://192.168.1.126:30000'
 //const API_BASE = 'http://192.168.1.117:8089'
 //const API_BASE = 'http://192.168.1.145/newApi'
-// const API_BASE = 'http://192.168.1.109/newApi'
+const API_BASE = 'http://192.168.1.109/newApi'
 // const API_BASE = 'http://192.168.1.117:8089'
 //const API_BASE = 'http://192.168.1.145/newApi'
-const API_BASE = 'http://192.168.1.117:8089'
+// const API_BASE = 'http://192.168.1.117:8089'
 // const API_BASE = 'http://192.168.1.145/newApi'
 
 module.exports = {

+ 1 - 1
pagesMain/venueDetail.vue

@@ -175,7 +175,7 @@
 				NET.request(API.customerAppointment, {
 					venueId: this.venueId,
 					classId: this.classId,
-					studentId: this.$store.state.customerId,
+					customerId: this.$store.state.customerId,
 					appointmentDate
 				}, 'POST').then(res => {
 					this.$refs.uTips.show({