{"id":22928606,"url":"https://github.com/arronf2e/springboot-studying","last_synced_at":"2025-09-11T05:33:13.346Z","repository":{"id":123718046,"uuid":"134443560","full_name":"arronf2e/springboot-studying","owner":"arronf2e","description":"springboot-studying","archived":false,"fork":false,"pushed_at":"2018-05-22T16:28:18.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-01T16:18:38.601Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/arronf2e.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-05-22T16:27:32.000Z","updated_at":"2018-05-22T16:28:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"1ae0936d-0c33-4831-8689-b0d312f835f6","html_url":"https://github.com/arronf2e/springboot-studying","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/arronf2e/springboot-studying","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arronf2e%2Fspringboot-studying","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arronf2e%2Fspringboot-studying/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arronf2e%2Fspringboot-studying/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arronf2e%2Fspringboot-studying/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arronf2e","download_url":"https://codeload.github.com/arronf2e/springboot-studying/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arronf2e%2Fspringboot-studying/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274583515,"owners_count":25311857,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-11T02:00:13.660Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-14T09:27:11.372Z","updated_at":"2025-09-11T05:33:13.325Z","avatar_url":"https://github.com/arronf2e.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"### 命令行启动项目\n\n    java -jar target/girl-0.0.1-SNAPSHOT.jar --spring.profiles.active=dev\n    \n    java -jar target/girl-0.0.1-SNAPSHOT.jar --spring.profiles.active=prod\n    \n#### 注解\n\n    @RestController  新的\n    \n    ===  @Controller @ResponseBody\n    \n    @RequestMapping(value=\"\", method=)   // 配置路由映射\n    \n    \n路由映射嵌套\n\n    在整个Controller外层加  @RequestMapping(\"/父路由\")\n    在 Controller 中每个方法前加  @RequestMapping(value=\"/子路由\", method= RequestMethod.GET)\n    如不指定method，get post 请求均可以获取结果，但不推荐这种做法\n    \n处理 url 参数\n\n    @PathVariable   获取url中的参数     params类  /id/xx/xx\n    @RequestParam   获取请求参数的值     querystring  参数  ?id=xxx\n    \n    非必选参数，并设置默认什\n    @RequestParam(value=\"id\", required=\"false\", defaultValue=\"0\")\n    \n    @GetMapping     组合注解  对上面 @RequestMapping的简写","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farronf2e%2Fspringboot-studying","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farronf2e%2Fspringboot-studying","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farronf2e%2Fspringboot-studying/lists"}