文件
yjyf/yjyf-app/pages.json
MiAn 14533eadb7 feat: 用户端与师傅端双小程序架构解耦,新增师傅独立认证及超时自动关单机制
1. 账号体系与数据库解耦:
   - 师傅表 fa_master 解除对 fa_user.id 的外键依赖,升级为独立认证账号主表;
   - 新增师傅端独立支撑表:fa_master_security、fa_master_token、fa_master_wechat、fa_master_agreement_read;
   - 新增工单超时未接单自动关闭与原路退款配置(order_unaccepted_close_days)。

2. 服务端(Server):
   - 新增师傅端独立 API 控制器与认证库(MasterAuth, MasterBase, MasterMessage, MasterSecurity, MasterToken);
   - WxLogin 支持双小程序端(user/master)独立换取 session_key、openid 与 access_token;
   - 新增控制台调度命令 php think order:autoclose,支持订单超时自动关闭与售后退款闭环;
   - 修复 PHP 8.5 兼容性问题(Request.php 的 (bool) 强制转换);
   - 系统业务配置全面收敛至数据库 fa_config 及 site.php。

3. 小程序端:
   - yjyf-app(用户端):彻底剥离师傅端路由、组件及静态资源,增加隐私授权弹窗与评价模块;
   - yjyf-master-app(师傅端):全新独立微信小程序工程(wx140d90ceda786107),实现工作台、接单大厅、资质认证、工单协同与钱包提现完整闭环。
2026-11-23 15:10:30 +08:00

191 行
4.8 KiB
JSON

{
"pages": [
{
"path": "pages/index/index",
"style": {
"navigationStyle": "custom",
"navigationBarTitleText": "优匠优服",
"navigationBarTextStyle": "white",
"backgroundColor": "#F5F6F8",
"enablePullDownRefresh": false,
"disableScroll": true
}
},
{
"path": "pages/login/login",
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
},
{
"path": "pages/agreement/detail",
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
},
{
"path": "pages/service/list",
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
},
{
"path": "pages/service/detail",
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
},
{
"path": "pages/order/create",
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
},
{
"path": "pages/order/quick",
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
},
{
"path": "pages/order/system-gallery",
"style": {
"navigationStyle": "custom",
"backgroundColor": "#F5F6F8",
"enablePullDownRefresh": false,
"disableScroll": true
}
},
{
"path": "pages/order/goods-gallery",
"style": {
"navigationStyle": "custom",
"backgroundColor": "#F5F6F8",
"enablePullDownRefresh": false,
"disableScroll": true
}
},
{
"path": "pages/order/goods-template",
"style": {
"navigationStyle": "custom",
"backgroundColor": "#F5F6F8",
"enablePullDownRefresh": false,
"disableScroll": true
}
},
{
"path": "pages/category/category",
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
},
{
"path": "pages/order/list",
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
},
{
"path": "pages/order/detail",
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
},
{
"path": "pages/order/payment-success",
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
},
{
"path": "pages/order/case",
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
},
{
"path": "pages/order/review",
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
},
{
"path": "pages/order/master-reviews",
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
},
{
"path": "pages/address/list",
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
},
{
"path": "pages/coupon/coupon",
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
},
{
"path": "pages/message/message",
"style": {
"navigationStyle": "custom",
"enablePullDownRefresh": false,
"disableScroll": true,
"backgroundColor": "#F5F6F8"
}
},
{
"path": "pages/mine/mine",
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
},
{
"path": "pages/mine/aftersale",
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
},
{
"path": "pages/mine/aftersale-detail",
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
},
{
"path": "pages/mine/account",
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
},
{
"path": "pages/mine/security",
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
},
{
"path": "pages/user/wallet",
"style": {
"navigationStyle": "custom",
"backgroundColor": "#F5F6F8",
"enablePullDownRefresh": false,
"disableScroll": true
}
},
{
"path": "pages/user/bills",
"style": {
"navigationStyle": "custom",
"backgroundColor": "#F5F6F8",
"enablePullDownRefresh": false,
"disableScroll": true
}
},
{
"path": "pages/merchant/invoice",
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
},
{
"path": "pages/invoice/orders",
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
},
{
"path": "pages/invoice/apply",
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
},
{
"path": "pages/invoice/titles",
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
},
{
"path": "pages/invoice/title-edit",
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
},
{
"path": "pages/invoice/records",
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
},
{
"path": "pages/invoice/detail",
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
}
],
"easycom": {
"autoscan": true,
"custom": {
"^Yjyf(.*)": "@/components/Yjyf$1.vue"
}
},
"globalStyle": {
"navigationBarTextStyle": "white",
"navigationBarTitleText": "优匠优服",
"navigationBarBackgroundColor": "#F0710D",
"backgroundColor": "#F5F6F8"
},
"uniIdRouter": {}
}