From 9a7e0a7da01a9f9625ceaca0c61a59c540c6438f Mon Sep 17 00:00:00 2001
From: wangpengfei <274878379@qq.com>
Date: 星期五, 18 八月 2023 17:32:10 +0800
Subject: [PATCH] fix

---
 source/user.go |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/source/user.go b/source/user.go
index a527b29..b8e334e 100644
--- a/source/user.go
+++ b/source/user.go
@@ -33,7 +33,7 @@
 	adminPassword := encrypt.BcryptHash("123456")
 	entities := []*model.User{
 		{
-			ID:       fmt.Sprintf("u%v", snowflake.GenerateId()),
+			UUID:     fmt.Sprintf("u%v", snowflake.GenerateId()),
 			Username: "admin",
 			Password: adminPassword,
 			NickName: "admin",

--
Gitblit v1.8.0