diff --git a/.env.development b/.env.development index 292bbd2..a08fd7f 100644 --- a/.env.development +++ b/.env.development @@ -5,7 +5,7 @@ ENV = 'development' VUE_APP_BASE_API = '/prod-api' # VUE_APP_BASE_TARGET = 'http://www.bjkeyware.com/test-api' -VUE_APP_BASE_TARGET = 'http://192.168.0.229:9999' +VUE_APP_BASE_TARGET = 'http://192.168.0.230:9999' # VUE_APP_BASE_TARGET = 'http://www.bjkeyware.com/prod-api' # VUE_APP_BASE_TARGET = 'http://192.168.0.129:9999' diff --git a/admin_test.zip b/admin_test.zip new file mode 100644 index 0000000..d6b8251 Binary files /dev/null and b/admin_test.zip differ diff --git a/src/api/toolInfo/market.js b/src/api/toolInfo/market.js index 29c2d3b..0c16c25 100644 --- a/src/api/toolInfo/market.js +++ b/src/api/toolInfo/market.js @@ -33,22 +33,22 @@ export function getFunction(toolId) { // 购买工具支付成功 -export function buyTool(tool) { - return request({ - url: '/pay/one', - method: 'post', - data: tool - }) -} +// export function buyTool(tool) { +// return request({ +// url: '/pay/one', +// method: 'post', +// data: tool +// }) +// } -// 购买多个工具支付成功 -export function buyTools(tools) { - return request({ - url: '/pay/more', - method: 'post', - data: tools - }) -} +// // 购买多个工具支付成功 +// export function buyTools(tools) { +// return request({ +// url: '/pay/more', +// method: 'post', +// data: tools +// }) +// } //0元订单支付 export function noPayBuy(tool) { return request({ diff --git a/src/api/trainService/index.js b/src/api/trainService/index.js index d99e6ca..64dcf91 100644 --- a/src/api/trainService/index.js +++ b/src/api/trainService/index.js @@ -279,10 +279,11 @@ export function delCourse(id) { } // 根据课程ID获取改课程下所有签到用户信息 -export function getSigninInfo(id) { +export function getSigninInfo(id,params) { return request({ url: '/course/admin/singin/' + id, method: 'get', + params }) } // 删除签到信息 diff --git a/src/views/trainService/signInInfoList.vue b/src/views/trainService/signInInfoList.vue index 37c3690..de1b410 100644 --- a/src/views/trainService/signInInfoList.vue +++ b/src/views/trainService/signInInfoList.vue @@ -1,10 +1,20 @@