@@ -37,8 +37,8 @@ |
||
| 37 | 37 | public function get_info() |
| 38 | 38 | { |
| 39 | 39 | $info = array("code" => $this->code, |
| 40 | - "data" => json_encode($this->data), |
|
| 41 | - "message" => $this->message); |
|
| 40 | + "data" => json_encode($this->data), |
|
| 41 | + "message" => $this->message); |
|
| 42 | 42 | return json_encode($info); |
| 43 | 43 | } |
| 44 | 44 | } |
@@ -23,9 +23,9 @@ |
||
| 23 | 23 | public function __toString() |
| 24 | 24 | { |
| 25 | 25 | $info = array("method" => $this->method, |
| 26 | - "uri" => $this->uri, |
|
| 27 | - "header" => json_encode($this->header), |
|
| 28 | - "data" => $this->data); |
|
| 26 | + "uri" => $this->uri, |
|
| 27 | + "header" => json_encode($this->header), |
|
| 28 | + "data" => $this->data); |
|
| 29 | 29 | return json_encode($info); |
| 30 | 30 | } |
| 31 | 31 | } |
@@ -23,8 +23,8 @@ |
||
| 23 | 23 | public function __toString() |
| 24 | 24 | { |
| 25 | 25 | $info = array("status" => $this->status, |
| 26 | - "header" => json_encode($this->header), |
|
| 27 | - "data" => $this->data); |
|
| 26 | + "header" => json_encode($this->header), |
|
| 27 | + "data" => $this->data); |
|
| 28 | 28 | |
| 29 | 29 | return "CMQServerNetworkException " . json_encode($info); |
| 30 | 30 | } |
@@ -59,19 +59,19 @@ |
||
| 59 | 59 | public function __toString() |
| 60 | 60 | { |
| 61 | 61 | $info = array("visibilityTimeout" => $this->visibilityTimeout, |
| 62 | - "maxMsgHeapNum" => $this->maxMsgHeapNum, |
|
| 63 | - "maxMsgSize" => $this->maxMsgSize, |
|
| 64 | - "msgRetentionSeconds" => $this->msgRetentionSeconds, |
|
| 65 | - "pollingWaitSeconds" => $this->pollingWaitSeconds, |
|
| 66 | - "activeMsgNum" => $this->activeMsgNum, |
|
| 67 | - "inactiveMsgNum" => $this->inactiveMsgNum, |
|
| 68 | - "createTime" => date("Y-m-d H:i:s", $this->createTime), |
|
| 69 | - "lastModifyTime" => date("Y-m-d H:i:s", $this->lastModifyTime), |
|
| 70 | - "QueueName" => $this->queueName, |
|
| 71 | - "rewindSeconds" => $this->rewindSeconds, |
|
| 72 | - "rewindmsgNum" => $this->rewindmsgNum, |
|
| 73 | - "minMsgTime" => $this->minMsgTime, |
|
| 74 | - "delayMsgNum" => $this->delayMsgNum); |
|
| 62 | + "maxMsgHeapNum" => $this->maxMsgHeapNum, |
|
| 63 | + "maxMsgSize" => $this->maxMsgSize, |
|
| 64 | + "msgRetentionSeconds" => $this->msgRetentionSeconds, |
|
| 65 | + "pollingWaitSeconds" => $this->pollingWaitSeconds, |
|
| 66 | + "activeMsgNum" => $this->activeMsgNum, |
|
| 67 | + "inactiveMsgNum" => $this->inactiveMsgNum, |
|
| 68 | + "createTime" => date("Y-m-d H:i:s", $this->createTime), |
|
| 69 | + "lastModifyTime" => date("Y-m-d H:i:s", $this->lastModifyTime), |
|
| 70 | + "QueueName" => $this->queueName, |
|
| 71 | + "rewindSeconds" => $this->rewindSeconds, |
|
| 72 | + "rewindmsgNum" => $this->rewindmsgNum, |
|
| 73 | + "minMsgTime" => $this->minMsgTime, |
|
| 74 | + "delayMsgNum" => $this->delayMsgNum); |
|
| 75 | 75 | return json_encode($info); |
| 76 | 76 | } |
| 77 | 77 | } |
@@ -39,12 +39,12 @@ |
||
| 39 | 39 | public function __toString() |
| 40 | 40 | { |
| 41 | 41 | $info = array("msgBody" => $this->msgBody, |
| 42 | - "msgId" => $this->msgId, |
|
| 43 | - "enqueueTime" => date("Y-m-d H:i:s", $this->enqueueTime), |
|
| 44 | - "nextVisibleTime" => date("Y-m-d H:i:s", $this->nextVisibleTime), |
|
| 45 | - "firstDequeueTime" => date("Y-m-d H:i:s", $this->firstDequeueTime), |
|
| 46 | - "dequeueCount" => $this->dequeueCount, |
|
| 47 | - "receiptHandle" => $this->receiptHandle); |
|
| 42 | + "msgId" => $this->msgId, |
|
| 43 | + "enqueueTime" => date("Y-m-d H:i:s", $this->enqueueTime), |
|
| 44 | + "nextVisibleTime" => date("Y-m-d H:i:s", $this->nextVisibleTime), |
|
| 45 | + "firstDequeueTime" => date("Y-m-d H:i:s", $this->firstDequeueTime), |
|
| 46 | + "dequeueCount" => $this->dequeueCount, |
|
| 47 | + "receiptHandle" => $this->receiptHandle); |
|
| 48 | 48 | return json_encode($info); |
| 49 | 49 | } |
| 50 | 50 | } |
@@ -22,8 +22,8 @@ |
||
| 22 | 22 | public function __toString() |
| 23 | 23 | { |
| 24 | 24 | $info = array("status" => $this->status, |
| 25 | - "header" => json_encode($this->header), |
|
| 26 | - "data" => $this->data); |
|
| 25 | + "header" => json_encode($this->header), |
|
| 26 | + "data" => $this->data); |
|
| 27 | 27 | return json_encode($info); |
| 28 | 28 | } |
| 29 | 29 | } |
@@ -245,8 +245,8 @@ |
||
| 245 | 245 | } |
| 246 | 246 | |
| 247 | 247 | return array("totalCoult" => $resp['totalCount'], |
| 248 | - "subscriptionList" => $resp['subscriptionList'], |
|
| 249 | - "next_offset" => $next_offset); |
|
| 248 | + "subscriptionList" => $resp['subscriptionList'], |
|
| 249 | + "next_offset" => $next_offset); |
|
| 250 | 250 | } |
| 251 | 251 | } |
| 252 | 252 | |
@@ -130,7 +130,7 @@ discard block |
||
| 130 | 130 | } |
| 131 | 131 | |
| 132 | 132 | return array("totalCount" => $ret_pkg['totalCount'], |
| 133 | - "queueList" => $ret_pkg['queueList'], "next_offset" => $next_offset); |
|
| 133 | + "queueList" => $ret_pkg['queueList'], "next_offset" => $next_offset); |
|
| 134 | 134 | } |
| 135 | 135 | |
| 136 | 136 | |
@@ -173,8 +173,8 @@ discard block |
||
| 173 | 173 | } |
| 174 | 174 | |
| 175 | 175 | return array("totalCoult" => $resp['totalCount'], |
| 176 | - "topicList" => $resp['topicList'], |
|
| 177 | - "next_offset" => $next_offset); |
|
| 176 | + "topicList" => $resp['topicList'], |
|
| 177 | + "next_offset" => $next_offset); |
|
| 178 | 178 | } |
| 179 | 179 | |
| 180 | 180 | |