@@ -83,7 +83,7 @@ |
||
| 83 | 83 | $data['msgtype'] = $this->msg_type; |
| 84 | 84 | } |
| 85 | 85 | $result = HttpService::instance() |
| 86 | - ->url("{$this->oapi_url}robot/send?access_token=" . $this->access_token) |
|
| 86 | + ->url("{$this->oapi_url}robot/send?access_token=".$this->access_token) |
|
| 87 | 87 | ->data($data) |
| 88 | 88 | ->post() |
| 89 | 89 | ->toArray(); |
@@ -135,7 +135,7 @@ discard block |
||
| 135 | 135 | $result = Db::table($this->table) |
| 136 | 136 | ->where('cache_name', $this->cache_name) |
| 137 | 137 | ->update([ |
| 138 | - 'cache_value' => $cache_value + $int |
|
| 138 | + 'cache_value' => $cache_value+$int |
|
| 139 | 139 | ]); |
| 140 | 140 | return $result ? true : false; |
| 141 | 141 | } |
@@ -153,7 +153,7 @@ discard block |
||
| 153 | 153 | $result = Db::table($this->table) |
| 154 | 154 | ->where('cache_name', $this->cache_name) |
| 155 | 155 | ->update([ |
| 156 | - 'cache_value' => $cache_value - $int |
|
| 156 | + 'cache_value' => $cache_value-$int |
|
| 157 | 157 | ]); |
| 158 | 158 | return $result ? true : false; |
| 159 | 159 | } |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | // | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library |
| 18 | 18 | // +---------------------------------------------------------------------- |
| 19 | 19 | |
| 20 | -declare (strict_types=1); |
|
| 20 | +declare(strict_types=1); |
|
| 21 | 21 | |
| 22 | 22 | namespace DtApp\ThinkLibrary\helper; |
| 23 | 23 | |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | // | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library |
| 18 | 18 | // +---------------------------------------------------------------------- |
| 19 | 19 | |
| 20 | -declare (strict_types=1); |
|
| 20 | +declare(strict_types=1); |
|
| 21 | 21 | |
| 22 | 22 | namespace DtApp\ThinkLibrary\helper; |
| 23 | 23 | |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | // | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library |
| 18 | 18 | // +---------------------------------------------------------------------- |
| 19 | 19 | |
| 20 | -declare (strict_types=1); |
|
| 20 | +declare(strict_types=1); |
|
| 21 | 21 | |
| 22 | 22 | namespace DtApp\ThinkLibrary\facade; |
| 23 | 23 | |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | // | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library |
| 18 | 18 | // +---------------------------------------------------------------------- |
| 19 | 19 | |
| 20 | -declare (strict_types=1); |
|
| 20 | +declare(strict_types=1); |
|
| 21 | 21 | |
| 22 | 22 | namespace DtApp\ThinkLibrary\facade; |
| 23 | 23 | |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | // | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library |
| 18 | 18 | // +---------------------------------------------------------------------- |
| 19 | 19 | |
| 20 | -declare (strict_types=1); |
|
| 20 | +declare(strict_types=1); |
|
| 21 | 21 | |
| 22 | 22 | namespace DtApp\ThinkLibrary\facade; |
| 23 | 23 | |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | // | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library |
| 18 | 18 | // +---------------------------------------------------------------------- |
| 19 | 19 | |
| 20 | -declare (strict_types=1); |
|
| 20 | +declare(strict_types=1); |
|
| 21 | 21 | |
| 22 | 22 | namespace DtApp\ThinkLibrary\facade; |
| 23 | 23 | |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | // | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library |
| 18 | 18 | // +---------------------------------------------------------------------- |
| 19 | 19 | |
| 20 | -declare (strict_types=1); |
|
| 20 | +declare(strict_types=1); |
|
| 21 | 21 | |
| 22 | 22 | namespace DtApp\ThinkLibrary\facade; |
| 23 | 23 | |