- dubbo-sample-api: 接口契约定义
- dubbo-sample-consumer: dubbo消费端定义
- dubbo-sample-provider: dubbo生产端定义
- 请求示例:
curl --location 'http://127.0.0.1:8081/api/test/hello?name=test&age=20'
- 响应示例:
{
"code": 0,
"message": "success",
"data": {
"name": "test",
"age": 20,
"time": 1695297874605
}
}