feat: 客服接入 订单问题修改
This commit is contained in:
@@ -116,7 +116,7 @@ class GameDetailService {
|
||||
longitude: number;
|
||||
}): Promise<ApiResponse<UpdateLocationRes>> {
|
||||
return httpService.post("/user/update_location", location, {
|
||||
showLoading: true,
|
||||
showLoading: false,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -414,7 +414,9 @@ export const updateUserPhone = async (payload: ChangePhoneParams) => {
|
||||
// 获取指定用户信息
|
||||
export const getUserInfoById = async (id) => {
|
||||
try {
|
||||
const response = await httpService.post("/user/detail_by_id", { id });
|
||||
const response = await httpService.post("/user/detail_by_id", { id }, {
|
||||
showLoading: false,
|
||||
},);
|
||||
return response;
|
||||
} catch (error) {
|
||||
console.error("获取用户信息失败:", error);
|
||||
|
||||
Reference in New Issue
Block a user