release: freeze V1.2 demo acceptance 2026-10-25
CI/CD Pipeline / Test Shell Guard (Phase 23 Gate) (push) Waiting to run
CI/CD Pipeline / Backend Build & Test (push) Waiting to run
CI/CD Pipeline / Admin Web Build (push) Waiting to run
CI/CD Pipeline / Mini Program Compile Check (push) Waiting to run
CI/CD Pipeline / Migration Validation (push) Blocked by required conditions
CI/CD Pipeline / UI Contracts (source-structure gates) (push) Waiting to run
CI/CD Pipeline / E2E (live stack) (push) Blocked by required conditions

This commit is contained in:
WorkBuddy
2026-10-25 14:29:29 +08:00
parent f6744d3f91
commit 377429995c
137 changed files with 4136 additions and 175 deletions
+15
View File
@@ -28,6 +28,18 @@ function bindPhone(payload) {
return api.post('/auth/phone/bind', payload, undefined, payload.phoneCode || payload.encryptedData);
}
function sendPhoneCode(phone) {
return api.post('/auth/phone/send-code', { phone });
}
function verifyPhone(phone, code) {
return api.post('/auth/phone/verify', { phone, code });
}
function register(payload) {
return api.post('/auth/register', payload, undefined, payload.verificationTransaction);
}
/**
* 刷新 Token(API_INVENTORY 行 10)
* 后端 /auth/refresh 只强制要求 refreshToken(userId 由令牌 subject 自证身份);
@@ -52,6 +64,9 @@ function logout() {
module.exports = {
wechatLogin,
bindPhone,
sendPhoneCode,
verifyPhone,
register,
refresh,
logout,
};
+2
View File
@@ -29,6 +29,7 @@ const serviceHistoryService = require('./serviceHistoryService');
// Phase 19:服务站(U50)—— 临时公告只读接入
const serviceStationService = require('./serviceStationService');
const referralService = require('./referralService');
const serviceConsentService = require('./serviceConsentService');
module.exports = {
authService,
@@ -49,4 +50,5 @@ module.exports = {
serviceHistoryService,
serviceStationService,
referralService,
serviceConsentService,
};
+11
View File
@@ -0,0 +1,11 @@
const api = require('../utils/api');
function getState() { return api.get('/account/service-consent'); }
function agree(documentVersions) {
return api.post('/account/service-consent', { documentVersions }, undefined, api.idempotencyKey('service-consent'));
}
function withdraw(consentType) {
return api.post('/account/service-consent/withdraw', { consentType }, undefined, api.idempotencyKey('service-consent-withdraw', consentType));
}
module.exports = { getState, agree, withdraw };