- 公用
- 应届生
- 企业招聘方
- 学校就业中心
- 聊天 相关
- 判断服务器是否正常GET
- 未命名接口GET
- 获取登录信息GET
修改企业信息
POST
/com/info/update
请求参数
Header 参数
Authorization
string
必需
默认值:
{{token}}
Body 参数application/json
com_phone
string
必需
<= 16 字符
com_name
string
企业名称
<= 128 字符
com_intro
string
企业介绍
<= 255 字符
com_address
string
企业地址
<= 128 字符
com_num
string
企业人数
<= 32 字符
com_type
string
企业类型
<= 32 字符
com_work_time
string
企业工作时间
<= 32 字符
com_set_time
string
企业成立时间
<= 32 字符
com_welfare
string
企业福利
<= 255 字符
示例
{
"com_phone": "string",
"com_name": "string",
"com_intro": "string",
"com_address": "string",
"com_num": "string",
"com_type": "string",
"com_work_time": "string",
"com_set_time": "string",
"com_welfare": "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 'http://localhost:8081/bin_fresh_recruit/com/info/update' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
"com_phone": "string",
"com_name": "string",
"com_intro": "string",
"com_address": "string",
"com_num": "string",
"com_type": "string",
"com_work_time": "string",
"com_set_time": "string",
"com_welfare": "string"
}'
返回响应
🟢200成功
application/json
Body
code
integer
状态码
msg
string
响应反馈
data
object
必需
com_id
string
企业ID
<= 16 字符
com_phone
string
必需
<= 16 字符
com_name
string
企业名称
<= 128 字符
com_intro
string
企业介绍
<= 255 字符
com_address
string
企业地址
<= 128 字符
com_num
string
企业人数
<= 32 字符
com_type
string
企业类型
<= 32 字符
com_work_time
string
企业工作时间
<= 32 字符
com_set_time
string
企业成立时间
<= 32 字符
com_welfare
string
企业福利
<= 255 字符
create_time
string <date-time>
创建时间
默认值:
CURRENT_TIMESTAMP
update_time
string <date-time>
更新时间
默认值:
CURRENT_TIMESTAMP
示例
{
"code": 0,
"msg": "ok",
"data": {
"com_id": "B143f9124437",
"com_name": "xxx有限责任公司",
"com_phone": "15875195553",
"com_intro": "致力于有声教育",
"com_address": "河南省襄阳市元朗区",
"com_num": "1000",
"com_type": "互联网",
"com_work_time": "早九晚六",
"com_set_time": "1996-06-21 21:04:06",
"com_welfare": "五险一金"
}
}
🟢200成功响应
修改于 2024-03-16 08:50:22