release: freeze demo v1.1.0 2026-10-19
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 / Test Shell Guard (Phase 23 Gate) (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 / 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 / Test Shell Guard (Phase 23 Gate) (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:
@@ -11,7 +11,7 @@ const api = require('../utils/api');
|
||||
|
||||
/**
|
||||
* 申请红娘服务(API_INVENTORY 行 102)
|
||||
* @param {{ requirement: string }} payload 用户对自己择偶需求的进一步描述
|
||||
* @param {{ requirement?: string, targetUserId?: string, authorizationAccepted?: boolean }} payload
|
||||
* @returns {Promise<{ serviceId: string, status: 'submitted' }>}
|
||||
*/
|
||||
function applyService(payload) {
|
||||
|
||||
@@ -40,7 +40,8 @@ function discover(params = {}) {
|
||||
* @returns {Promise<import('../types').User & { relationStatus: import('../types').RelationStatus }>}
|
||||
*/
|
||||
function getUserDetail(userId) {
|
||||
return api.get(`/users/${encodeURIComponent(userId)}`);
|
||||
// 后端公开资料路由挂在 discover 控制器下
|
||||
return api.get(`/discover/users/${encodeURIComponent(userId)}`);
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
|
||||
Reference in New Issue
Block a user