7f7b585ffb
- 在应用程序中新增对达梦数据库(DM)的配置和连接支持 - 实现 SetDmDB 函数以配置达梦数据库连接 - 更新数据库操作逻辑,支持达梦特有的 SQL 语法和功能 - 在相关文件中添加达梦数据库的处理逻辑,包括表创建、数据插入和查询 - 更新 go.mod 和 go.sum 文件以引入达梦数据库驱动 - 增强文档,详细说明达梦数据库的配置和使用方法
19 lines
1.4 KiB
HTML
19 lines
1.4 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="zh-CN"><head><meta charset="utf-8"><title>API 文档中心</title>
|
|
<style>
|
|
:root{--bg:#1a1a2e;--bg2:#16213e;--bg3:#0f3460;--fg:#e0e0e0;--fg2:#888;--accent:#4fc3f7;--border:#2a2a4a}
|
|
*{box-sizing:border-box;margin:0;padding:0}
|
|
body{min-height:100vh;background:var(--bg);color:var(--fg);font:14px/1.6 -apple-system,sans-serif;display:flex;flex-direction:column;align-items:center;padding:60px 20px}
|
|
h1{font-size:24px;color:var(--accent);margin-bottom:8px}
|
|
.desc{color:var(--fg2);margin-bottom:40px;font-size:13px}
|
|
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px;width:100%;max-width:900px}
|
|
.card{display:block;background:var(--bg2);border:1px solid var(--border);border-radius:8px;padding:24px 20px;text-decoration:none;color:var(--fg);transition:all .2s}
|
|
.card:hover{border-color:var(--accent);transform:translateY(-2px);box-shadow:0 4px 20px rgba(79,195,247,.15)}
|
|
.icon{font-size:20px;font-weight:700;color:var(--accent);margin-bottom:8px}
|
|
.title{font-size:15px;font-weight:600;margin-bottom:4px}
|
|
.sub{font-size:12px;color:var(--fg2)}
|
|
</style></head><body>
|
|
<h1>API 文档中心</h1>
|
|
<div class="desc">选择一个模块查看接口文档与调试控制台</div>
|
|
<div class="grid"><a class="card" href="app/index.html"><div class="icon">App</div><div class="title">My API</div><div class="sub">app/</div></a></div>
|
|
</body></html> |