import Axios from "@/utils/http"; // 获取用户实名认证信息 function getIdentify(data) { return Axios.fetch("wap/api/kyc!get.action", data); } // 申请实名认证 function apply(data) { return Axios.postFormData("wap/api/realNameAuth/apply", data); } // 获取高级认证信息,如家庭住址等 function getHighIdentify(data) { return Axios.post("wap/api/kycHighLevel!get.action", data); } // 申请高级认证 function applyHigh(data) { return Axios.postFormData("wap/api/highLevelAuth/apply", data); } //兑换币种 function getExchangerateuserconfig() { return Axios.fetch("wap/api/rate/exchangeRate/list"); } //帮助中心 function cms(data) { return Axios.fetch("wap/api/cms!list.action", data); } //公告 function news(data) { return Axios.fetch("wap/api/news!list.action", data); } //绑定邮件 function saveEmail(data) { return Axios.postFormData("wap/api/user/saveEmail", data); } //绑定手机 function savePhone(data) { return Axios.fetch("wap/api/user/savePhone", data); } //重置安全密码,获取人工审核的结果 function getSafewordApply(data) { return Axios.fetch("wap/api/user!get_safeword_apply.action", data); } // function setSafewordApply(data) { return Axios.postFormData("wap/api/user/setSafewordApply", data); } //修改资金米啊 function setSafeword(data) { return Axios.postFormData("wap/api/user/setSafeword", data); } //获取验证目标 function getVerifTarget(data) { return Axios.post("wap/api/user!getVerifTarget.action", data); } //获得谷歌绑定的信息 function getGoogleAuth(data) { return Axios.fetch("wap/api/googleauth!get.action", data); } //绑定谷歌绑定 function bindGoogleAuth(data) { return Axios.postFormData("wap/api/gooleAuth/bind", data); } function updatepsw(data) { return Axios.fetch("wap/api/user/updatePsw", data); } //用户信息 function getUserInfo(data) { return Axios.fetch("wap/api/localuser!get.action", data); // return Axios.fetch("wap/api/kyc!get.action", data); } // 认证信息 export const _getIdentify = () => { return Axios.fetch("wap/api/kyc!get.action"); } export default { getIdentify, apply, getHighIdentify, applyHigh, getExchangerateuserconfig, cms, news, saveEmail, savePhone, setSafewordApply, getSafewordApply, setSafeword, getVerifTarget, getGoogleAuth, bindGoogleAuth, updatepsw, getUserInfo, };