Commit 9f7f3bb6 authored by quwei's avatar quwei 🤸🏼

sync data

parent 0a3a487e
# 导出服务站管理列表到下载中心
> URL: http://localhost:9202/station/ExportNewStation
>
> Origin Url: http://localhost:9202/station/ExportNewStation
>
> Type: POST
### Request headers
|Header Name| Header Value|
|---------|------|
|Authorization|Bearer eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyX2lkIjo1MTM0MywidGVuYW50SWQiOjEsInVzZXJfa2V5IjoiMTdmODU2YzgtYTY1ZS00M2M2LWExMzMtMmMxN2NiZjY0ZTYyIiwidXNlcm5hbWUiOiJxdXdlaSJ9.4cY1Zt-KkL-B3zD01PdfNv5_dvGhl96ii5j5BOHAV0Z4hXv8cvNeRp-E27vjKAgaM2O0m3GS8JORm3abpnzNdQ|
### Parameters
##### Path parameters
| Parameter | Type | Value | Description |
|---------|------|------|------------|
##### URL parameters
|Required| Parameter | Type | Value | Description |
|---------|---------|------|------|------------|
##### Body parameters
###### JSON
```
{
"plantCode": "",
"stationName": "",
"identifierCode": "",
"province": "-1",
"city": "-1",
"downloadFlag": 1,
"metadata": "[{\"stationName\":\"服务站名称\"},{\"nameForshort\":\"服务站简称\"},{\"serviceCode\":\"服务站代码\"},{\"povince\":\"服务站省份\"},{\"city\":\"服务站城市\"},{\"address\":\"服务站地址\"},{\"firstSyncTime\":\"首次同步时间\"},{\"longitude\":\"经度\"},{\"latitude\":\"纬度\"},{\"companyNature\":\"公司性质\"},{\"serviceManager\":\"联系人\"},{\"phone\":\"联系电话\"}]",
"token": "a8402a2dc94141a093ebf967e357e4a9"
}
```
###### JSON document
```
{
"downloadFlag":"导出标示 0 - 导出当前 1- 导出全部",
"request":{},
"metadata":"导出字段信息",
"reportId":"No comment,Value =1",
"sheetName":"excel sheet页名称",
"city":"城市",
"page_total":"总页数",
"sort":"排序字段",
"token":"当前登录用户的token",
"mailSubject":"邮件主题",
"loginUser":{
"tenants":[
{
"tenantName":"租户名称",
"createTime":"创建时间",
"tenantId":"租户ID",
"updateTime":"更新时间",
"tenantCode":"租户编码",
"status":"状态(0正常 1停用)"
}
],
"loginTime":"登录时间",
"expireTime":"过期时间",
"permissions":[
"权限列表"
],
"roles":[
"角色列表"
],
"tenantId":"租户ID",
"tenantCode":"租户编码",
"sysUser":{
"deptName":"No comment,Value =deptName_kmx17",
"roles":[
{
"flag":"用户是否存在此角色标识 默认不存在",
"remark":"备注",
"tenantCode":"No comment,Value =tenantCode_m68qo",
"delFlag":"删除标志(0代表存在 2代表删除)",
"deptCheckStrictly":"部门树选择项是否关联显示(0:父子不互相关联显示 1:父子互相关联显示 )",
"allocatedFlag":"No comment,Value =true",
"updateBy":"更新者",
"menuCheckStrictly":"菜单树选择项是否关联显示( 0:父子不互相关联显示 1:父子互相关联显示)",
"permissions":[
"permissions_yupnq"
],
"roleKey":"No comment,Value =roleKey_z74zx",
"deptIds":[
1
],
"beginTime":"No comment,Value =beginTime_kw74m",
"roleId":"角色ID",
"tenantList":[
{
"tenantName":"tenantName_tt3cl",
"createTime":"2026-06-01 11:02:23",
"tenantId":1,
"updateTime":"2026-06-01 11:02:23",
"tenantCode":"tenantCode_b8gtv",
"status":"status_rz5ym"
}
],
"updateTime":"更新时间",
"dataScope":"数据范围(1:所有数据权限;2:自定义数据权限;3:本部门数据权限;4:本部门及以下数据权限;5:仅本人数据权限)",
"params":{},
"roleSort":"角色排序",
"createBy":"创建者",
"createTime":"创建时间",
"roleName":"No comment,Value =roleName_s2n9x",
"tenantId":"No comment,Value =1",
"endTime":"No comment,Value =endTime_o6dtx",
"menuIds":[
1
],
"status":"No comment,Value =status_py8wf"
}
],
"phonenumber":"No comment,Value =phonenumber_q5hva",
"loginDate":"最后登录时间",
"remark":"备注",
"tenantCode":"No comment,Value =tenantCode_nbmko",
"delFlag":"删除标志(0代表存在 2代表删除)",
"password":"密码",
"updateBy":"更新者",
"postIds":[
"岗位组"
],
"loginIp":"No comment,Value =loginIp_a1w7y",
"pwdUpdateDate":"密码最后更新时间",
"beginTime":"No comment,Value =beginTime_glblo",
"jobType":"No comment,Value =1",
"email":"No comment,Value =email_hwsny",
"nickName":"No comment,Value =nickName_4pofl",
"isLeader":"No comment,Value =isLeader_td62t",
"roleId":"角色ID",
"sex":"No comment,Value =sex_yulpl",
"deptId":"No comment,Value =1",
"updateTime":"更新时间",
"avatar":"用户头像",
"team":[
{
"name":"No comment,Value =name_1jh7n",
"id":"No comment,Value =1"
}
],
"userName":"No comment,Value =userName_mqhdp",
"roleList":[
{
"tenants":[
{
"tenantName":"tenantName_gziz8",
"createTime":"2026-06-01 11:02:23",
"tenantId":1,
"updateTime":"2026-06-01 11:02:23",
"tenantCode":"tenantCode_bgg5u",
"status":"status_hy9ml"
}
],
"roleId":"No comment,Value =1",
"roleName":"No comment,Value =roleName_qs7ni"
}
],
"params":{},
"userId":"用户ID",
"queryType":"No comment,Value =1",
"createBy":"创建者",
"roleIds":[
"角色组"
],
"createTime":"创建时间",
"userType":"No comment,Value =userType_l14ub",
"endTime":"No comment,Value =endTime_ejsnz",
"plaintextPassword":"No comment,Value =plaintextPassword_l3jqi",
"status":"账号状态(0正常 1停用)"
},
"ipaddr":"登录IP地址",
"userId":"用户名id",
"token":"用户唯一标识",
"username":"用户名"
},
"page_number":"当前页",
"province":"省份",
"sortType":"排序方式",
"identifierCode":"服务站代码",
"mailContent":"邮件内容",
"wm":"邮件下标",
"stationName":"服务站名称",
"plantCode":"No comment,Value =plantCode_9h67s",
"email":"邮件地址",
"page_size":"每页行数"
}
```
##### Form URL-Encoded
|Required| Parameter | Type | Value | Description |
|---------|---------|------|------|------------|
##### Multipart
|Required | Parameter | Type | Value | Description |
|---------|---------|------|------|------------|
### Response
##### Response example
```
{
"resultCode": 200,
"message": "OK",
"traceId": null,
"data": {
"id": 88,
"userId": 51343,
"userName": "quwei",
"menuName": "服务站管理",
"exportItem": "导出服务站数据",
"exportTimeRange": "--",
"operationTime": "2026-06-01 11:11:07",
"finishTime": null,
"status": 0,
"filePath": null,
"fileName": null,
"errorMsg": null,
"requestParams": "{\"city\":\"-1\",\"downloadFlag\":1,\"identifierCode\":\"\",\"metadata\":\"[{\\\"stationName\\\":\\\"服务站名称\\\"},{\\\"nameForshort\\\":\\\"服务站简称\\\"},{\\\"serviceCode\\\":\\\"服务站代码\\\"},{\\\"povince\\\":\\\"服务站省份\\\"},{\\\"city\\\":\\\"服务站城市\\\"},{\\\"address\\\":\\\"服务站地址\\\"},{\\\"firstSyncTime\\\":\\\"首次同步时间\\\"},{\\\"longitude\\\":\\\"经度\\\"},{\\\"latitude\\\":\\\"纬度\\\"},{\\\"companyNature\\\":\\\"公司性质\\\"},{\\\"serviceManager\\\":\\\"联系人\\\"},{\\\"phone\\\":\\\"联系电话\\\"}]\",\"page_number\":1,\"page_size\":20,\"plantCode\":\"\",\"province\":\"-1\",\"reportId\":0,\"sortType\":1,\"stationName\":\"\",\"token\":\"a8402a2dc94141a093ebf967e357e4a9\"}",
"createTime": null
}
}
```
##### Response document
```
{
"traceId":"No comment,Type =String",
"data":{
"finishTime":"No comment,Type =String",
"fileName":"No comment,Type =String",
"filePath":"No comment,Type =String",
"requestParams":"No comment,Type =String",
"menuName":"No comment,Type =String",
"userName":"No comment,Type =String",
"userId":"No comment,Type =Number",
"operationTime":"No comment,Type =String",
"errorMsg":"No comment,Type =String",
"exportItem":"No comment,Type =String",
"createTime":"No comment,Type =String",
"id":"No comment,Type =Number",
"exportTimeRange":"No comment,Type =String",
"status":"No comment,Type =Number"
},
"resultCode":"No comment,Type =Number",
"message":"No comment,Type =String"
}
```
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment