up
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
# 2026-04-30 工作记录
|
||||
|
||||
## 修复编译错误:TabCustomer 无 PrimaryPhone 字段
|
||||
|
||||
- **问题**: `apiWarehouse.go:1177` 中 `c.PrimaryPhone undefined`
|
||||
- **原因**: `TabCustomer` 结构体没有 `PrimaryPhone` 字段,电话存储在独立的 `TabCustomerPhone` 表(`is_primary=true` 标记主号码)
|
||||
- **修复**: 改为从 `TabCustomerPhone` 表查询主号码,拼接格式 `+{Prefix} {Phone}`,文件:`routers/apiWarehouse.go`
|
||||
Reference in New Issue
Block a user