01

写入数据库

表单提交后由服务端校验并插入 SQLite

Cookie → Session userId → Server Action → INSERT messages.user_id

正在读取分类…

02

读取持久化记录

URL 参数驱动服务端搜索、计数与分页查询

Session userId → WHERE user_id = ? → 搜索、计数与分页

正在读取数据库…