本月博客排行
-
第1名
wy_19921005 -
第2名
mft8899 -
第3名
java-007 - benladeng5225
- Anmin
年度博客排行
-
第1名
龙儿筝 -
第2名
宏天软件 -
第3名
benladeng5225 - wy_19921005
- vipbooks
- kaizi1992
- 青否云后端云
- e_e
- tanling8334
- sam123456gz
- arpenker
- zysnba
- fantaxy025025
- xiangjie88
- lemonhandsome
- wallimn
- jh108020
- ganxueyun
- Xeden
- xyuma
- zhanjia
- wangchen.ily
- johnsmith9th
- zxq_2017
- forestqqqq
- jbosscn
- daizj
- xpenxpen
- 喧嚣求静
- kingwell.leng
- lchb139128
- kristy_yy
- jveqi
- javashop
- lzyfn123
- sunj
- yeluowuhen
- ajinn
- lerf
- silverend
- chenqisdfx
- xiaoxinye
- flashsing123
- bosschen
- lyndon.lin
- zhangjijun
- sunnylocus
- lyj86
- paulwong
- sgqt
最新文章列表
微服务开发指导
1 开发说明
1.1 project说明
1.1.1 下载地址
工程下载地址:ssh://xxx@apaciccc5086:29418/emarket.git (用git)
demo工程下载地址:ssh://xxx@apaciccc5086:29418/microservice.git(用git)
xxx 表示自己的git用户名
1.1.2 一个parent工程,其他都是子工程
下载 ...
restfull 版本控制
@RequestMapping(value = "/apiheader/address", method = POST, headers = "X-API-Version=v1")
public void methodV1(){
.....................................
}
................... ...
Grails3 RESTful开发及安全认证
1、创建项目
grails create-app myapp --profile=rest-api
cd myapp
grails
--profile可以指定项目框架的类型,rest-api增加rest相关jar,去掉了gsp相关的jar。
2、创建domain
create-domain-resource com.rest.book
3、import项目到E ...