main
alex 2024-03-06 22:20:02 +01:00
parent ec2052910d
commit 55e61cbf91
2 changed files with 1 additions and 0 deletions

BIN
main

Binary file not shown.

View File

@ -277,6 +277,7 @@ func CreateCrmCustomer(c *fiber.Ctx) error {
crmCustomer["DealPhase"] = 1
}
crmCustomer["CreatedBy"] = c.Locals("userId").(string)
crmCustomer["CreatedAt"] = time.Now()
result := database.DB.Model(&structs.CrmCustomer{}).Create(&crmCustomer)