yarn install
yarn run serve
yarn run build
yarn run test
yarn run lint
Rest-Server中的controller方法的回调参数是request,格式如下:
{
"url": "http://localhost/api1",
"body": {},
"pathParams": {},
"queryParams": {},
"headers": {
"host": "localhost:8000",
"connection": "keep-alive",
"cache-control": "max-age=0"
...
},
"filter": {}
}