We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3db7d01 commit 491dc75Copy full SHA for 491dc75
src/Services/BaseService.php
@@ -35,6 +35,13 @@ class BaseService extends StrictObject {
35
public $error;
36
37
38
+ /**
39
+ * 处理结果
40
+ * @var array
41
+ */
42
+ public $result = [];
43
+
44
45
/**
46
* BaseService constructor.
47
* @param array $vars
@@ -104,4 +111,22 @@ public function getErrorInfo(): array {
104
111
}
105
112
106
113
114
115
+ * 设置结果
116
+ * @param array $arr
117
+ * @return void
118
119
+ public function setResult(array $arr): void {
120
+ $this->result = $arr;
121
+ }
122
123
124
125
+ * 获取结果
126
+ * @return array
127
128
+ public function getResult(): array {
129
+ return $this->result;
130
131
107
132
0 commit comments