/**
  * Query all channels
  *
  * <b>Request Type</b>: GET<br/><br/>
  * <b>Request Endpoint</b>:http://{server-domain}/api/common/channel/channels-all<br/><br/>
  * <b>Content-type</b>: application/json<br/><br/>
  * <b>Summary</b>: This api is used for querying all channels.
  * <br/><br/>
  *
  * <b>Request Params</b>:<br/>
  *     <br/><br/>
  *
  * <b>Response Params:</b><br/>
  *     ack: integer, mark the query result, 0 means query fail, 1 means query successfully<br/>
  *     msg: string, if query fail, it contains the error message<br/>
  *     data: array, json array to queried channels detail information<br/>
  *     <br/><br/>
  *
  * <b>Request Example:</b><br/>
  * <br/><br/>
  *
  * <b>Response Example</b>:<br/>
  * <pre>
  * [
  *    {
  *        "id": "55ba03f6e9c2fbf3348b4567",
  *        "channelId": "54d9c155e4b0abe717853ee1",
  *        "origin": "wechat",
  *        "name": "熊猫Baby",
  *        "type": "SERVICE_AUTH_ACCOUNT",
  *        "status": "disable",
  *        "isTest": true
  *     }
  * ]
  * </pre>
  */
 public function actionChannelsAll()
 {
     $accountId = $this->getAccountId();
     return Channel::getAllByAccount($accountId);
 }