| | |
| | | export function getUserInfo(options) { |
| | | // return post("/user/getUserInfo.do", options); |
| | | } |
| | | // 用户详情 |
| | | export function getUserInfodata(options) { |
| | | return post("/user/getUserInfo.do", options); |
| | | } |
| | | // 多账户 |
| | | export function getMoney(options) { |
| | | return post("/user/getMoney.do", options); |
| | |
| | | import Vue from "vue"; |
| | | import VueI18n from "vue-i18n"; |
| | | // import en from "./en.js"; |
| | | import en from "./zh.js"; |
| | | import en from "./en.js"; |
| | | // import en from "./zh.js"; |
| | | import india from "@/locales/india"; |
| | | import tw from "@/locales/tw"; |
| | | import ty from "@/locales/taiyu.js"; |
| | |
| | | }, |
| | | async getUserInfo() { |
| | | // 获取用户信息 |
| | | let data = await api.getUserInfo(); |
| | | let data = await api.getUserInfodata(); |
| | | if (data.status === 0) { |
| | | // 判断是否登录 |
| | | this.$store.commit("dialogVisible", false); |