{"action":"created","issue":{"url":"https://api.github.com/repos/top-think/framework/issues/276","repository_url":"https://api.github.com/repos/top-think/framework","labels_url":"https://api.github.com/repos/top-think/framework/issues/276/labels{/name}","comments_url":"https://api.github.com/repos/top-think/framework/issues/276/comments","events_url":"https://api.github.com/repos/top-think/framework/issues/276/events","html_url":"https://github.com/top-think/framework/pull/276","id":175736322,"number":276,"title":"修改命令行路径兼容性问题","user":{"login":"cloudsthere","id":16861325,"avatar_url":"https://avatars.githubusercontent.com/u/16861325?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudsthere","html_url":"https://github.com/cloudsthere","followers_url":"https://api.github.com/users/cloudsthere/followers","following_url":"https://api.github.com/users/cloudsthere/following{/other_user}","gists_url":"https://api.github.com/users/cloudsthere/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudsthere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudsthere/subscriptions","organizations_url":"https://api.github.com/users/cloudsthere/orgs","repos_url":"https://api.github.com/users/cloudsthere/repos","events_url":"https://api.github.com/users/cloudsthere/events{/privacy}","received_events_url":"https://api.github.com/users/cloudsthere/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":15,"created_at":"2016-09-08T12:05:14Z","updated_at":"2016-10-14T02:35:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/top-think/framework/pulls/276","html_url":"https://github.com/top-think/framework/pull/276","diff_url":"https://github.com/top-think/framework/pull/276.diff","patch_url":"https://github.com/top-think/framework/pull/276.patch"},"body":"在Mac, Linux系统中，反斜杠\\会被忽略，命令行输入php think make:controller app\\index\\controller\\abc会创建文件application/common/controller/appindexcontrollerabc.php，当然可以输入'\\\\'解决问题，但我建议路径分割符统一为/。\r\n\r\n另外，在windows下，使用git cli工具，输入斜杠会被自动转化为反斜杠，所以无论如何输入都无法得到我想要的文件，正因为此才提出这次修改。在另一个命令行工具cygwin没有出现这个问题。"},"comment":{"url":"https://api.github.com/repos/top-think/framework/issues/comments/253694850","html_url":"https://github.com/top-think/framework/pull/276#issuecomment-253694850","issue_url":"https://api.github.com/repos/top-think/framework/issues/276","id":253694850,"user":{"login":"liu21st","id":1111670,"avatar_url":"https://avatars.githubusercontent.com/u/1111670?v=3","gravatar_id":"","url":"https://api.github.com/users/liu21st","html_url":"https://github.com/liu21st","followers_url":"https://api.github.com/users/liu21st/followers","following_url":"https://api.github.com/users/liu21st/following{/other_user}","gists_url":"https://api.github.com/users/liu21st/gists{/gist_id}","starred_url":"https://api.github.com/users/liu21st/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liu21st/subscriptions","organizations_url":"https://api.github.com/users/liu21st/orgs","repos_url":"https://api.github.com/users/liu21st/repos","events_url":"https://api.github.com/users/liu21st/events{/privacy}","received_events_url":"https://api.github.com/users/liu21st/received_events","type":"User","site_admin":false},"created_at":"2016-10-14T02:35:28Z","updated_at":"2016-10-14T02:35:28Z","body":"Session类 确实是老版本移植过来 但有时候笨办法 不失为一种好办法 解决需求或者说大部分需求就行了 谁能保证 框架每个类库都能解决100%需求呢 对于额外20%的需求 不应该影响80%用户的性能和体验 这是TP的思想"}}
{"actor":{"display_login":"liu21st"}}