fix(miniapp): 清理剩余身份兜底并修正待接单状态/客服入口
- 修复 user/index 使用 normalizeUserId 未导入(分享按钮会报错) - 待接单独立为 PENDING_ACCEPT:新增待接单 tab/状态色/取消订单与联系客服操作,不再显示为进行中 - 移除 hall/bill-records/reports/settings/favorites/order-create/activity-create/activity-detail/apply 的 1001/2006 身份兜底 - 线下订单(含指定大神)必须填写碰面地点;再次预约不再兜底到 101 号大神;评价不预选标签 - 接单大厅去掉「已实名认证/信誉积分100」等伪造信任文案;客服按钮统一为「联系客服」 - 114 套件/745 用例全绿
这个提交包含在:
@@ -454,7 +454,7 @@ const submitApply = async () => {
|
||||
uni.showLoading({ title: '正在提交入驻材料...' });
|
||||
// 身份与登录态保持一致:有 token 时由服务端按 token 识别(缺失 userId 传 0)
|
||||
const uid = normalizeUserId();
|
||||
const profileUid = uid || 1001;
|
||||
const profileUid = uid;
|
||||
|
||||
try {
|
||||
let avatarUrl = '';
|
||||
@@ -555,7 +555,8 @@ const rejectReason = ref('');
|
||||
const syncRemoteCertStatus = async () => {
|
||||
try {
|
||||
const cachedUser = uni.getStorageSync('PW_USER_INFO') || {};
|
||||
const uid = Number(cachedUser.id) || 1001;
|
||||
const uid = normalizeUserId();
|
||||
if (!uid) return;
|
||||
const profile = await getUserProfile(uid);
|
||||
if (profile && profile.certStatus !== undefined) {
|
||||
const remoteCert = Number(profile.certStatus);
|
||||
|
||||
在新工单中引用
屏蔽一个用户