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