Commit 2ccd1b9e authored by chenqikuai's avatar chenqikuai

客服经理页面展示用户手机号

parent 342c9e5f
...@@ -30,7 +30,7 @@ class UserService { ...@@ -30,7 +30,7 @@ class UserService {
} }
userInfo(data: { addrs: string[] }) { userInfo(data: { addrs: string[] }) {
return baseAxios<{ total: number; item: iUserinfo[] }>({ return baseAxios<iUserinfo[]>({
url: '/user/user_info', url: '/user/user_info',
method: 'get', method: 'get',
params: data, params: data,
......
...@@ -41,7 +41,7 @@ export const getDisplayNamesFromAddress = async ( ...@@ -41,7 +41,7 @@ export const getDisplayNamesFromAddress = async (
addrs: notFoundList, addrs: notFoundList,
}) })
if (ret.code === 200) { if (ret.code === 200) {
const theoseNotFoundList = ret.data.item const theoseNotFoundList = ret.data
UserInfoDBService.getInstance().save(theoseNotFoundList) UserInfoDBService.getInstance().save(theoseNotFoundList)
fullList.push(...theoseNotFoundList) fullList.push(...theoseNotFoundList)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment