|
|
@@ -362,7 +362,7 @@ export default {
|
|
|
getUser() {
|
|
|
let params = { uid: this.userid };
|
|
|
this.ajax
|
|
|
- .get(this.$store.state.api + "getUser", params)
|
|
|
+ .get(this.$store.state.api + "getUser2", params)
|
|
|
.then((res) => {
|
|
|
this.userinfo = res.data[0][0];
|
|
|
// this.$cookies.set("userInfo", this.userinfo, -1);
|
|
|
@@ -377,7 +377,7 @@ export default {
|
|
|
getDetail() {
|
|
|
let params = { uid: this.userid };
|
|
|
this.ajax
|
|
|
- .get(this.$store.state.api + "getUser", params)
|
|
|
+ .get(this.$store.state.api + "getUser2", params)
|
|
|
.then((res) => {
|
|
|
if (res.data[0][0]) {
|
|
|
res.data[0][0].sex = res.data[0][0].sex ? "女" : "男";
|