GET api/User/GetUserGateway?userId={userId}

根据用户ID,获取所属网关信息.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userId

用户编号.

integer

Required

Body Parameters

None.

Response Information

Resource Description

通用报文响应结果{ Success: bool , Code: int , Error: string , Result:string[] } Success: 是否执行成功. 成功为 true Code: 错误代码. 1 执行成功 , 0, 没有处理 , < 执行失败 Error: 错误消息. Result: 如果有结果,结果保存在此字段中

JResultOfString[]
NameDescriptionTypeAdditional information
Code

integer

None.

Error

string

None.

Result

Collection of string

None.

Success

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": 1,
  "Error": "sample string 2",
  "Result": [
    "sample string 1",
    "sample string 2"
  ],
  "Success": true
}