@@ -23,9 +23,9 @@ |
||
| 23 | 23 | public function __toString() |
| 24 | 24 | { |
| 25 | 25 | $info = ['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 | |
| 30 | 30 | return json_encode($info); |
| 31 | 31 | } |
@@ -238,7 +238,7 @@ |
||
| 238 | 238 | } |
| 239 | 239 | |
| 240 | 240 | return ['totalCoult' => $resp['totalCount'], |
| 241 | - 'subscriptionList' => $resp['subscriptionList'], |
|
| 242 | - 'next_offset' => $next_offset, ]; |
|
| 241 | + 'subscriptionList' => $resp['subscriptionList'], |
|
| 242 | + 'next_offset' => $next_offset, ]; |
|
| 243 | 243 | } |
| 244 | 244 | } |
@@ -37,8 +37,8 @@ |
||
| 37 | 37 | public function get_info() |
| 38 | 38 | { |
| 39 | 39 | $info = ['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 | |
| 43 | 43 | return json_encode($info); |
| 44 | 44 | } |
@@ -59,19 +59,19 @@ |
||
| 59 | 59 | public function __toString() |
| 60 | 60 | { |
| 61 | 61 | $info = ['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 | |
| 76 | 76 | return json_encode($info); |
| 77 | 77 | } |
@@ -23,8 +23,8 @@ |
||
| 23 | 23 | public function __toString() |
| 24 | 24 | { |
| 25 | 25 | $info = ['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 | } |
@@ -38,12 +38,12 @@ |
||
| 38 | 38 | public function __toString() |
| 39 | 39 | { |
| 40 | 40 | $info = ['msgBody' => $this->msgBody, |
| 41 | - 'msgId' => $this->msgId, |
|
| 42 | - 'enqueueTime' => date('Y-m-d H:i:s', $this->enqueueTime), |
|
| 43 | - 'nextVisibleTime' => date('Y-m-d H:i:s', $this->nextVisibleTime), |
|
| 44 | - 'firstDequeueTime' => date('Y-m-d H:i:s', $this->firstDequeueTime), |
|
| 45 | - 'dequeueCount' => $this->dequeueCount, |
|
| 46 | - 'receiptHandle' => $this->receiptHandle, ]; |
|
| 41 | + 'msgId' => $this->msgId, |
|
| 42 | + 'enqueueTime' => date('Y-m-d H:i:s', $this->enqueueTime), |
|
| 43 | + 'nextVisibleTime' => date('Y-m-d H:i:s', $this->nextVisibleTime), |
|
| 44 | + 'firstDequeueTime' => date('Y-m-d H:i:s', $this->firstDequeueTime), |
|
| 45 | + 'dequeueCount' => $this->dequeueCount, |
|
| 46 | + 'receiptHandle' => $this->receiptHandle, ]; |
|
| 47 | 47 | |
| 48 | 48 | return json_encode($info); |
| 49 | 49 | } |
@@ -129,7 +129,7 @@ discard block |
||
| 129 | 129 | } |
| 130 | 130 | |
| 131 | 131 | return ['totalCount' => $ret_pkg['totalCount'], |
| 132 | - 'queueList' => $ret_pkg['queueList'], 'next_offset' => $next_offset, ]; |
|
| 132 | + 'queueList' => $ret_pkg['queueList'], 'next_offset' => $next_offset, ]; |
|
| 133 | 133 | } |
| 134 | 134 | |
| 135 | 135 | /* 列出Account的主题 |
@@ -171,8 +171,8 @@ discard block |
||
| 171 | 171 | } |
| 172 | 172 | |
| 173 | 173 | return ['totalCoult' => $resp['totalCount'], |
| 174 | - 'topicList' => $resp['topicList'], |
|
| 175 | - 'next_offset' => $next_offset, ]; |
|
| 174 | + 'topicList' => $resp['topicList'], |
|
| 175 | + 'next_offset' => $next_offset, ]; |
|
| 176 | 176 | } |
| 177 | 177 | |
| 178 | 178 | /* 获取Account的一个Topic对象 |
@@ -21,8 +21,8 @@ |
||
| 21 | 21 | public function __toString() |
| 22 | 22 | { |
| 23 | 23 | $info = ['status' => $this->status, |
| 24 | - 'header' => json_encode($this->header), |
|
| 25 | - 'data' => $this->data, ]; |
|
| 24 | + 'header' => json_encode($this->header), |
|
| 25 | + 'data' => $this->data, ]; |
|
| 26 | 26 | |
| 27 | 27 | return json_encode($info); |
| 28 | 28 | } |