POST api/admin/system/update

【管理员】【系统设置】批量修改配置

Request Information

URI Parameters

None.

Body Parameters

配置列表,只需传 key + value

Collection of TB_System_Config
NameDescriptionTypeAdditional information
id

integer

None.

key

string

None.

value

string

None.

status

integer

None.

label

string

None.

description

string

None.

createAt

date

None.

updateAt

date

None.

createBy

string

None.

updateBy

string

None.

more

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "key": "sample string 2",
    "value": "sample string 3",
    "status": 4,
    "label": "sample string 5",
    "description": "sample string 6",
    "createAt": "2026-05-16 23:48:32",
    "updateAt": "2026-05-16 23:48:32",
    "createBy": "sample string 9",
    "updateBy": "sample string 10",
    "more": "sample string 11"
  },
  {
    "id": 1,
    "key": "sample string 2",
    "value": "sample string 3",
    "status": 4,
    "label": "sample string 5",
    "description": "sample string 6",
    "createAt": "2026-05-16 23:48:32",
    "updateAt": "2026-05-16 23:48:32",
    "createBy": "sample string 9",
    "updateBy": "sample string 10",
    "more": "sample string 11"
  }
]

Response Information

Resource Description

【管理员】【系统设置】批量修改配置

MyResponse
NameDescriptionTypeAdditional information
code

integer

None.

msg

string

None.

data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "code": 1,
  "msg": "sample string 2",
  "data": {}
}