# 獲取網關信息
~~~[api]
POST:/json.php
i_user_id#用戶ID
s_api_key#Token
s_class#固定為c_gateway
s_method#固定為f_modify
s_sub_server_address#你的服務器地址(用來轉發云端請求到網關)
i_sub_server_port#服務器端口
s_sub_server_topic#網關需要訂閱的云端服務器主題
s_fwd_server_address#你的服務器地址(用來轉發網關數據到云端)
i_fwd_server_port#你的服務器端口(用來轉發網關數據到云端端口)
s_fwd_server_topic#網關需要轉發到的云端服務器主題
s_nick_name#網關名稱
<<<
success
{
's_code':'00000',
's_message':'Success',
'a_result':
{
}
}
<<<
error
{
's_code':'99999',
's_message':'',
'a_result':
{
}
}
~~~
### 返回參數
| 參數名 | 類型 | 說明 |
| --- | --- | --- |
| s_code| string | 響應碼 |
| s_message| string | 響應信息 |
| a_result| Array | 數據集合 |