From e9d602d8b496368a829cee5e6eae0dec29566363 Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期二, 02 十二月 2025 13:29:48 +0800
Subject: [PATCH] feat: 通知
---
apps/cMiniApp/src/subpackages/task/taskDetail/InnerPage.vue | 24 ------------------------
1 files changed, 0 insertions(+), 24 deletions(-)
diff --git a/apps/cMiniApp/src/subpackages/task/taskDetail/InnerPage.vue b/apps/cMiniApp/src/subpackages/task/taskDetail/InnerPage.vue
index d81634d..d7a1d9c 100644
--- a/apps/cMiniApp/src/subpackages/task/taskDetail/InnerPage.vue
+++ b/apps/cMiniApp/src/subpackages/task/taskDetail/InnerPage.vue
@@ -126,7 +126,6 @@
GetTaskInfoQueryResultHireButton,
GetTaskInfoQueryResultApplyButton,
EnumTaskCheckReceiveMethod,
- subscribeMessageTemplateIds,
} from '@12333/constants';
import { useAccessLogin } from '@/hooks';
import { useTaskInfo } from '@12333/hooks';
@@ -164,33 +163,10 @@
}
});
-const tmplIds = ['T7Gta6H6TROZjcqeSWVTG2wWGGInWh0fGTOgCCgVBuk'];
-
const handleApply = _.debounce(
useAccessReal(
async () => {
try {
- // if (!Taro.requestSubscribeMessage) {
- // await Message.confirm({ message: '浣犵殑寰俊鐗堟湰杩囦綆锛屼笉鏀寔璁㈤槄娑堟伅锛屾槸鍚︾户缁姤鍚�' });
- // }
- // const res = await Taro.getSetting({
- // withSubscriptions: true,
- // });
- // let setting: boolean[] = [];
- // if (res.subscriptionsSetting && res.subscriptionsSetting.itemSettings) {
- // setting = tmplIds
- // .map((id) => res.subscriptionsSetting.itemSettings[id] !== 'accept')
- // .filter(Boolean);
- // }
- // console.log('setting: ', setting);
- // if (setting.length > 0) {
- // Taro.requestSubscribeMessage({
- // tmplIds: tmplIds,
- // success: function (res) {
- // console.log('res: ', res);
- // },
- // });
- // }
let params: API.ApplyTaskCommand = {
ids: [id],
};
--
Gitblit v1.9.1