feat(attendant): 入驻免身份证材料、城市单选、材料后补与订单池同城过滤

入驻申请只收基本信息(身份证选填、材料全可空),服务城市改为单选白名单(北京/上海/天津/西安,默认北京);新增 POST /attendant-application/mine/materials 材料后补与 PATCH /employee/me/service-area 改城市接口;订单池按陪诊师服务城市过滤(本人已接/被共享不限城市),接单与详情二次校验;appId wxapp-escort-admin 更名为 wxapp_companion。
This commit is contained in:
lik
2026-11-10 16:33:47 +08:00
parent 3086a40b4c
commit cd3b109730
14 changed files with 522 additions and 84 deletions
+2 -2
View File
@@ -13,7 +13,7 @@ const PAYMENT_ID = "64b000000000000000000020";
const ADMIN_USER = {
_id: ADMIN_ID,
app: { "wxapp-escort-admin": { role: ["admin"] } },
app: { "wxapp_companion": { role: ["admin"] } },
};
function buildRecord(overrides = {}) {
@@ -206,7 +206,7 @@ test("在职陪诊员不能确认未分配给自己的本人订单", async () =>
const ctx = createCtx({
user: {
_id: OWNER_ID,
app: { "wxapp-escort-admin": { role: ["user"] } },
app: { "wxapp_companion": { role: ["user"] } },
},
body: { status: "confirmed" },
});