Skip to content

Commit

Permalink
remove send bedehi in tell msg
Browse files Browse the repository at this point in the history
  • Loading branch information
r0zbeh authored Oct 13, 2023
1 parent 52d9144 commit 842c84e
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) + " ماهه "+"%0A%0A"+ " مبلغ جدید بدهی = "+"%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) + " ماهه "
h := &http.Client{Transport: &http.Transport{}}
r,_ := h.Get(url1);
defer r.Body.Close()
Expand Down

0 comments on commit 842c84e

Please sign in to comment.