This commit is contained in:
@@ -21,7 +21,6 @@ func NewPersonalCustomerPhoneStore(db *gorm.DB) *PersonalCustomerPhoneStore {
|
||||
|
||||
// Create 创建手机号绑定记录
|
||||
func (s *PersonalCustomerPhoneStore) Create(ctx context.Context, phone *model.PersonalCustomerPhone) error {
|
||||
// VerifiedAt 在验证通过后更新,创建时保持 nil
|
||||
return s.db.WithContext(ctx).Create(phone).Error
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user