{"action":"closed","issue":{"url":"https://api.github.com/repos/HP-Enterprise/BriAir/issues/576","labels_url":"https://api.github.com/repos/HP-Enterprise/BriAir/issues/576/labels{/name}","comments_url":"https://api.github.com/repos/HP-Enterprise/BriAir/issues/576/comments","events_url":"https://api.github.com/repos/HP-Enterprise/BriAir/issues/576/events","html_url":"https://github.com/HP-Enterprise/BriAir/issues/576","id":111565664,"number":576,"title":"JAVA:终端类型5个API","user":{"login":"Septemberwh","id":9412495,"avatar_url":"https://avatars.githubusercontent.com/u/9412495?v=3","gravatar_id":"","url":"https://api.github.com/users/Septemberwh","html_url":"https://github.com/Septemberwh","followers_url":"https://api.github.com/users/Septemberwh/followers","following_url":"https://api.github.com/users/Septemberwh/following{/other_user}","gists_url":"https://api.github.com/users/Septemberwh/gists{/gist_id}","starred_url":"https://api.github.com/users/Septemberwh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Septemberwh/subscriptions","organizations_url":"https://api.github.com/users/Septemberwh/orgs","repos_url":"https://api.github.com/users/Septemberwh/repos","events_url":"https://api.github.com/users/Septemberwh/events{/privacy}","received_events_url":"https://api.github.com/users/Septemberwh/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/HP-Enterprise/BriAir/labels/H8","name":"H8","color":"5cc15c"}],"state":"closed","locked":false,"assignee":{"login":"Septemberwh","id":9412495,"avatar_url":"https://avatars.githubusercontent.com/u/9412495?v=3","gravatar_id":"","url":"https://api.github.com/users/Septemberwh","html_url":"https://github.com/Septemberwh","followers_url":"https://api.github.com/users/Septemberwh/followers","following_url":"https://api.github.com/users/Septemberwh/following{/other_user}","gists_url":"https://api.github.com/users/Septemberwh/gists{/gist_id}","starred_url":"https://api.github.com/users/Septemberwh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Septemberwh/subscriptions","organizations_url":"https://api.github.com/users/Septemberwh/orgs","repos_url":"https://api.github.com/users/Septemberwh/repos","events_url":"https://api.github.com/users/Septemberwh/events{/privacy}","received_events_url":"https://api.github.com/users/Septemberwh/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-10-15T08:09:45Z","updated_at":"2015-10-16T10:47:45Z","closed_at":"2015-10-16T10:47:45Z","body":"#### 支持以下5个API\r\n\r\n协议 | 方法 | 路径 | 说明\r\n------| -------| ------| -----------\r\nHTTP |\tGET  \t| /update/term\t\t                |   查询全部\r\nHTTP |\tPOST \t| /update/term\t\t                |   增加终端型号\r\nHTTP |\tGET\t    | /update/term/{tid}\t\t        |   查询单个终端型号\r\nHTTP |\tPUT\t    | /update/term/{tid}\t\t        |   修改终端型号\r\nHTTP |\tDELETE\t| /update/term/{tid}\t\t        |   删除终端型号\r\n\r\n+ 每个API会有一个单独的controller方法\r\n+ 另外设计一个类X,专门处理维护终端类型\r\n+ API调用X中的方法完成功能\r\n+ 必要的单元测试\r\n\r\n详情请看#494 "}}