{"action":"created","issue":{"url":"https://api.github.com/repos/top-think/framework/issues/1174","repository_url":"https://api.github.com/repos/top-think/framework","labels_url":"https://api.github.com/repos/top-think/framework/issues/1174/labels{/name}","comments_url":"https://api.github.com/repos/top-think/framework/issues/1174/comments","events_url":"https://api.github.com/repos/top-think/framework/issues/1174/events","html_url":"https://github.com/top-think/framework/issues/1174","id":312205354,"number":1174,"title":"thinkphp V5.1.8 Route::domain在闭包里面执行绑定操作,设置会被覆盖.","user":{"login":"momoca","id":11501193,"avatar_url":"https://avatars1.githubusercontent.com/u/11501193?v=4","gravatar_id":"","url":"https://api.github.com/users/momoca","html_url":"https://github.com/momoca","followers_url":"https://api.github.com/users/momoca/followers","following_url":"https://api.github.com/users/momoca/following{/other_user}","gists_url":"https://api.github.com/users/momoca/gists{/gist_id}","starred_url":"https://api.github.com/users/momoca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/momoca/subscriptions","organizations_url":"https://api.github.com/users/momoca/orgs","repos_url":"https://api.github.com/users/momoca/repos","events_url":"https://api.github.com/users/momoca/events{/privacy}","received_events_url":"https://api.github.com/users/momoca/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-07T13:10:11Z","updated_at":"2018-04-07T14:40:07Z","closed_at":"2018-04-07T13:58:17Z","author_association":"NONE","body":"https://www.kancloud.cn/manual/thinkphp5_1/353976\r\n```php\r\n//\r\nRoute::domain('blog1', function () {\r\n    // 动态注册域名的路由规则\r\n    Route::rule('new/:id', 'index/news/read');\r\n    Route::bind('blog1');\r\n});\r\nRoute::domain('blog', function () {\r\n    // 动态注册域名的路由规则\r\n    Route::rule('new/:id', 'index/news/read');\r\n    Route::bind('blog');\r\n});\r\n```\r\n如上设置,blog1.domain.com会被解析到blog模块.\r\n在v5.1.7时不会出错."},"comment":{"url":"https://api.github.com/repos/top-think/framework/issues/comments/379474172","html_url":"https://github.com/top-think/framework/issues/1174#issuecomment-379474172","issue_url":"https://api.github.com/repos/top-think/framework/issues/1174","id":379474172,"user":{"login":"momoca","id":11501193,"avatar_url":"https://avatars1.githubusercontent.com/u/11501193?v=4","gravatar_id":"","url":"https://api.github.com/users/momoca","html_url":"https://github.com/momoca","followers_url":"https://api.github.com/users/momoca/followers","following_url":"https://api.github.com/users/momoca/following{/other_user}","gists_url":"https://api.github.com/users/momoca/gists{/gist_id}","starred_url":"https://api.github.com/users/momoca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/momoca/subscriptions","organizations_url":"https://api.github.com/users/momoca/orgs","repos_url":"https://api.github.com/users/momoca/repos","events_url":"https://api.github.com/users/momoca/events{/privacy}","received_events_url":"https://api.github.com/users/momoca/received_events","type":"User","site_admin":false},"created_at":"2018-04-07T14:40:07Z","updated_at":"2018-04-07T14:40:07Z","author_association":"NONE","body":"希望 @liu21st 尽快更新看云文档."}}
{"actor":{"display_login":"momoca"}}