通过优化后端搜索逻辑,检查代码,前端需要做请求参数的兼容

main
RogerWork 11 months ago
parent b8d9e3a6bf
commit 791b74ab77
  1. 9
      src/apis/update.js

@ -9,9 +9,14 @@ export const cinema_list = () => {
} }
export const cinema_search = (params) => { export const cinema_search = (params) => {
const req_params = {
search: params['version'],
ip: params['ip']
}
console.log(req_params)
return request({ return request({
url: '/update/cinema/search', url: '/update/cinema/',
method: 'get', method: 'get',
params: params params: req_params
}) })
} }

Loading…
Cancel
Save