diff --git a/src/apis/update.js b/src/apis/update.js index 698bdc2..cc89431 100644 --- a/src/apis/update.js +++ b/src/apis/update.js @@ -9,9 +9,14 @@ export const cinema_list = () => { } export const cinema_search = (params) => { + const req_params = { + search: params['version'], + ip: params['ip'] + } + console.log(req_params) return request({ - url: '/update/cinema/search', + url: '/update/cinema/', method: 'get', - params: params + params: req_params }) }