mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-04-19 13:32:24 +00:00
Update subController.go
This commit is contained in:
parent
5cc04d0343
commit
d5199b614c
1 changed files with 10 additions and 7 deletions
|
@ -102,13 +102,16 @@ func (a *SUBController) subs(c *gin.Context) {
|
|||
c.String(200, base64.StdEncoding.EncodeToString([]byte(result)))
|
||||
} else {
|
||||
c.HTML(200, "sub.html", gin.H{
|
||||
"result": resultSlice,
|
||||
"total": totalValue,
|
||||
"expire": expireValue,
|
||||
"upload": upValue,
|
||||
"download": downValue,
|
||||
"sId": subId,
|
||||
"subUrl": currentURL,
|
||||
"result": resultSlice,
|
||||
"total": totalValue,
|
||||
"expire": expireValue,
|
||||
"upload": upValue,
|
||||
"download": downValue,
|
||||
"totalByte": headerMap["total"],
|
||||
"uploadByte": headerMap["upload"],
|
||||
"downloadByte": headerMap["download"],
|
||||
"sId": subId,
|
||||
"subUrl": currentURL,
|
||||
})
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue