GET api/sys/dictionary/get/{lang}?dictypes={dictypes}
获取键值对
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
lang |
语言(zh-hk,en-us...) |
string |
Required |
dictypes |
类型(多个用“,”隔开) |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
获取键值对
ReturnResultOfListOfDictionaryContractName | Description | Type | Additional information |
---|---|---|---|
data | Collection of DictionaryContract |
None. |
|
code |
状态码:100成功,其他自定义 |
integer |
None. |
message |
提示消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "data": [ { "key": "sample string 1", "value": "sample string 2", "type": "sample string 3", "parentid": "sample string 4", "remark": "sample string 5" }, { "key": "sample string 1", "value": "sample string 2", "type": "sample string 3", "parentid": "sample string 4", "remark": "sample string 5" } ], "code": 1, "message": "sample string 2" }