diff --git a/.env.ip b/.env.ip
index fa56a3e..683410f 100644
--- a/.env.ip
+++ b/.env.ip
@@ -3,7 +3,7 @@ MP_IMAGE_URL=https://patient.youcan365.com
MP_CACHE_PREFIX=development
MP_WX_APP_ID=wx1d8337a40c11d66c
MP_CORP_ID=wwe3fb2faa52cf9dfb
-MP_TIM_SDK_APP_ID=1600123876
+MP_TIM_SDK_APP_ID=1600126296
MP_INVITE_TEAMMATE_QRCODE=https://patient.youcan365.com/invite-teammate
MP_INVITE_PATIENT_QRCODE=https://patient.youcan365.com/invite-patient
MP_PATIENT_PAGE_BASE_URL= 'https://www.youcan365.com/patientDeploy/#/'
diff --git a/pages/message/article-list.vue b/pages/message/article-list.vue
index 6fbe303..b3e3e04 100644
--- a/pages/message/article-list.vue
+++ b/pages/message/article-list.vue
@@ -335,6 +335,7 @@ const sendArticle = async (article) => {
cover: article.cover || "",
url: article.url || "",
subtitle: article.subtitle || "",
+ wechatChannels: article.wechatChannels,
},
{
articleId: article._id,
diff --git a/pages/message/components/message-types.vue b/pages/message/components/message-types.vue
index 4c19114..70416fe 100644
--- a/pages/message/components/message-types.vue
+++ b/pages/message/components/message-types.vue
@@ -5,57 +5,31 @@
-
+ " />
-
+
-
+
-
-
-
+
+
+
{{ message.payload.second }}"
@@ -65,39 +39,21 @@
-
+
- {{ getArticleData(message).title }}
- {{ getArticleData(message).desc }}
+ {{ articleData.title }}
+ {{ articleData.desc }}
-
+
-
+
- {{ getSurveyData(message).title }}
- {{ getSurveyData(message).desc }}
+ {{ surveyData.title }}
+ {{ surveyData.desc }}
-
+
@@ -119,6 +75,7 @@
\ No newline at end of file
diff --git a/utils/send-message-helper.js b/utils/send-message-helper.js
index b8d4a61..d454858 100644
--- a/utils/send-message-helper.js
+++ b/utils/send-message-helper.js
@@ -179,6 +179,7 @@ export async function sendArticleMessage(article, options = {}) {
desc: article.subtitle || '点击查看详情',
url: article.url || '',
messageType: 'article',
+ wechatChannels: article.wechatChannels || '',
};
if (options.articleId && options.userId && options.customerId && options.corpId) {
const params = {