Commit aec4bef8e5de34f63868f5ffb4cbbd3bebd0591a

Authored by loveumiko
1 parent 10af0010

fix: 修复分享401问题

1 1 import { defHttp } from '@/utils/external/http/axios'
2 2 import { ConfigurationItemType, DictItem, OrganizationListItem, UploadResponse } from './model'
3 3 import { PaginationResult } from '/#/external/axios'
  4 +import { isShareMode } from '@/views/share/hook'
4 5
5 6 enum Api {
6 7 GET_DICT = '/dict_item',
... ... @@ -47,7 +48,7 @@ export const getAreaList = (data: object) => {
47 48 return defHttp.post<any>({
48 49 url: Api.AREALIST,
49 50 data
50   - })
  51 + },{withShareToken:isShareMode()})
51 52 }
52 53
53 54 //获取企业定制
... ...