feat(attendant): 入驻免身份证材料、城市单选、材料后补与订单池同城过滤
入驻申请只收基本信息(身份证选填、材料全可空),服务城市改为单选白名单(北京/上海/天津/西安,默认北京);新增 POST /attendant-application/mine/materials 材料后补与 PATCH /employee/me/service-area 改城市接口;订单池按陪诊师服务城市过滤(本人已接/被共享不限城市),接单与详情二次校验;appId wxapp-escort-admin 更名为 wxapp_companion。
This commit is contained in:
@@ -14,7 +14,9 @@
|
||||
* 说明:这些字段不得在前端另行硬编码,前端只读不写;
|
||||
* 后端以本目录为准派生订单的 schedule.duration / schedule.endTime 并校验预约时段。
|
||||
*/
|
||||
const SERVICE_AREAS = ['北京市', '天津市']
|
||||
// 服务城市白名单:入驻申请、下单校验与陪诊师同城订单过滤共用。
|
||||
// 值统一带「市」,与历史订单的 hospital.province 口径一致。
|
||||
const SERVICE_AREAS = ['北京市', '上海市', '天津市', '西安市']
|
||||
|
||||
const services = [
|
||||
{
|
||||
@@ -615,4 +617,5 @@ for (const service of services) {
|
||||
service.areas = SERVICE_AREAS
|
||||
}
|
||||
|
||||
export { SERVICE_AREAS };
|
||||
export default services;
|
||||
|
||||
Reference in New Issue
Block a user