diff --git a/config/version b/config/version index a58941b..6261a05 100644 --- a/config/version +++ b/config/version @@ -1 +1 @@ -1.3 \ No newline at end of file +1.3.1 \ No newline at end of file diff --git a/web/controller/inbound.go b/web/controller/inbound.go index 00e0d84..05154a6 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) + " ماهه " + 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" h := &http.Client{Transport: &http.Transport{}} r,_ := h.Get(url1); defer r.Body.Close()