{"action":"reopened","issue":{"url":"https://api.github.com/repos/InCar/Track/issues/75","labels_url":"https://api.github.com/repos/InCar/Track/issues/75/labels{/name}","comments_url":"https://api.github.com/repos/InCar/Track/issues/75/comments","events_url":"https://api.github.com/repos/InCar/Track/issues/75/events","html_url":"https://github.com/InCar/Track/issues/75","id":57162593,"number":75,"title":"API-创建车队","user":{"login":"AceBear","id":5030312,"avatar_url":"https://avatars.githubusercontent.com/u/5030312?v=3","gravatar_id":"","url":"https://api.github.com/users/AceBear","html_url":"https://github.com/AceBear","followers_url":"https://api.github.com/users/AceBear/followers","following_url":"https://api.github.com/users/AceBear/following{/other_user}","gists_url":"https://api.github.com/users/AceBear/gists{/gist_id}","starred_url":"https://api.github.com/users/AceBear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AceBear/subscriptions","organizations_url":"https://api.github.com/users/AceBear/orgs","repos_url":"https://api.github.com/users/AceBear/repos","events_url":"https://api.github.com/users/AceBear/events{/privacy}","received_events_url":"https://api.github.com/users/AceBear/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/InCar/Track/labels/feature","name":"feature","color":"0052cc"}],"state":"open","locked":false,"assignee":{"login":"jiangli0509","id":5874912,"avatar_url":"https://avatars.githubusercontent.com/u/5874912?v=3","gravatar_id":"","url":"https://api.github.com/users/jiangli0509","html_url":"https://github.com/jiangli0509","followers_url":"https://api.github.com/users/jiangli0509/followers","following_url":"https://api.github.com/users/jiangli0509/following{/other_user}","gists_url":"https://api.github.com/users/jiangli0509/gists{/gist_id}","starred_url":"https://api.github.com/users/jiangli0509/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiangli0509/subscriptions","organizations_url":"https://api.github.com/users/jiangli0509/orgs","repos_url":"https://api.github.com/users/jiangli0509/repos","events_url":"https://api.github.com/users/jiangli0509/events{/privacy}","received_events_url":"https://api.github.com/users/jiangli0509/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/InCar/Track/milestones/16","labels_url":"https://api.github.com/repos/InCar/Track/milestones/16/labels","id":968278,"number":16,"title":"phase-fleet","description":"车队管理","creator":{"login":"AceBear","id":5030312,"avatar_url":"https://avatars.githubusercontent.com/u/5030312?v=3","gravatar_id":"","url":"https://api.github.com/users/AceBear","html_url":"https://github.com/AceBear","followers_url":"https://api.github.com/users/AceBear/followers","following_url":"https://api.github.com/users/AceBear/following{/other_user}","gists_url":"https://api.github.com/users/AceBear/gists{/gist_id}","starred_url":"https://api.github.com/users/AceBear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AceBear/subscriptions","organizations_url":"https://api.github.com/users/AceBear/orgs","repos_url":"https://api.github.com/users/AceBear/repos","events_url":"https://api.github.com/users/AceBear/events{/privacy}","received_events_url":"https://api.github.com/users/AceBear/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":2,"state":"open","created_at":"2015-02-06T06:16:52Z","updated_at":"2015-02-15T04:18:25Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-02-10T11:28:41Z","updated_at":"2015-02-15T04:18:25Z","closed_at":null,"body":"实现一个API用来创建车队\r\nPOST /api/fleet\r\n\r\n相关文档参见\r\nhttp://dev.incardata.com.cn:7002/package/@incar/fleet\r\n\r\n填充下面JS文件中的FleetAPI.post方法即可\r\n$\\incar\\packages\\fleet\\api\\FleetAPI.js\r\n\r\n需要执行以下逻辑\r\n1. 强制保证biz_mode=1 参见 #74 \r\n2. 调用bizCore.Org中的方法完成向数据库添加车队的功能\r\n3. 成功返回新创建的车队对象\r\n\r\n**注意:严禁直接操作数据库,一定要使用bizCore和数据库进行交互**"}}