{"action":"opened","issue":{"url":"https://api.github.com/repos/baifendian/swordfish/issues/21","repository_url":"https://api.github.com/repos/baifendian/swordfish","labels_url":"https://api.github.com/repos/baifendian/swordfish/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/baifendian/swordfish/issues/21/comments","events_url":"https://api.github.com/repos/baifendian/swordfish/issues/21/events","html_url":"https://github.com/baifendian/swordfish/issues/21","id":228935996,"number":21,"title":"新增资源接口状态码返回与文档不符","user":{"login":"shiguiyang","id":12149220,"avatar_url":"https://avatars2.githubusercontent.com/u/12149220?v=3","gravatar_id":"","url":"https://api.github.com/users/shiguiyang","html_url":"https://github.com/shiguiyang","followers_url":"https://api.github.com/users/shiguiyang/followers","following_url":"https://api.github.com/users/shiguiyang/following{/other_user}","gists_url":"https://api.github.com/users/shiguiyang/gists{/gist_id}","starred_url":"https://api.github.com/users/shiguiyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shiguiyang/subscriptions","organizations_url":"https://api.github.com/users/shiguiyang/orgs","repos_url":"https://api.github.com/users/shiguiyang/repos","events_url":"https://api.github.com/users/shiguiyang/events{/privacy}","received_events_url":"https://api.github.com/users/shiguiyang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-05-16T07:14:39Z","updated_at":"2017-05-16T07:14:39Z","closed_at":null,"body":"登陆udp账户\r\n调用post接口 http://172.24.5.149:12345/login\r\n参数name = udp / password = 123123\r\n调用查询项目get请求接口 http://172.24.5.149:12345/projects\r\n查询有此项目udp\r\nstep\r\n1.调用post请求 新增资源接口http://172.24.5.149:12345/projects/project_name1111/resources/project_name112111.txt\r\n参数 file = 上传本地文件  /desc = 新增资源描述\r\n预计结果\r\nResponse:\r\nStatus: 201 OK\r\n {\r\n  \"name\": \"project_name112111.txt\",\r\n  \"desc\": \"测试路径\",\r\n  \"createTime\": 1494917808711,\r\n  \"modifyTime\": 1494917808711,\r\n  \"projectName\": \"project_name1111\",\r\n  \"owner\": \"udp\",\r\n  \"suffix\": \"txt\",\r\n  \"originFilename\": \"30361.txt\"\r\n}\r\n实际结果\r\nResponse:\r\nStatus: 200 OK\r\n {\r\n  \"name\": \"project_name112111.txt\",\r\n  \"desc\": \"测试路径\",\r\n  \"createTime\": 1494917808711,\r\n  \"modifyTime\": 1494917808711,\r\n  \"projectName\": \"project_name1111\",\r\n  \"owner\": \"udp\",\r\n  \"suffix\": \"txt\",\r\n  \"originFilename\": \"30361.txt\"\r\n}"}}
{"actor":{"display_login":"shiguiyang"}}