Skip to content

Commit

Permalink
fix bedehi str bug
Browse files Browse the repository at this point in the history
  • Loading branch information
r0zbeh committed Sep 20, 2023
1 parent 968e00e commit a665241
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/controller/inbound.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit a665241

Please sign in to comment.