mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-04 14:22:48 +08:00
改进Url生成
This commit is contained in:
@@ -302,7 +302,7 @@ class Url
|
||||
foreach ($rule as $item) {
|
||||
list($url, $pattern, $domain, $suffix) = $item;
|
||||
if (empty($pattern)) {
|
||||
return [$url, $domain, $suffix];
|
||||
return [rtrim($url, '$'), $domain, $suffix];
|
||||
}
|
||||
$type = Config::get('url_common_param');
|
||||
foreach ($pattern as $key => $val) {
|
||||
|
||||
Reference in New Issue
Block a user