From 9e9532985bb6f52846e9b25cd55ab6dc844edba2 Mon Sep 17 00:00:00 2001 From: liyang Date: Sat, 29 Jul 2017 21:33:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BA=86=E6=A8=A1=E5=9D=97?= =?UTF-8?q?=E4=B8=8B=E5=88=97=E8=A1=A8=E7=82=B9=E5=87=BB=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tpl/api_list_tpl.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tpl/api_list_tpl.php b/tpl/api_list_tpl.php index 03f0f92..bd4c380 100644 --- a/tpl/api_list_tpl.php +++ b/tpl/api_list_tpl.php @@ -97,10 +97,11 @@ class="ui red celled striped table $mItem) { + $mItem_service = str_replace('.', '/' , $mItem['service']); $concator = strpos($uri, '?') ? '&' : '?'; - $link = $uri . $concator . 'service=' . $mItem['service']; + $link = $uri . $concator . 'service=' . $mItem_service; $NO = $num++; - echo "{$NO}{$mItem['service']}{$mItem['title']}{$mItem['desc']}"; + echo "{$NO}{$mItem_service}{$mItem['title']}{$mItem['desc']}"; } ?>