|
|
@@ -292,7 +292,7 @@ const selectUser = (uid) => {
|
|
|
|
|
|
// 拉取用户信息并处理
|
|
|
const requestUser = () => {
|
|
|
- top.U.A.Request(`${top.US.Config.pbl}selectUser?userid=${uid}`, [], function (res) {
|
|
|
+ top.U.A.Request(`${top.US.Config.pbl}selectUser2?userid=${uid}`, [], function (res) {
|
|
|
if (res && res.value && res.value.length && res.value[0].length && res.value[0][0].userid) {
|
|
|
// 拉取成功,存储用户信息
|
|
|
isShow.value = false;
|
|
|
@@ -334,7 +334,7 @@ const selectUser2 = (uid) => {
|
|
|
|
|
|
// 拉取用户信息并处理
|
|
|
const requestUser = () => {
|
|
|
- axios.get(`https://pbl.cocorobo.cn/api/pbl/selectUser?userid=${uid}`, { withCredentials: true })
|
|
|
+ axios.get(`https://pbl.cocorobo.cn/api/pbl/selectUser2?userid=${uid}`, { withCredentials: true })
|
|
|
.then(res => {
|
|
|
console.log(res);
|
|
|
if (res && res.data && res.data.length && res.data[0].length && res.data[0][0].userid) {
|
|
|
@@ -362,7 +362,7 @@ const selectUser3 = async (uid) => {
|
|
|
// 拉取用户信息并处理
|
|
|
const requestUser = async () => {
|
|
|
try {
|
|
|
- const res = await axios.get(`https://pbl.cocorobo.cn/api/pbl/selectUser?userid=${uid}`, { withCredentials: true });
|
|
|
+ const res = await axios.get(`https://pbl.cocorobo.cn/api/pbl/selectUser2?userid=${uid}`, { withCredentials: true });
|
|
|
console.log(res);
|
|
|
if (res && res.data && res.data.length && res.data[0].length && res.data[0][0].userid) {
|
|
|
// 拉取成功,存储用户信息
|