From 7d42f08b2f881958d4523e5b1d3313d01b46f0d9 Mon Sep 17 00:00:00 2001 From: ting Date: Thu, 26 Dec 2024 14:02:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9=E5=90=8E=E7=AB=AF=E8=AF=B7?= =?UTF-8?q?=E6=B1=82=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/CanApi.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/api/CanApi.js b/src/api/CanApi.js index 77adcd5..ab44fe7 100644 --- a/src/api/CanApi.js +++ b/src/api/CanApi.js @@ -3,7 +3,7 @@ import service from "." const CanApi = { //获取候选人列表 getCandidates(token){ - return service.post('https://api.xxcg.com/investvote/getCandidates/',{token}); + return service.post('https://api.homilychart.com/investvote/getCandidates',{token}); }, //投票 @@ -11,15 +11,15 @@ const CanApi = { let formData = new FormData(); formData.append("token", token); formData.append("code", code); - return service.post('https://api.xxcg.com/investvote/vote',formData) + return service.post('https://api.homilychart.com/investvote/vote',formData) }, //查看详情 Detail(jwcode){ - return service.get(`https://api.xxcg.com/investvote/getVotesByCandidate/`+`${jwcode}`) - } + return service.get(`https://api.homilychart.com/investvote/getVotesByCandidate/`+`${jwcode}`) + }, //重置投票记录 Reset(){ - return service.get('https://api.xxcg.com/investvote/resetVote') + return service.get('https://api.homilychart.com/investvote/resetVote') } }