-
Notifications
You must be signed in to change notification settings - Fork 153
HttpApi
王超 edited this page Dec 13, 2017
·
6 revisions
请求方式:GET
url:http://localhost:8828/sync/byTable
request:
参数 | 是否必须 | 类型 | 含义 | 例子 |
database | 是 | String | 数据库名 | info |
table | 是 | String | 表名 | user |
stepSize | 否 | Integer | 每次读取数据量,默认500 | 500 |
from | 否 | Long | 开始同步的起始主键,默认是数据库中的最小主键 | 1 |
to | 否 | Long | 开始同步的结束主键,默认是数据库中的最大主键 | 100000 |
example:
http://localhost:8828/sync/byTable?database=info&table=user&stepSize=500