From d5cd1f586232ef5e68c6430671f58fe0db8303d3 Mon Sep 17 00:00:00 2001 From: lenghui Date: Wed, 25 Dec 2024 15:00:23 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E7=BD=AE=E6=8A=95=E7=A5=A8=E8=AE=B0?= =?UTF-8?q?=E5=BD=95api=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/CanApi.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/api/CanApi.js b/src/api/CanApi.js index 77adcd5..3cb21da 100644 --- a/src/api/CanApi.js +++ b/src/api/CanApi.js @@ -16,11 +16,11 @@ const CanApi = { //查看详情 Detail(jwcode){ return service.get(`https://api.xxcg.com/investvote/getVotesByCandidate/`+`${jwcode}`) + }, + //重置投票记录 + Reset(){ + return service.get('https://api.xxcg.com/investvote/resetVote') } - //重置投票记录 - Reset(){ - return service.get('https://api.xxcg.com/investvote/resetVote') - } } export default CanApi; \ No newline at end of file