Explorar el Código

职位分享:获取分享参数接口更换为原来的

Xiao_123 hace 4 meses
padre
commit
d39d639b5d
Se han modificado 1 ficheros con 4 adiciones y 3 borrados
  1. 4 3
      pagesB/positionDetail/index.vue

+ 4 - 3
pagesB/positionDetail/index.vue

@@ -221,7 +221,8 @@ import {
   getPersonJobUnfavorite, // 取消收藏
   getPersonJobFavorite, // 收藏
   getJobFavoriteCheck,
-  jobCvRelHireSend
+  jobCvRelHireSend,
+  getShareDetail
 } from '@/api/position'
 import { getPersonResumeCv, saveResume } from '@/api/user'
 import { dealDictObjData } from '@/utils/position'
@@ -231,7 +232,7 @@ import { prologue, defaultText } from '@/hooks/useIM'
 import { userStore } from '@/store/user'
 import { getSubscribeTemplateList } from '@/api/common'
 import { formatName } from '@/utils/getText'
-import { getShareQueryById } from '@/api/jobFair.js'
+// import { getShareQueryById } from '@/api/jobFair.js'
 
 const useUserStore = userStore()
 const sharePopup = ref()
@@ -266,7 +267,7 @@ onLoad(async (options) => {
   if (options.scene) {
     const scene = decodeURIComponent(options.scene)
     const str = scene.split('=')
-    const res = await getShareQueryById({ key: str[1] })
+    const res = await getShareDetail({ id: str[1] })
     obj = res.data
   }