Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vaebe/kkdl-go
短链服务后台
https://github.com/vaebe/kkdl-go
Last synced: 2 months ago
JSON representation
短链服务后台
- Host: GitHub
- URL: https://github.com/vaebe/kkdl-go
- Owner: vaebe
- Created: 2023-12-06T02:36:36.000Z (about 1 year ago)
- Default Branch: dev
- Last Pushed: 2024-07-31T14:38:54.000Z (4 months ago)
- Last Synced: 2024-08-02T18:33:01.308Z (4 months ago)
- Language: Go
- Homepage: https://www.vaebe.cn/swagger/
- Size: 345 KB
- Stars: 6
- Watchers: 1
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
- awesome-gf - kkdl-go - 基于 GoFrameV2 的短链生成及管理管理平台 (StandAlone Projects)
README
# kkdl-go
# 简介
一个使用 [goframe](https://goframe.org/display/gf) 创建的短链生成服务。
# 详细介绍[猛击查看掘金文章](https://juejin.cn/post/7345310754470887458)
![image.png](https://p1-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/e6d9b9e7cb8f420e80cd5d48839aa4ea~tplv-k3u1fbpfcp-jj-mark:0:0:0:0:q75.image#?w=2174&h=828&s=193679&e=png&b=ffffff)
# 配置
## 指定配置文件启动
`go run main.go --gf.gcfg.file=manifest/config/config.pro.yaml`## 数据库统计索引优化
```sql
-- 创建索引以优化查询性能
CREATE INDEX idx_short_url_visits_on_created_at ON short_url_visits(created_at);
CREATE INDEX idx_short_url_visits_on_short_url ON short_url_visits(short_url);
```# todo
## 统计分析
1. 根据区域、设备统计 增加 时间过滤条件## login
梳理所有登录相关的逻辑,目前写的不太严谨