@@ -84,17 +84,17 @@ discard block |
||
84 | 84 | /** |
85 | 85 | * 异步云处理接口地址 |
86 | 86 | */ |
87 | - const ED_VIDEO = 'p0.api.upyun.com'; |
|
87 | + const ED_VIDEO = 'p0.api.upyun.com'; |
|
88 | 88 | |
89 | 89 | /** |
90 | 90 | * 刷新接口地址 |
91 | 91 | */ |
92 | - const ED_PURGE = 'http://purge.upyun.com/purge/'; |
|
92 | + const ED_PURGE = 'http://purge.upyun.com/purge/'; |
|
93 | 93 | |
94 | 94 | /** |
95 | 95 | * 同步视频处理接口地址 |
96 | 96 | */ |
97 | - const ED_SYNC_VIDEO = 'p1.api.upyun.com'; |
|
97 | + const ED_SYNC_VIDEO = 'p1.api.upyun.com'; |
|
98 | 98 | |
99 | 99 | public function __construct($serviceName, $operatorName, $operatorPassword) |
100 | 100 | { |
@@ -113,7 +113,7 @@ discard block |
||
113 | 113 | |
114 | 114 | public function getFormApiKey() |
115 | 115 | { |
116 | - if (! $this->formApiKey) { |
|
116 | + if (!$this->formApiKey) { |
|
117 | 117 | throw new \Exception('form api key is empty.'); |
118 | 118 | } |
119 | 119 | |
@@ -132,12 +132,12 @@ discard block |
||
132 | 132 | |
133 | 133 | public function getPretreatEndPoint() |
134 | 134 | { |
135 | - return $this->getProtocol() . self::ED_VIDEO; |
|
135 | + return $this->getProtocol().self::ED_VIDEO; |
|
136 | 136 | } |
137 | 137 | |
138 | 138 | public function getSyncVideoEndPoint() |
139 | 139 | { |
140 | - return $this->getProtocol() . self::ED_SYNC_VIDEO; |
|
140 | + return $this->getProtocol().self::ED_SYNC_VIDEO; |
|
141 | 141 | } |
142 | 142 | |
143 | 143 | public function getProtocol() |