Commit 8c34ddb9 by liwotianname

brargain limit pollconfig 更改

parent 009cf7f9
...@@ -22,7 +22,7 @@ class StateLessPoolConfig extends PoolProperties ...@@ -22,7 +22,7 @@ class StateLessPoolConfig extends PoolProperties
public function __construct() public function __construct()
{ {
// 区别本地和线上的RPC服务地址 // 区别本地和线上的RPC服务地址
$this->uri = explode(',', env('RPC_STATELESS_URI', 'stateless:8399')); $this->uri = explode(',', env('RPC_STATELESS_URI', 'stateless:8099'));
} }
protected $name = 'stateless'; protected $name = 'stateless';
......
<?php <?php
/**
* This file is part of Swoft.
*
* @link https://swoft.org
* @document https://doc.swoft.org
* @contact group@swoft.org
* @license https://github.com/swoft-cloud/swoft/blob/master/LICENSE
*/
namespace Hdll\Services\LimitTimeBuy\Lib; namespace Hdll\Services\StateLess\Lib;
use Swoft\Core\ResultInterface; use Swoft\Core\ResultInterface;
...@@ -25,7 +17,5 @@ interface StatelessInterface ...@@ -25,7 +17,5 @@ interface StatelessInterface
* @param $store_id * @param $store_id
* @return bool * @return bool
*/ */
public function checktoken($formtoken,$store_id); public function checktoken(string $formtoken,int $store_id);
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment