Commit e17db05b633f4c2c0f8e986c7d879c899e3901c9
1 parent
4d12589b
移除30010状态码,非token失效
Showing
1 changed file
with
1 additions
and
1 deletions
src/Hris.php
... | ... | @@ -202,7 +202,7 @@ class Hris |
202 | 202 | $result = $response->json(true); |
203 | 203 | $this->log($result, 'Result'); |
204 | 204 | if (!isset($result['code']) || $result['code'] != 200) { |
205 | - if (isset($result['code']) && ($result['code'] == '3001' || $result['code'] == '30010')) { | |
205 | + if (isset($result['code']) && ($result['code'] == '3001')) { | |
206 | 206 | // token 无效,尝试重新刷新 token |
207 | 207 | $this->log($tryCount, 'Try count'); |
208 | 208 | return $this->apiRequest($method, $path, $data, true); | ... | ... |