diff --git a/sub/subService.go b/sub/subService.go index e97fe48f..207e056c 100644 --- a/sub/subService.go +++ b/sub/subService.go @@ -704,7 +704,7 @@ func (s *SubService) genRemark(inbound *model.Inbound, email string, extra strin // Get remained days if statsExist { if !stats.Enable { - return "N/A" + return fmt.Sprintf("⛔️N/A-%s", strings.Join(remark, "-")) } if vol := stats.Total - (stats.Up + stats.Down); vol > 0 { remark = append(remark, fmt.Sprintf("%s%s", common.FormatTraffic(vol), "📊")) diff --git a/web/html/common/qrcode_modal.html b/web/html/common/qrcode_modal.html index 29457023..fbbc2854 100644 --- a/web/html/common/qrcode_modal.html +++ b/web/html/common/qrcode_modal.html @@ -84,7 +84,7 @@ }, genSubLink(subID) { const { domain: host, port, tls: isTLS, path: base } = app.subSettings; - return buildURL({ host, port, isTLS, base, path: subID }); + return buildURL({ host, port, isTLS, base, path: subID+'?name='+subID }); } }, updated() { diff --git a/web/html/xui/inbound_info_modal.html b/web/html/xui/inbound_info_modal.html index a479faa1..dbec59c4 100644 --- a/web/html/xui/inbound_info_modal.html +++ b/web/html/xui/inbound_info_modal.html @@ -291,7 +291,7 @@ }, genSubLink(subID) { const { domain: host, port, tls: isTLS, path: base } = app.subSettings; - return buildURL({ host, port, isTLS, base, path: subID }); + return buildURL({ host, port, isTLS, base, path: subID+'?name='+subID }); } };