|
@@ -247,7 +247,6 @@ import { getAccessToken, showNecessaryInfoPopup } from '@/utils/request'
|
|
import { onLoad, onShareAppMessage } from '@dcloudio/uni-app'
|
|
import { onLoad, onShareAppMessage } from '@dcloudio/uni-app'
|
|
import { prologue, defaultText } from '@/hooks/useIM'
|
|
import { prologue, defaultText } from '@/hooks/useIM'
|
|
import { userStore } from '@/store/user'
|
|
import { userStore } from '@/store/user'
|
|
-import { getSubscribeTemplateList } from '@/api/common'
|
|
|
|
import { formatName } from '@/utils/getText'
|
|
import { formatName } from '@/utils/getText'
|
|
import studentDeliveryForm from '@/components/studentDeliveryForm'
|
|
import studentDeliveryForm from '@/components/studentDeliveryForm'
|
|
// import { getShareQueryById } from '@/api/jobFair.js'
|
|
// import { getShareQueryById } from '@/api/jobFair.js'
|
|
@@ -556,10 +555,8 @@ const handleDelivery = async () => {
|
|
resumeList.value = data
|
|
resumeList.value = data
|
|
|
|
|
|
// 消息订阅
|
|
// 消息订阅
|
|
- const { data: templateList } = await getSubscribeTemplateList()
|
|
|
|
- const tmplIds = templateList.map(e => e.id)
|
|
|
|
- console.log(tmplIds, '消息订阅模版ID')
|
|
|
|
- uni.requestSubscribeMessage({
|
|
|
|
|
|
+ const tmplIds = ['2KOkuFsB-2MrvnQa_45OvqMJ9ik37Xz43YXPApiQ9es', 'tUTwKQTdWnZsen7Nhtu0ksMQj0lkEuMt2nBzCrm_7vY']
|
|
|
|
+ wx.requestSubscribeMessage({
|
|
tmplIds,
|
|
tmplIds,
|
|
success:(res)=>{
|
|
success:(res)=>{
|
|
console.log(res, 'uni.requestSubscribeMessage-res')
|
|
console.log(res, 'uni.requestSubscribeMessage-res')
|