更新密码找回uniapp

This commit is contained in:
hero920103 committed 2026-11-16 17:22:50 +08:00
1 parent 7f9a66da0f
commit 3fdda89833
1304 files changed
+3503 -26132

No files matched your search

+1 -4
View File
@@ -2,8 +2,6 @@ package models
import "time"
// BackendErpContact 全局通讯录表 yz_backend_contact
// 与组织架构联动,支持内部员工(自动同步)和外部联系人
type BackendErpContact struct {
ID uint64 `orm:"column(id);pk;auto" json:"id"`
Tid uint64 `orm:"column(tid)" json:"tid"`
@@ -12,8 +10,7 @@ type BackendErpContact struct {
ContactType int8 `orm:"column(contact_type);default(1)" json:"contact_type"`
ContactName string `orm:"column(contact_name);size(64)" json:"contact_name"`
Gender int8 `orm:"column(gender);default(0)" json:"gender"`
Phone *string `orm:"column(phone);size(20);null" json:"phone"` // 手机号(保留第一个,兼容旧逻辑)
// 手机号可登记多个(有的人有多个号码):JSON 数组,最多 5 个,phone 始终与其中一个(第一个)保持一致
Phone *string `orm:"column(phone);size(20);null" json:"phone"`
Mobiles *string `orm:"column(mobiles);type(text);null" json:"mobiles"`
WorkPhone *string `orm:"column(work_phone);size(20);null" json:"work_phone"`
Email *string `orm:"column(email);size(128);null" json:"email"`