POST Api/File/StaffHeadFileUpdate?fileKey={fileKey}

员工头像图片上传 文件大小和类型有限制

请求信息

URI 参数

名称描述类型附加信息
fileKey

预生产的Id(唯一Id)

integer

Required

Body 参数

空.

响应信息

资源描述

员工头像图片上传 文件大小和类型有限制

ApiJsonBaseOfListOfFileUpload
名称描述类型附加信息
Result

boolean

None.

Message

string

None.

State

integer

None.

BizData

Collection of FileUpload

None.

响应格式

application/json, text/json

Sample:
{
  "Result": true,
  "Message": "sample string 2",
  "State": 3,
  "BizData": [
    {
      "Id": 1,
      "IdStr": "1",
      "SaveName": "sample string 2",
      "OldName": "sample string 3",
      "FileUrl": "sample string 4",
      "SavePath": "sample string 5",
      "Category": 6,
      "Size": 7,
      "Sort": 8,
      "CreateTime": "2025-07-05T21:55:41.9627542+08:00",
      "IsTempFile": true
    },
    {
      "Id": 1,
      "IdStr": "1",
      "SaveName": "sample string 2",
      "OldName": "sample string 3",
      "FileUrl": "sample string 4",
      "SavePath": "sample string 5",
      "Category": 6,
      "Size": 7,
      "Sort": 8,
      "CreateTime": "2025-07-05T21:55:41.9627542+08:00",
      "IsTempFile": true
    }
  ]
}

application/xml, text/xml

Sample:
<ApiJsonBaseOfArrayOfFileUploadN8hASBDB xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UDenCloudProject.API.Models">
  <BizData xmlns:d2p1="http://schemas.datacontract.org/2004/07/UDenCloudProject.Model.ParameterModels.File">
    <d2p1:FileUpload>
      <d2p1:Category>6</d2p1:Category>
      <d2p1:CreateTime>2025-07-05T21:55:41.9627542+08:00</d2p1:CreateTime>
      <d2p1:FileUrl>sample string 4</d2p1:FileUrl>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsTempFile>true</d2p1:IsTempFile>
      <d2p1:OldName>sample string 3</d2p1:OldName>
      <d2p1:SaveName>sample string 2</d2p1:SaveName>
      <d2p1:SavePath>sample string 5</d2p1:SavePath>
      <d2p1:Size>7</d2p1:Size>
      <d2p1:Sort>8</d2p1:Sort>
    </d2p1:FileUpload>
    <d2p1:FileUpload>
      <d2p1:Category>6</d2p1:Category>
      <d2p1:CreateTime>2025-07-05T21:55:41.9627542+08:00</d2p1:CreateTime>
      <d2p1:FileUrl>sample string 4</d2p1:FileUrl>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsTempFile>true</d2p1:IsTempFile>
      <d2p1:OldName>sample string 3</d2p1:OldName>
      <d2p1:SaveName>sample string 2</d2p1:SaveName>
      <d2p1:SavePath>sample string 5</d2p1:SavePath>
      <d2p1:Size>7</d2p1:Size>
      <d2p1:Sort>8</d2p1:Sort>
    </d2p1:FileUpload>
  </BizData>
  <Message>sample string 2</Message>
  <Result>true</Result>
  <State>3</State>
</ApiJsonBaseOfArrayOfFileUploadN8hASBDB>