From a313656e8ca8ca632a27c7dfd8d221e12de70bb5 Mon Sep 17 00:00:00 2001 From: Soul Dark <1012179378@qq.com> Date: Tue, 21 Aug 2018 10:28:27 +0800 Subject: [PATCH] =?UTF-8?q?SSD=E8=AE=A2=E9=98=85=E6=94=AF=E6=8C=81?= =?UTF-8?q?=E6=B5=81=E9=87=8F=E5=92=8C=E7=AD=89=E7=BA=A7=E5=88=B0=E6=9C=9F?= =?UTF-8?q?=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Utils/URL.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/Utils/URL.php b/app/Utils/URL.php index a7854a62..7b5a6d6e 100644 --- a/app/Utils/URL.php +++ b/app/Utils/URL.php @@ -306,6 +306,9 @@ class URL $array_all['port']=$user->port; $array_all['encryption']=$user->method; $array_all['password']=$user->passwd; + $array_all['traffic_used']=Tools::flowToGB($user->u+$user->d); + $array_all['traffic_total']=Tools::flowToGB($user->transfer_enable); + $array_all['expiry']=$user->$user->class_expire; $array_server=array(); $nodes = Node::where("type","1")->where(function ($func){ $func->where("sort", "=", 0)->orwhere("sort", "=", 9)->orwhere("sort", "=", 10);