feat: disable user messaging and retain公益 service guidance
CI/CD Pipeline / Test Shell Guard (Phase 23 Gate) (push) Canceled after 0s
CI/CD Pipeline / Backend Build & Test (push) Canceled after 0s
CI/CD Pipeline / Admin Web Build (push) Canceled after 0s
CI/CD Pipeline / Mini Program Compile Check (push) Canceled after 0s
CI/CD Pipeline / Migration Validation (push) Canceled after 0s
CI/CD Pipeline / UI Contracts (source-structure gates) (push) Canceled after 0s
CI/CD Pipeline / E2E (live stack) (push) Canceled after 0s

This commit is contained in:
WorkBuddy
2026-10-15 13:38:17 +08:00
parent 3c2b967274
commit 8b505d9133
37 changed files with 150 additions and 189 deletions
@@ -47,8 +47,8 @@ Page({
try {
const result = action === 'like' ? await matchStore.like(userId) : await matchStore.pass(userId);
this.setData({ recommendations: this.data.recommendations.filter((item) => item.userId !== userId) });
if (action === 'like' && result && result.mutualMatch && result.matchedConversationId) {
wx.navigateTo({ url: to.chat(result.matchedConversationId) });
if (action === 'like' && result && result.mutualMatch) {
appStore.toastSuccess('双向意向匹配成功,可查看公益服务');
} else {
appStore.toastSuccess(action === 'like' ? '已表达喜欢' : '已暂不考虑');
}