Authorization: Bearer ********************curl --location --request POST 'http://gpadmin-api.cc/api/admin/DictionaryCategory/index' \
--header 'Authorization: Bearer <token>'{
"code": 200,
"message": "success",
"data": [
{
"category_id": 2029733656576,
"category_name": "请求来源",
"category_code": "RequestSource",
"tpl_path": "tpl/Dictionary.xlsx",
"category_desc": "记录请求发起的渠道或终端,如 PC 端、移动端、第三方接口等",
"can_delete": 0
},
{
"category_id": 2029733656577,
"category_name": "组织架构类型",
"category_code": "OrganizationType",
"tpl_path": "tpl/Dictionary.xlsx",
"category_desc": "标识组织架构的层级或类别,如公司、部门、小组、分公司等",
"can_delete": 0
},
{
"category_id": 2029733656578,
"category_name": "允许上传文件类型",
"category_code": "AllowUploadFileType",
"tpl_path": "tpl/Dictionary.xlsx",
"category_desc": "限定系统可接收的上传文件格式,如 jpg、png、docx、pdf 等",
"can_delete": 0
}
]
}