V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  saleacy  ›  全部回复第 1 页 / 共 3 页
回复总数  46
1  2  3  
2 天前
回复了 workbgm 创建的主题 Telegram 分享一个自用的 Telegram 内容下载工具
这不叫分享,这叫推广
10 天前
回复了 wnpllrzodiac 创建的主题 宽带症候群 租房临时上网方案
随身 wifi ?
@seln 不发短信只收短信可以吗
👾
@busier 现在好像都卖叠瓦盘了
15 天前
回复了 superdotcom 创建的主题 VPS 转让一个 VPS
@superdotcom 我已经申请了两年半了 每次都是 abc 信用卡也能成功扣费
16 天前
回复了 superdotcom 创建的主题 VPS 转让一个 VPS
你们的甲骨文怎么注册的
XX 大屏
@rrfeng 很强!

r.GET("/fp", utils.AuthMiddleware, func(c *gin.Context) {
username := c.MustGet("username").(string)

var products []struct {
Age string `gorm:"column:a"`
TaobaoID string `gorm:"column:b"`
MinPrice float64 `gorm:"column:c"`
TPrice int `gorm:"column:d"`
}

if err := db.Raw(`select products.age as a,products.min_price as b,products.taobao_id as c from products join users where users.username = ?`, username).Scan(&products).Error; err != nil {
c.JSON( http.StatusInternalServerError, gin.H{"error": "Could not retrieve user products"})
return
}

c.JSON( http.StatusOK, products)
})


[root@ctos0 routes]# curl -X GET http://localhost:8080/fp -H "Authorization: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MzI2ODg1OTQsImlzcyI6ImFhYSJ9.CRiAl3SG509O2XkB-a_aXtnNcgFORZsbP_7M-580HBg"
[GIN] 2024/11/26 - 11:26:53 | 200 | 821.97µs | ::1 | GET "/fp"
[{"p.age":"333","p.taobao_id":"033","p.min_price":129,"pr.t_price":79},{"p.age":"222","p.taobao_id":"022","p.min_price":129,"pr.t_price":79}]
@rrfeng 没怎么用过😅
2023-12-26 11:28:34 +08:00
回复了 saleacy 创建的主题 NGINX Linux -Nginx 遇到一个玄学问题!
@zuotun 感谢分享帮助 问题已解决
2023-12-13 10:05:08 +08:00
回复了 saleacy 创建的主题 NGINX Linux -Nginx 遇到一个玄学问题!
确实是/etc/nginx/mime.types 的问题 感谢各位的帮助
2023-12-13 10:04:46 +08:00
回复了 saleacy 创建的主题 NGINX Linux -Nginx 遇到一个玄学问题!
2023-12-13 10:04:34 +08:00
回复了 saleacy 创建的主题 NGINX Linux -Nginx 遇到一个玄学问题!
2023-12-12 22:58:24 +08:00
回复了 saleacy 创建的主题 NGINX Linux -Nginx 遇到一个玄学问题!
在 172.18.231.93 上面用 wget curl 能读到通过 nginx 代理发布后的.ctl 后缀的文件
2023-12-12 22:24:15 +08:00
回复了 saleacy 创建的主题 NGINX Linux -Nginx 遇到一个玄学问题!
.ctl 后缀的文件访问都是 502😨
1  2  3  
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   1340 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 27ms · UTC 17:08 · PVG 01:08 · LAX 09:08 · JFK 12:08
♥ Do have faith in what you're doing.