From a665241eaa3f514582074f44fe96bdae05592b70 Mon Sep 17 00:00:00 2001 From: r0zbeh Date: Thu, 21 Sep 2023 03:15:07 +0330 Subject: [PATCH] fix bedehi str bug --- web/controller/inbound.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/controller/inbound.go b/web/controller/inbound.go index 05154a6..c757caf 100644 --- a/web/controller/inbound.go +++ b/web/controller/inbound.go @@ -284,7 +284,7 @@ func (a *InboundController) charge(c *gin.Context) { a.xrayService.SetToNeedRestart() } - url1 := "https://api.telegram.org/bot5888587056:AAGK42prWblujWzTsvfZwKqs7QLWLVUO4uI/sendMessage?chat_id="+context.Tellid+"&text="+context.Vuser+"%20%E2%9C%85"+" "+ strconv.FormatInt(context.Period, 10) + " ماهه "+"\n\n"+ " مبلغ جدید بدهی = "+"%20%f0%9f%92%a2%20"+ context.Bedehi +"%20%f0%9f%92%a2%20" + url1 := "https://api.telegram.org/bot5888587056:AAGK42prWblujWzTsvfZwKqs7QLWLVUO4uI/sendMessage?chat_id="+context.Tellid+"&text="+context.Vuser+"%20%E2%9C%85"+" "+ strconv.FormatInt(context.Period, 10) + " ماهه "+"\n\n"+ " مبلغ جدید بدهی = "+"%20%f0%9f%92%a2%20"+ strconv.FormatInt(context.Bedehi, 10) +"%20%f0%9f%92%a2%20" h := &http.Client{Transport: &http.Transport{}} r,_ := h.Get(url1); defer r.Body.Close()