{"action":"created","issue":{"url":"https://api.github.com/repos/nutzam/nutz/issues/412","labels_url":"https://api.github.com/repos/nutzam/nutz/issues/412/labels{/name}","comments_url":"https://api.github.com/repos/nutzam/nutz/issues/412/comments","events_url":"https://api.github.com/repos/nutzam/nutz/issues/412/events","html_url":"https://github.com/nutzam/nutz/issues/412","id":11745064,"number":412,"title":"多重子模块的功能","user":{"login":"kyo19","id":922092,"avatar_url":"https://avatars.githubusercontent.com/u/922092?v=3","gravatar_id":"","url":"https://api.github.com/users/kyo19","html_url":"https://github.com/kyo19","followers_url":"https://api.github.com/users/kyo19/followers","following_url":"https://api.github.com/users/kyo19/following{/other_user}","gists_url":"https://api.github.com/users/kyo19/gists{/gist_id}","starred_url":"https://api.github.com/users/kyo19/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kyo19/subscriptions","organizations_url":"https://api.github.com/users/kyo19/orgs","repos_url":"https://api.github.com/users/kyo19/repos","events_url":"https://api.github.com/users/kyo19/events{/privacy}","received_events_url":"https://api.github.com/users/kyo19/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"zozoh","id":174909,"avatar_url":"https://avatars.githubusercontent.com/u/174909?v=3","gravatar_id":"","url":"https://api.github.com/users/zozoh","html_url":"https://github.com/zozoh","followers_url":"https://api.github.com/users/zozoh/followers","following_url":"https://api.github.com/users/zozoh/following{/other_user}","gists_url":"https://api.github.com/users/zozoh/gists{/gist_id}","starred_url":"https://api.github.com/users/zozoh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zozoh/subscriptions","organizations_url":"https://api.github.com/users/zozoh/orgs","repos_url":"https://api.github.com/users/zozoh/repos","events_url":"https://api.github.com/users/zozoh/events{/privacy}","received_events_url":"https://api.github.com/users/zozoh/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/nutzam/nutz/milestones/19","html_url":"https://github.com/nutzam/nutz/milestones/1.b.53","labels_url":"https://api.github.com/repos/nutzam/nutz/milestones/19/labels","id":975014,"number":19,"title":"1.b.53","description":"秋季版","creator":{"login":"zozoh","id":174909,"avatar_url":"https://avatars.githubusercontent.com/u/174909?v=3","gravatar_id":"","url":"https://api.github.com/users/zozoh","html_url":"https://github.com/zozoh","followers_url":"https://api.github.com/users/zozoh/followers","following_url":"https://api.github.com/users/zozoh/following{/other_user}","gists_url":"https://api.github.com/users/zozoh/gists{/gist_id}","starred_url":"https://api.github.com/users/zozoh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zozoh/subscriptions","organizations_url":"https://api.github.com/users/zozoh/orgs","repos_url":"https://api.github.com/users/zozoh/repos","events_url":"https://api.github.com/users/zozoh/events{/privacy}","received_events_url":"https://api.github.com/users/zozoh/received_events","type":"User","site_admin":false},"open_issues":17,"closed_issues":52,"state":"open","created_at":"2015-02-11T10:07:36Z","updated_at":"2015-08-18T19:13:12Z","due_on":"2015-08-31T16:00:00Z","closed_at":null},"comments":3,"created_at":"2013-03-07T03:50:41Z","updated_at":"2015-08-18T19:13:12Z","closed_at":"2015-08-18T19:13:12Z","body":"MainModule-->A模块-->A模块的子模块1->A模块的子模块1的具体模块X\r\n![ ](https://f.cloud.github.com/assets/922092/230880/617b5da8-86da-11e2-8e9c-648e4f92d041.jpg)\r\n\r\n\r\n像这样，icommunity是主模块，其它是这个项目 的子功能模块\r\n\r\n主功能模块的url是“http://localhost/\"\r\n想对应该的子模块：“http://localhost/uic/xxxx\",http://localhost/app/xxxxx\r\n\r\n但Nutz目前版本没办法对子模块的URL进行一个统一的配置，必须在当对子模块 中的每个Controller类的前面加一个At(\"/uic\")或是At(\"/app\")，希望能在子模块中增加一个SubModule，只要在这个配置一个命名空间，然后这个模块的所有URL都带有这个前缀\r\n\r\n如\r\n@SubMod(\"/uic\")\r\npublic class SubIcomm extends SubModule{.........}\r\n\r\n然后所有这个模块的Url都是  http://localhost/{submodule_name}/xxxx/xxxx"},"comment":{"url":"https://api.github.com/repos/nutzam/nutz/issues/comments/132321740","html_url":"https://github.com/nutzam/nutz/issues/412#issuecomment-132321740","issue_url":"https://api.github.com/repos/nutzam/nutz/issues/412","id":132321740,"user":{"login":"wendal","id":589819,"avatar_url":"https://avatars.githubusercontent.com/u/589819?v=3","gravatar_id":"","url":"https://api.github.com/users/wendal","html_url":"https://github.com/wendal","followers_url":"https://api.github.com/users/wendal/followers","following_url":"https://api.github.com/users/wendal/following{/other_user}","gists_url":"https://api.github.com/users/wendal/gists{/gist_id}","starred_url":"https://api.github.com/users/wendal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wendal/subscriptions","organizations_url":"https://api.github.com/users/wendal/orgs","repos_url":"https://api.github.com/users/wendal/repos","events_url":"https://api.github.com/users/wendal/events{/privacy}","received_events_url":"https://api.github.com/users/wendal/received_events","type":"User","site_admin":false},"created_at":"2015-08-18T19:13:12Z","updated_at":"2015-08-18T19:13:12Z","body":"已经没人提了"}}