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

This commit is contained in:
WorkBuddy
2026-10-19 20:36:22 +08:00
parent 8b505d9133
commit 69ebf33e18
157 changed files with 21111 additions and 72 deletions
+2 -1
View File
@@ -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 = {