sync: soul-api 接口逻辑 | 原因: 后端接口逻辑修改

This commit is contained in:
卡若
2026-03-08 08:25:51 +08:00
parent 0fd90d9b4e
commit 0c6cb89080

View File

@@ -266,7 +266,5 @@ func DBUserRFMSingle(c *gin.Context) {
// parseInt 辅助函数 // parseInt 辅助函数
func parseInt(s string) (int, error) { func parseInt(s string) (int, error) {
var n int return strconv.Atoi(strings.TrimSpace(s))
_, err := fmt.Sscanf(s, "%d", &n)
return n, err
} }