diff --git a/config/api.js b/config/api.js index 94d8df2..37f3bca 100644 --- a/config/api.js +++ b/config/api.js @@ -55,7 +55,7 @@ export const logOut = (data={}) => http.post('member/auth/logout', data, {custom // 模拟考试科目1或者4考试首页 export const questionExam = (data) => http.get(`questionExam/exam-${data.stepType}-${data.carType}`, ) // 模拟考试科目1或者4考试成绩单 - export const examTranscript = (data) => http.get(`questionExam/examTranscript-${stepType}-${carType}`, ) + export const examTranscript = (data) => http.get(`questionExam/examTranscript-${data.stepType}-${data.carType}`, ) // 开始考试 export const startExam = (data) => http.post('questionExam/startExam', data,) // 交卷,模拟考试保存接口 @@ -71,6 +71,15 @@ export const logOut = (data={}) => http.post('member/auth/logout', data, {custom // 会员VIP之声 export const memberVoicePage = (data) => http.post(`vip/memberVoicePage`, data,) + // 购买会员创建预支付订单 + export const createPrepaidApi = (data) => http.post(`vip/createPrepaid`, data,) + // 查询购买信息状态 + export const outTradeNApi = (outTradeNo) => http.get(`getPrepaid-${outTradeNo}`, ) + // 支付渠道的统一【支付】回调 + export const channelIdApi = (channelId) => http.get(`vip/notify/${channelId}`, ) + // 购买记录列表 + export const memberGradePayPage = (data) => http.post(`vip/memberGradePayPage`,data ) + diff --git a/manifest.json b/manifest.json index 42caf01..1985857 100644 --- a/manifest.json +++ b/manifest.json @@ -75,7 +75,7 @@ "disableHostCheck" : true, "proxy" : { "/api" : { - "target" : "http://192.168.1.202:8081/", + "target" : "http://192.168.1.201:8081/", // "target" : "http://question.ywxcw.cn/", "changeOrigin" : true, "secure" : true, diff --git a/pages.json b/pages.json index 6d19cc0..c5323af 100644 --- a/pages.json +++ b/pages.json @@ -29,6 +29,14 @@ } }, { + "path": "paymentOrder/paymentOrder", + "style": { + "navigationBarTitleText": "vip", + "enablePullDownRefresh": true, + "navigationStyle": "custom" + } + }, + { "path": "vipQuestions/vipQuestions", "style": { "navigationBarTitleText": "VIP常见问题说明", diff --git a/pages/exercises/examSubjiect1/examResultsOne.vue b/pages/exercises/examSubjiect1/examResultsOne.vue index 3de5e89..338f3b3 100644 --- a/pages/exercises/examSubjiect1/examResultsOne.vue +++ b/pages/exercises/examSubjiect1/examResultsOne.vue @@ -1,7 +1,7 @@