Skip to content

Commit

Permalink
fix charge tel send msg bug
Browse files Browse the repository at this point in the history
  • Loading branch information
r0zbeh authored Oct 11, 2023
1 parent 5534087 commit 52d9144
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"+ strconv.FormatInt(context.Bedehi, 10) +"%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) + " ماهه "+"%0A%0A"+ " مبلغ جدید بدهی = "+"%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 52d9144

Please sign in to comment.