From 9b9b0741c9658c351cd308851265edfe03546c7c Mon Sep 17 00:00:00 2001 From: Leon Xu Date: Sat, 7 May 2022 20:05:53 -0700 Subject: [PATCH] doc: remove params for getCovInfo method --- src/api/index.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/api/index.js b/src/api/index.js index d6ce184..ab5da2f 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -8,10 +8,8 @@ import base from "./base"; import md5 from "md5-js"; const api = { - getCovInfo(params) { - return axios.get(base.host + base.covInfo, { - params, - }); + getCovInfo() { + return axios.get(base.host + base.covInfo); }, getChinaData(params, params1) { return axios.get(base.baseUrl + base.chinaData, {