分页查询

This commit is contained in:
2024-11-05 18:42:54 +08:00
parent 13ec042ddf
commit da6913eaba
7 changed files with 178 additions and 162 deletions

View File

@@ -9,6 +9,9 @@ dev:
go run github.com/air-verse/air@latest --build.cmd "go build -o ./data/ bin/main.go" --build.bin "./data/main"; \
wait
link:
ssh -NCPf main -L 3306:localhost:3306 -L 19530:localhost:19530
# 编译项目
build:
go mod tidy
@@ -23,7 +26,7 @@ update: build
ssh $host "systemctl restart webp"
ssh $host "rm ~/webp/main_old"
# 设为系统服务和日志轮转
# 设为系统服务和设置日志轮转
service:
sudo cp webp.service /etc/systemd/system/webp.service
sudo systemctl enable webp
@@ -37,3 +40,7 @@ gorse:
export GORSE_DASHBOARD_USER="gorse"
export GORSE_DASHBOARD_PASS="gorse"
curl -fsSL https://gorse.io/playground | bash
# 安装搜图服务 python embedding
reverse:
git clone