GET api/sys/datavalue/get/{dataType}/{lang}

获取键值对

Request Information

URI Parameters

NameDescriptionTypeAdditional information
lang

string

Required

dataType

integer

Required

Body Parameters

None.

Response Information

Resource Description

获取键值对

ReturnResultOfListOfSysKeyValueContract
NameDescriptionTypeAdditional information
data

Collection of SysKeyValueContract

None.

code

状态码:100成功,其他自定义

integer

None.

message

提示消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": [
    {
      "valueId": "sample string 1",
      "value": "sample string 2",
      "code": "sample string 3"
    },
    {
      "valueId": "sample string 1",
      "value": "sample string 2",
      "code": "sample string 3"
    }
  ],
  "code": 1,
  "message": "sample string 2"
}