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
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:
@@ -163,10 +163,7 @@ Page({
|
||||
relationStatus: RELATION_STATUS.MUTUAL_MATCH,
|
||||
actionLoading: false,
|
||||
});
|
||||
appStore.toastSuccess('双向喜欢!可以开始聊天了');
|
||||
if (result.matchedConversationId) {
|
||||
wx.navigateTo({ url: to.chat(result.matchedConversationId) });
|
||||
}
|
||||
appStore.toastSuccess('双向意向匹配成功,可查看公益服务');
|
||||
} else {
|
||||
this.setData({
|
||||
isLiked: true,
|
||||
@@ -185,19 +182,6 @@ Page({
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
* 开始聊天(仅 Mutual 后可见,AGENTS 第 3 条)
|
||||
*/
|
||||
onGoChat() {
|
||||
const { userId, canChat, profile } = this.data;
|
||||
if (!canChat) {
|
||||
appStore.toast('双方互相喜欢后才能开始聊天');
|
||||
return;
|
||||
}
|
||||
// matchedConversationId 优先来自最近 like 结果;无则用 userId 占位由 chat 页拉取
|
||||
const conversationId = (profile && profile.matchedConversationId) || userId;
|
||||
wx.navigateTo({ url: to.chat(conversationId) });
|
||||
},
|
||||
|
||||
/**
|
||||
* 举报:跳转 report 页,不在本页处理(AGENTS 第 7 条:举报内容不在此暴露)
|
||||
|
||||
Reference in New Issue
Block a user