feat(admin-order): 订单列表展示完整用户手机号便于客服定位

- backend: AdminOrderListItemDTO 不再脱敏 owner_phone/renter_phone,移除 order 包内已无用的 maskPhone
- frontend: 同步 AdminOrderListItem 类型注释
- tests: 更新后台列表用例为断言完整手机号,并继续校验不泄露账号快照
This commit is contained in:
yml2213
2026-09-16 14:46:12 +08:00
parent 5f5a57b81f
commit 6d31da1874
4 changed files with 10 additions and 14 deletions
+1 -1
View File
@@ -106,7 +106,7 @@ type UserOrderListItemDTO struct {
CreatedAt time.Time `json:"created_at"`
}
// AdminOrderListItemDTO 是后台订单表格的最小展示数据,敏感详情仅由详情接口按权限获取。
// AdminOrderListItemDTO 是后台订单表格的最小展示数据;手机号按客服需要返回完整值,其余敏感详情仅由详情接口按权限获取。
type AdminOrderListItemDTO struct {
ID uint64 `json:"id"`
OrderNo string `json:"order_no"`