收起左侧

便签打开是空白

4
回复
19
查看
[ 复制链接 ]

1

主题

3

回帖

0

牛值

江湖小虾

设备环境:物理机i3-8100T,16G,nas版本fnos 1.0.0
BUG现象:昨天便签APP上线后第一时间就下载安装了,也指定了存储空间。但是桌面双击便签后打开空白,不能使用。

出现频率:必现,卸载重装也是这样

联系方式:论坛

日志:没有报错,找不到日志。

image.png

收藏
送赞
分享

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x

1

主题

1369

回帖

200

牛值

社区共建团

社区共建团荣誉勋章飞牛百度网盘玩家

日志在 /你安装的存储空间/@appdata/note,这个目录下。监听的端口是10030

你好 文**志在下面,显示404.。10030  详情 回复
1 小时前
冬眠~Connection refused.

1

主题

3

回帖

0

牛值

江湖小虾

1 小时前 楼主 显示全部楼层

这是日志文件,现在我的便签就是用不了,双击点开是空白界面,没有像影视那样跳转,也没有显示内容。

1

主题

3

回帖

0

牛值

江湖小虾

1 小时前 楼主 显示全部楼层
2025-11-27 20:00:40 - Starting process ...
2025/11/27 20:00:40 SQLite 数据库连接成功

2025/11/27 20:00:40 /www/wwwroot/note-api/main.go:26
[0.038ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="configs"

2025/11/27 20:00:40 /www/wwwroot/note-api/main.go:26
[23.707ms] [rows:0] CREATE TABLE `configs` (`key` text,`value` text,`create_time` integer,`update_time` integer)

2025/11/27 20:00:40 /www/wwwroot/note-api/main.go:26
[23.462ms] [rows:0] CREATE UNIQUE INDEX `idx_configs_key` ON `configs`(`key`)

2025/11/27 20:00:40 /www/wwwroot/note-api/main.go:26
[0.047ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="notes"

2025/11/27 20:00:40 /www/wwwroot/note-api/main.go:26
[23.589ms] [rows:0] CREATE TABLE `notes` (`id` integer PRIMARY KEY AUTOINCREMENT,`tag_id` integer,`user_id` integer,`title` text,`description` text,`type` integer DEFAULT 0,`is_encrypt` integer DEFAULT 0,`pages` integer DEFAULT 1,`state` integer DEFAULT 0,`edits` integer DEFAULT 1,`ip` text,`is_delete` integer DEFAULT 0,`create_time` integer,`update_time` integer)

2025/11/27 20:00:40 /www/wwwroot/note-api/main.go:26
[22.681ms] [rows:0] CREATE INDEX `idx_notes_is_delete` ON `notes`(`is_delete`)

2025/11/27 20:00:40 /www/wwwroot/note-api/main.go:26
[23.724ms] [rows:0] CREATE INDEX `idx_notes_state` ON `notes`(`state`)

2025/11/27 20:00:40 /www/wwwroot/note-api/main.go:26
[24.619ms] [rows:0] CREATE INDEX `idx_notes_is_encrypt` ON `notes`(`is_encrypt`)

2025/11/27 20:00:40 /www/wwwroot/note-api/main.go:26
[24.671ms] [rows:0] CREATE INDEX `idx_notes_type` ON `notes`(`type`)

2025/11/27 20:00:40 /www/wwwroot/note-api/main.go:26
[25.448ms] [rows:0] CREATE INDEX `idx_notes_user_id` ON `notes`(`user_id`)

2025/11/27 20:00:40 /www/wwwroot/note-api/main.go:26
[22.811ms] [rows:0] CREATE INDEX `idx_notes_tag_id` ON `notes`(`tag_id`)

2025/11/27 20:00:40 /www/wwwroot/note-api/main.go:26
[0.059ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="note_contents"

2025/11/27 20:00:40 /www/wwwroot/note-api/main.go:26
[22.811ms] [rows:0] CREATE TABLE `note_contents` (`id` integer PRIMARY KEY AUTOINCREMENT,`note_id` integer,`page` integer DEFAULT 1,`content` text,`is_delete` integer DEFAULT 0,`create_time` integer,`update_time` integer)

2025/11/27 20:00:40 /www/wwwroot/note-api/main.go:26
[23.328ms] [rows:0] CREATE INDEX `idx_note_contents_is_delete` ON `note_contents`(`is_delete`)

2025/11/27 20:00:40 /www/wwwroot/note-api/main.go:26
[22.977ms] [rows:0] CREATE INDEX `idx_note_contents_note_id` ON `note_contents`(`note_id`)

2025/11/27 20:00:40 /www/wwwroot/note-api/main.go:26
[0.063ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="note_tags"

2025/11/27 20:00:40 /www/wwwroot/note-api/main.go:26
[23.079ms] [rows:0] CREATE TABLE `note_tags` (`id` integer PRIMARY KEY AUTOINCREMENT,`user_id` integer NOT NULL,`title` text,`state` integer DEFAULT 0,`is_delete` integer DEFAULT 0,`create_time` integer,`update_time` integer)

2025/11/27 20:00:40 /www/wwwroot/note-api/main.go:26
[23.686ms] [rows:0] CREATE INDEX `idx_note_tags_is_delete` ON `note_tags`(`is_delete`)

2025/11/27 20:00:40 /www/wwwroot/note-api/main.go:26
[22.087ms] [rows:0] CREATE INDEX `idx_note_tags_state` ON `note_tags`(`state`)

2025/11/27 20:00:40 /www/wwwroot/note-api/main.go:26
[22.497ms] [rows:0] CREATE INDEX `idx_note_tags_user_id` ON `note_tags`(`user_id`)

2025/11/27 20:00:40 /www/wwwroot/note-api/main.go:26
[0.053ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="users"

2025/11/27 20:00:40 /www/wwwroot/note-api/main.go:26
[22.590ms] [rows:0] CREATE TABLE `users` (`id` integer PRIMARY KEY AUTOINCREMENT,`name` text,`account` text,`password` text,`login_ip` text,`state` integer DEFAULT 0,`is_admin` integer DEFAULT 0,`is_delete` integer DEFAULT 0,`create_time` integer,`update_time` integer)

2025/11/27 20:00:40 /www/wwwroot/note-api/main.go:26
[22.327ms] [rows:0] CREATE INDEX `idx_users_is_delete` ON `users`(`is_delete`)

2025/11/27 20:00:40 /www/wwwroot/note-api/main.go:26
[22.258ms] [rows:0] CREATE INDEX `idx_users_is_admin` ON `users`(`is_admin`)

2025/11/27 20:00:40 /www/wwwroot/note-api/main.go:26
[22.395ms] [rows:0] CREATE INDEX `idx_users_state` ON `users`(`state`)

2025/11/27 20:00:40 /www/wwwroot/note-api/main.go:26
[24.803ms] [rows:0] CREATE UNIQUE INDEX `idx_users_account` ON `users`(`account`)

2025/11/27 20:00:40 /www/wwwroot/note-api/main.go:26
[0.048ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="note_share_links"

2025/11/27 20:00:40 /www/wwwroot/note-api/main.go:26
[24.957ms] [rows:0] CREATE TABLE `note_share_links` (`id` integer PRIMARY KEY AUTOINCREMENT,`note_id` integer,`user_id` integer,`share_code` text,`expire_time` integer DEFAULT 0,`state` integer,`create_time` integer,`update_time` integer)

2025/11/27 20:00:40 /www/wwwroot/note-api/main.go:26
[25.896ms] [rows:0] CREATE INDEX `idx_note_share_links_state` ON `note_share_links`(`state`)

2025/11/27 20:00:41 /www/wwwroot/note-api/main.go:26
[26.514ms] [rows:0] CREATE INDEX `idx_note_share_links_expire_time` ON `note_share_links`(`expire_time`)

2025/11/27 20:00:41 /www/wwwroot/note-api/main.go:26
[23.531ms] [rows:0] CREATE INDEX `idx_note_share_links_share_code` ON `note_share_links`(`share_code`)

2025/11/27 20:00:41 /www/wwwroot/note-api/main.go:26
[23.021ms] [rows:0] CREATE INDEX `idx_note_share_links_user_id` ON `note_share_links`(`user_id`)

2025/11/27 20:00:41 /www/wwwroot/note-api/main.go:26
[23.220ms] [rows:0] CREATE INDEX `idx_note_share_links_note_id` ON `note_share_links`(`note_id`)

2025/11/27 20:00:41 /www/wwwroot/note-api/main.go:26
[0.053ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="uploads"

2025/11/27 20:00:41 /www/wwwroot/note-api/main.go:26
[23.445ms] [rows:0] CREATE TABLE `uploads` (`id` integer PRIMARY KEY AUTOINCREMENT,`user_id` integer,`ori_name` text,`name` text,`file_size` integer,`mime_type` text,`ip` text,`path` text,`file_ext` text,`file_hash256` text,`is_delete` integer DEFAULT 0,`state` integer DEFAULT 0,`create_time` integer,`update_time` integer)

2025/11/27 20:00:41 /www/wwwroot/note-api/main.go:26
[23.719ms] [rows:0] CREATE INDEX `idx_uploads_state` ON `uploads`(`state`)

2025/11/27 20:00:41 /www/wwwroot/note-api/main.go:26
[23.662ms] [rows:0] CREATE INDEX `idx_uploads_is_delete` ON `uploads`(`is_delete`)

2025/11/27 20:00:41 /www/wwwroot/note-api/main.go:26
[24.209ms] [rows:0] CREATE UNIQUE INDEX `idx_uploads_file_hash256` ON `uploads`(`file_hash256`)

2025/11/27 20:00:41 /www/wwwroot/note-api/main.go:26
[24.781ms] [rows:0] CREATE INDEX `idx_uploads_file_ext` ON `uploads`(`file_ext`)

2025/11/27 20:00:41 /www/wwwroot/note-api/main.go:26
[24.853ms] [rows:0] CREATE INDEX `idx_uploads_mime_type` ON `uploads`(`mime_type`)

2025/11/27 20:00:41 /www/wwwroot/note-api/main.go:26
[24.455ms] [rows:0] CREATE INDEX `idx_uploads_name` ON `uploads`(`name`)

2025/11/27 20:00:41 /www/wwwroot/note-api/main.go:26
[24.080ms] [rows:0] CREATE INDEX `idx_uploads_ori_name` ON `uploads`(`ori_name`)

2025/11/27 20:00:41 /www/wwwroot/note-api/main.go:26
[25.027ms] [rows:0] CREATE INDEX `idx_uploads_user_id` ON `uploads`(`user_id`)
[GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
- using env:        export GIN_MODE=release
- using code:        gin.SetMode(gin.ReleaseMode)

[GIN-debug] GET    /uploads/*filepath        --> github.com/gin-gonic/gin.(*RouterGroup).createStaticHandler.func1 (2 handlers)
[GIN-debug] HEAD   /uploads/*filepath        --> github.com/gin-gonic/gin.(*RouterGroup).createStaticHandler.func1 (2 handlers)

2025/11/27 20:00:41 /www/wwwroot/note-api/models/confi**odel.go:22 record not found
[0.106ms] [rows:0] SELECT * FROM `configs` WHERE `key` = "jwt-secret_key" ORDER BY `configs`.`key` LIMIT 1

2025/11/27 20:00:41 /www/wwwroot/note-api/models/confi**odel.go:31 record not found
[0.058ms] [rows:0] SELECT * FROM `configs` WHERE `key` = "jwt-secret_key" ORDER BY `configs`.`key` LIMIT 1

2025/11/27 20:00:41 /www/wwwroot/note-api/models/confi**odel.go:41
[23.804ms] [rows:1] INSERT INTO `configs` (`key`,`value`,`create_time`,`update_time`) VALUES ("jwt-secret_key","398b8c9edfa9994d752d3c41ec225682739abfa59a4e2bdcb6ab6bc41efebed4",1764244841,1764244841)
2025/11/27 20:00:41 JWT 密钥生成并保存到数据库成功

2025/11/27 20:00:41 /www/wwwroot/note-api/models/user_model.go:28 record not found
[0.202ms] [rows:0] SELECT * FROM `users` WHERE account = "admin" AND is_delete = 0 ORDER BY `users`.`id` LIMIT 1

2025/11/27 20:00:41 /www/wwwroot/note-api/models/user_model.go:65
[24.940ms] [rows:1] INSERT INTO `users` (`name`,`account`,`password`,`login_ip`,`state`,`is_admin`,`is_delete`,`create_time`,`update_time`) VALUES ("管理员","admin","$2a$10$MSdJyQzChn80muSjgWlEPOOnDWykJNoAH**cSpWwG0QgQtcmecP2","",0,1,0,1764244841,1764244841) RETURNING `id`
2025/11/27 20:00:41 默认 admin 用户已创建, 账号: admin, 密码: 123456
[GIN-debug] GET    /admin/                   --> note/controller/admin.(*IndexController).Index-fm (5 handlers)
[GIN-debug] POST   /admin/reg                --> note/controller/admin.(*UserController).Register-fm (5 handlers)
[GIN-debug] POST   /admin/login              --> note/controller/admin.(*UserController).Login-fm (5 handlers)
[GIN-debug] PUT    /admin/modifyPw           --> note/controller/admin.(*UserController).ModifyPasswd-fm (5 handlers)
[GIN-debug] PATCH  /admin/user/edit          --> note/controller/admin.(*UserController).Edit-fm (5 handlers)
[GIN-debug] DELETE /admin/user/del           --> note/controller/admin.(*UserController).Del-fm (5 handlers)
[GIN-debug] POST   /admin/user/list          --> note/controller/admin.(*UserController).List-fm (5 handlers)
[GIN-debug] POST   /admin/tag/add            --> note/controller/admin.(*NoteTagController).Add-fm (5 handlers)
[GIN-debug] PATCH  /admin/tag/edit           --> note/controller/admin.(*NoteTagController).Edit-fm (5 handlers)
[GIN-debug] DELETE /admin/tag/del            --> note/controller/admin.(*NoteTagController).Del-fm (5 handlers)
[GIN-debug] POST   /admin/tag/list           --> note/controller/admin.(*NoteTagController).List-fm (5 handlers)
[GIN-debug] POST   /admin/note/add           --> note/controller/admin.(*NoteController).Add-fm (5 handlers)
[GIN-debug] PATCH  /admin/note/edit          --> note/controller/admin.(*NoteController).Edit-fm (5 handlers)
[GIN-debug] DELETE /admin/note/del           --> note/controller/admin.(*NoteController).Del-fm (5 handlers)
[GIN-debug] POST   /admin/note/list          --> note/controller/admin.(*NoteController).List-fm (5 handlers)
[GIN-debug] POST   /admin/upload             --> note/controller/admin.(*UploadController).Image-fm (5 handlers)
[GIN-debug] POST   /admin/note/detail        --> note/controller/admin.(*NoteController).Detail-fm (5 handlers)
[GIN-debug] GET    /app/                     --> note/controller/app.(*AppIndexController).Index-fm (5 handlers)
[GIN-debug] [WARNING] You trusted all proxies, this is NOT safe. We recommend you to set a value.
Please check https://pkg.go.dev/github.com/gi ... t-trust-all-proxies for details.
[GIN-debug] Listening and serving HTTP on 0.0.0.0:10030
2025-11-28 11:14:36 - Stopping process ...
2025-11-28 11:14:36 - pid=743131
2025-11-28 11:14:36 - send TERM signal to PID:743131...
2025-11-28 11:14:37 - waiting process terminal... (1s/10s)
2025-11-28 11:14:37 - process killed...
2025-11-28 11:14:58 - Starting process ...
2025/11/28 11:14:58 SQLite 数据库连接成功

2025/11/28 11:14:58 /www/wwwroot/note-api/main.go:26
[0.029ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="configs"

2025/11/28 11:14:58 /www/wwwroot/note-api/main.go:26
[25.803ms] [rows:0] CREATE TABLE `configs` (`key` text,`value` text,`create_time` integer,`update_time` integer)

2025/11/28 11:14:58 /www/wwwroot/note-api/main.go:26
[25.678ms] [rows:0] CREATE UNIQUE INDEX `idx_configs_key` ON `configs`(`key`)

2025/11/28 11:14:58 /www/wwwroot/note-api/main.go:26
[0.158ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="notes"

2025/11/28 11:14:58 /www/wwwroot/note-api/main.go:26
[26.462ms] [rows:0] CREATE TABLE `notes` (`id` integer PRIMARY KEY AUTOINCREMENT,`tag_id` integer,`user_id` integer,`title` text,`description` text,`type` integer DEFAULT 0,`is_encrypt` integer DEFAULT 0,`pages` integer DEFAULT 1,`state` integer DEFAULT 0,`edits` integer DEFAULT 1,`ip` text,`is_delete` integer DEFAULT 0,`create_time` integer,`update_time` integer)

2025/11/28 11:14:58 /www/wwwroot/note-api/main.go:26
[25.271ms] [rows:0] CREATE INDEX `idx_notes_is_delete` ON `notes`(`is_delete`)

2025/11/28 11:14:58 /www/wwwroot/note-api/main.go:26
[26.037ms] [rows:0] CREATE INDEX `idx_notes_state` ON `notes`(`state`)

2025/11/28 11:14:58 /www/wwwroot/note-api/main.go:26
[25.665ms] [rows:0] CREATE INDEX `idx_notes_is_encrypt` ON `notes`(`is_encrypt`)

2025/11/28 11:14:58 /www/wwwroot/note-api/main.go:26
[24.612ms] [rows:0] CREATE INDEX `idx_notes_type` ON `notes`(`type`)

2025/11/28 11:14:58 /www/wwwroot/note-api/main.go:26
[27.201ms] [rows:0] CREATE INDEX `idx_notes_user_id` ON `notes`(`user_id`)

2025/11/28 11:14:58 /www/wwwroot/note-api/main.go:26
[27.995ms] [rows:0] CREATE INDEX `idx_notes_tag_id` ON `notes`(`tag_id`)

2025/11/28 11:14:58 /www/wwwroot/note-api/main.go:26
[0.069ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="note_contents"

2025/11/28 11:14:58 /www/wwwroot/note-api/main.go:26
[27.303ms] [rows:0] CREATE TABLE `note_contents` (`id` integer PRIMARY KEY AUTOINCREMENT,`note_id` integer,`page` integer DEFAULT 1,`content` text,`is_delete` integer DEFAULT 0,`create_time` integer,`update_time` integer)

2025/11/28 11:14:58 /www/wwwroot/note-api/main.go:26
[26.812ms] [rows:0] CREATE INDEX `idx_note_contents_is_delete` ON `note_contents`(`is_delete`)

2025/11/28 11:14:58 /www/wwwroot/note-api/main.go:26
[28.031ms] [rows:0] CREATE INDEX `idx_note_contents_note_id` ON `note_contents`(`note_id`)

2025/11/28 11:14:58 /www/wwwroot/note-api/main.go:26
[0.063ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="note_tags"

2025/11/28 11:14:58 /www/wwwroot/note-api/main.go:26
[27.121ms] [rows:0] CREATE TABLE `note_tags` (`id` integer PRIMARY KEY AUTOINCREMENT,`user_id` integer NOT NULL,`title` text,`state` integer DEFAULT 0,`is_delete` integer DEFAULT 0,`create_time` integer,`update_time` integer)

2025/11/28 11:14:58 /www/wwwroot/note-api/main.go:26
[28.117ms] [rows:0] CREATE INDEX `idx_note_tags_is_delete` ON `note_tags`(`is_delete`)

2025/11/28 11:14:58 /www/wwwroot/note-api/main.go:26
[26.465ms] [rows:0] CREATE INDEX `idx_note_tags_state` ON `note_tags`(`state`)

2025/11/28 11:14:58 /www/wwwroot/note-api/main.go:26
[27.541ms] [rows:0] CREATE INDEX `idx_note_tags_user_id` ON `note_tags`(`user_id`)

2025/11/28 11:14:58 /www/wwwroot/note-api/main.go:26
[0.050ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="users"

2025/11/28 11:14:58 /www/wwwroot/note-api/main.go:26
[28.955ms] [rows:0] CREATE TABLE `users` (`id` integer PRIMARY KEY AUTOINCREMENT,`name` text,`account` text,`password` text,`login_ip` text,`state` integer DEFAULT 0,`is_admin` integer DEFAULT 0,`is_delete` integer DEFAULT 0,`create_time` integer,`update_time` integer)

2025/11/28 11:14:59 /www/wwwroot/note-api/main.go:26
[26.327ms] [rows:0] CREATE INDEX `idx_users_is_delete` ON `users`(`is_delete`)

2025/11/28 11:14:59 /www/wwwroot/note-api/main.go:26
[26.776ms] [rows:0] CREATE INDEX `idx_users_is_admin` ON `users`(`is_admin`)

2025/11/28 11:14:59 /www/wwwroot/note-api/main.go:26
[34.133ms] [rows:0] CREATE INDEX `idx_users_state` ON `users`(`state`)

2025/11/28 11:14:59 /www/wwwroot/note-api/main.go:26
[24.124ms] [rows:0] CREATE UNIQUE INDEX `idx_users_account` ON `users`(`account`)

2025/11/28 11:14:59 /www/wwwroot/note-api/main.go:26
[0.074ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="note_share_links"

2025/11/28 11:14:59 /www/wwwroot/note-api/main.go:26
[25.161ms] [rows:0] CREATE TABLE `note_share_links` (`id` integer PRIMARY KEY AUTOINCREMENT,`note_id` integer,`user_id` integer,`share_code` text,`expire_time` integer DEFAULT 0,`state` integer,`create_time` integer,`update_time` integer)

2025/11/28 11:14:59 /www/wwwroot/note-api/main.go:26
[24.771ms] [rows:0] CREATE INDEX `idx_note_share_links_state` ON `note_share_links`(`state`)

2025/11/28 11:14:59 /www/wwwroot/note-api/main.go:26
[26.876ms] [rows:0] CREATE INDEX `idx_note_share_links_expire_time` ON `note_share_links`(`expire_time`)

2025/11/28 11:14:59 /www/wwwroot/note-api/main.go:26
[24.980ms] [rows:0] CREATE INDEX `idx_note_share_links_share_code` ON `note_share_links`(`share_code`)

2025/11/28 11:14:59 /www/wwwroot/note-api/main.go:26
[25.280ms] [rows:0] CREATE INDEX `idx_note_share_links_user_id` ON `note_share_links`(`user_id`)

2025/11/28 11:14:59 /www/wwwroot/note-api/main.go:26
[25.424ms] [rows:0] CREATE INDEX `idx_note_share_links_note_id` ON `note_share_links`(`note_id`)

2025/11/28 11:14:59 /www/wwwroot/note-api/main.go:26
[0.050ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="uploads"

2025/11/28 11:14:59 /www/wwwroot/note-api/main.go:26
[25.379ms] [rows:0] CREATE TABLE `uploads` (`id` integer PRIMARY KEY AUTOINCREMENT,`user_id` integer,`ori_name` text,`name` text,`file_size` integer,`mime_type` text,`ip` text,`path` text,`file_ext` text,`file_hash256` text,`is_delete` integer DEFAULT 0,`state` integer DEFAULT 0,`create_time` integer,`update_time` integer)

2025/11/28 11:14:59 /www/wwwroot/note-api/main.go:26
[25.247ms] [rows:0] CREATE INDEX `idx_uploads_state` ON `uploads`(`state`)

2025/11/28 11:14:59 /www/wwwroot/note-api/main.go:26
[24.767ms] [rows:0] CREATE INDEX `idx_uploads_is_delete` ON `uploads`(`is_delete`)

2025/11/28 11:14:59 /www/wwwroot/note-api/main.go:26
[24.094ms] [rows:0] CREATE UNIQUE INDEX `idx_uploads_file_hash256` ON `uploads`(`file_hash256`)

2025/11/28 11:14:59 /www/wwwroot/note-api/main.go:26
[24.599ms] [rows:0] CREATE INDEX `idx_uploads_file_ext` ON `uploads`(`file_ext`)

2025/11/28 11:14:59 /www/wwwroot/note-api/main.go:26
[23.381ms] [rows:0] CREATE INDEX `idx_uploads_mime_type` ON `uploads`(`mime_type`)

2025/11/28 11:14:59 /www/wwwroot/note-api/main.go:26
[24.958ms] [rows:0] CREATE INDEX `idx_uploads_name` ON `uploads`(`name`)

2025/11/28 11:14:59 /www/wwwroot/note-api/main.go:26
[22.899ms] [rows:0] CREATE INDEX `idx_uploads_ori_name` ON `uploads`(`ori_name`)

2025/11/28 11:14:59 /www/wwwroot/note-api/main.go:26
[24.503ms] [rows:0] CREATE INDEX `idx_uploads_user_id` ON `uploads`(`user_id`)
[GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
- using env:        export GIN_MODE=release
- using code:        gin.SetMode(gin.ReleaseMode)

[GIN-debug] GET    /uploads/*filepath        --> github.com/gin-gonic/gin.(*RouterGroup).createStaticHandler.func1 (2 handlers)
[GIN-debug] HEAD   /uploads/*filepath        --> github.com/gin-gonic/gin.(*RouterGroup).createStaticHandler.func1 (2 handlers)

2025/11/28 11:14:59 /www/wwwroot/note-api/models/confi**odel.go:22 record not found
[0.159ms] [rows:0] SELECT * FROM `configs` WHERE `key` = "jwt-secret_key" ORDER BY `configs`.`key` LIMIT 1

2025/11/28 11:14:59 /www/wwwroot/note-api/models/confi**odel.go:31 record not found
[0.061ms] [rows:0] SELECT * FROM `configs` WHERE `key` = "jwt-secret_key" ORDER BY `configs`.`key` LIMIT 1

2025/11/28 11:14:59 /www/wwwroot/note-api/models/confi**odel.go:41
[28.353ms] [rows:1] INSERT INTO `configs` (`key`,`value`,`create_time`,`update_time`) VALUES ("jwt-secret_key","a51977e688fffa1d62b52ac0c78f6f48203344bb3d0fcb5a3c63126a6c1b7986",1764299699,1764299699)
2025/11/28 11:14:59 JWT 密钥生成并保存到数据库成功

2025/11/28 11:14:59 /www/wwwroot/note-api/models/user_model.go:28 record not found
[0.289ms] [rows:0] SELECT * FROM `users` WHERE account = "admin" AND is_delete = 0 ORDER BY `users`.`id` LIMIT 1

2025/11/28 11:14:59 /www/wwwroot/note-api/models/user_model.go:65
[25.369ms] [rows:1] INSERT INTO `users` (`name`,`account`,`password`,`login_ip`,`state`,`is_admin`,`is_delete`,`create_time`,`update_time`) VALUES ("管理员","admin","$2a$10$72vUfB/6zGFt2XsgyMZKT.ldd44uwgXDHNQO8481C3qeojrDHzhii","",0,1,0,1764299699,1764299699) RETURNING `id`
2025/11/28 11:14:59 默认 admin 用户已创建, 账号: admin, 密码: 123456
[GIN-debug] GET    /admin/                   --> note/controller/admin.(*IndexController).Index-fm (5 handlers)
[GIN-debug] POST   /admin/reg                --> note/controller/admin.(*UserController).Register-fm (5 handlers)
[GIN-debug] POST   /admin/login              --> note/controller/admin.(*UserController).Login-fm (5 handlers)
[GIN-debug] PUT    /admin/modifyPw           --> note/controller/admin.(*UserController).ModifyPasswd-fm (5 handlers)
[GIN-debug] PATCH  /admin/user/edit          --> note/controller/admin.(*UserController).Edit-fm (5 handlers)
[GIN-debug] DELETE /admin/user/del           --> note/controller/admin.(*UserController).Del-fm (5 handlers)
[GIN-debug] POST   /admin/user/list          --> note/controller/admin.(*UserController).List-fm (5 handlers)
[GIN-debug] POST   /admin/tag/add            --> note/controller/admin.(*NoteTagController).Add-fm (5 handlers)
[GIN-debug] PATCH  /admin/tag/edit           --> note/controller/admin.(*NoteTagController).Edit-fm (5 handlers)
[GIN-debug] DELETE /admin/tag/del            --> note/controller/admin.(*NoteTagController).Del-fm (5 handlers)
[GIN-debug] POST   /admin/tag/list           --> note/controller/admin.(*NoteTagController).List-fm (5 handlers)
[GIN-debug] POST   /admin/note/add           --> note/controller/admin.(*NoteController).Add-fm (5 handlers)
[GIN-debug] PATCH  /admin/note/edit          --> note/controller/admin.(*NoteController).Edit-fm (5 handlers)
[GIN-debug] DELETE /admin/note/del           --> note/controller/admin.(*NoteController).Del-fm (5 handlers)
[GIN-debug] POST   /admin/note/list          --> note/controller/admin.(*NoteController).List-fm (5 handlers)
[GIN-debug] POST   /admin/upload             --> note/controller/admin.(*UploadController).Image-fm (5 handlers)
[GIN-debug] POST   /admin/note/detail        --> note/controller/admin.(*NoteController).Detail-fm (5 handlers)
[GIN-debug] GET    /app/                     --> note/controller/app.(*AppIndexController).Index-fm (5 handlers)
[GIN-debug] [WARNING] You trusted all proxies, this is NOT safe. We recommend you to set a value.
Please check https://pkg.go.dev/github.com/gi ... t-trust-all-proxies for details.
[GIN-debug] Listening and serving HTTP on 0.0.0.0:10030
[GIN] 2025/11/28 - 17:50:19 | 404 |         947ns |   192.168.0.216 | GET      "/"
[GIN] 2025/11/28 - 17:50:19 | 404 |       1.042µs |   192.168.0.216 | GET      "/favicon.ico"
[GIN] 2025/11/28 - 17:50:47 | 404 |       1.559µs |   192.168.0.169 | GET      "/"
[GIN] 2025/11/28 - 17:50:52 | 404 |         836ns |   192.168.0.169 | GET      "/"

1

主题

3

回帖

0

牛值

江湖小虾

1 小时前 楼主 显示全部楼层
memory_clear 发表于 2025-11-28 16:11
日志在 /你安装的存储空间/@appdata/note,这个目录下。监听的端口是10030

你好 文**志在下面,显示404.。10030
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则