- OSS文件上传控制器
- 党建控制器
- 新闻公告控制器
- 企业控制器
- 通用接口控制器
- 人员控制器
- 项目控制器
- 考试控制器
- 起重机设备控制器
- 起重机登记控制器
- 安全帽控制器
保存或更新党建人员
POST
/party/partyPerson/saveOrUpdate
请求参数
Header 参数
token
string
可选
默认值:
eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VyX2tleSI6IjU1YTRlMGM3LTk4MTktNDRlYi1iNDBmLTFlZTg3MzczMTFhYyIsInVzZXJuYW1lIjoiYWRtaW4ifQ.IVvGfgnXaPHpSSv7ndl0ITB3PBCkwYPfYurc2Ulsd3i2lO_djYLMM4p886y7mC1AGGOP2Bcj3T0LDwwVKgk3eQ
Body 参数application/json
党建人员数据
id
integer <int64>
可选
name
string
可选
sex
string
可选
nation
string
可选
partyPersonType
string
可选
age
integer
可选
partyAge
integer
可选
birthDate
string
可选
educationDegree
string
可选
jobTitleType
string
可选
partyDeptId
integer <int64>
可选
duty
string
可选
isDel
string
可选
createBy
integer <int64>
可选
createTime
string
可选
updateBy
integer <int64>
可选
updateTime
string
可选
示例
{
"id": 0,
"name": "string",
"sex": "string",
"nation": "string",
"partyPersonType": "string",
"age": 0,
"partyAge": 0,
"birthDate": "string",
"educationDegree": "string",
"jobTitleType": "string",
"partyDeptId": 0,
"duty": "string",
"isDel": "string",
"createBy": 0,
"createTime": "string",
"updateBy": 0,
"updateTime": "string"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/party/partyPerson/saveOrUpdate' \
--header 'token: eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VyX2tleSI6IjU1YTRlMGM3LTk4MTktNDRlYi1iNDBmLTFlZTg3MzczMTFhYyIsInVzZXJuYW1lIjoiYWRtaW4ifQ.IVvGfgnXaPHpSSv7ndl0ITB3PBCkwYPfYurc2Ulsd3i2lO_djYLMM4p886y7mC1AGGOP2Bcj3T0LDwwVKgk3eQ' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": 0,
"name": "string",
"sex": "string",
"nation": "string",
"partyPersonType": "string",
"age": 0,
"partyAge": 0,
"birthDate": "string",
"educationDegree": "string",
"jobTitleType": "string",
"partyDeptId": 0,
"duty": "string",
"isDel": "string",
"createBy": 0,
"createTime": "string",
"updateBy": 0,
"updateTime": "string"
}'
返回响应
🟢200成功
application/json
Body
AjaxResult
code :状态码
msg :返回内容
data :数据对象
key
object
可选
示例
{
"": {}
}
修改于 2025-04-17 06:48:45