Ai
1 Star 0 Fork 0

Tomsabay/restful-api-demo

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
sql.go 505 Bytes
一键复制 编辑 原始数据 按行查看 历史
ZSF_MAC 提交于 2025-03-05 21:26 +08:00 . 修改sql语句的bug
package impl
const (
//修改具体的值
InsertResourceSQL = `
INSERT INTO resource (
id,
vender,
region,
create_at,
expire_at,
type,
name,
description,
status,
update_at,
sync_at,
account,
public_ip,
private_ip
)
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)`
InsertDescribeSQL = `INSERT INTO host (
resource_id,
cpu,
memory,
gpu_amount,
gpu_spec,
os_type,
os_name,
serial_number
) VALUES (?, ?, ?, ?, ?, ?, ?, ?)`
)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/tomsabay/restful-api-demo.git
git@gitee.com:tomsabay/restful-api-demo.git
tomsabay
restful-api-demo
restful-api-demo
5f2002318f3c

搜索帮助