更新
This commit is contained in:
parent
a44364f031
commit
924c2a9019
@ -40,7 +40,7 @@ class RetailOrderList extends BaseAdminDataLists implements ListsSearchInterface
|
||||
* @throws \think\db\exception\ModelNotFoundException
|
||||
* @date 2024/04/27 11:26
|
||||
*/
|
||||
public function lists($where=[]): array
|
||||
public function lists(): array
|
||||
{
|
||||
$userId=$this->request->userId;
|
||||
if(!$userId) return [];
|
||||
|
@ -11,13 +11,11 @@
|
||||
* @link http://www.workerman.net/
|
||||
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||
*/
|
||||
use function DI\env;
|
||||
|
||||
return [
|
||||
'default' => [
|
||||
'host' => '127.0.0.1',
|
||||
'password' => '',
|
||||
'port' => 6379,
|
||||
'database' => 1,
|
||||
'host' =>getenv('REDIS_HOST'),
|
||||
'password' => getenv('REDIS_PASSWORD'),
|
||||
'port' => getenv('REDIS_PORT'),
|
||||
'database' => getenv('REDIS_DB'),
|
||||
],
|
||||
];
|
||||
|
@ -13,7 +13,7 @@
|
||||
*/
|
||||
|
||||
return [
|
||||
'listen' => 'http://0.0.0.0:8787',
|
||||
'listen' => 'http://0.0.0.0:8596',
|
||||
'transport' => 'tcp',
|
||||
'context' => [],
|
||||
'name' => 'webman',
|
||||
|
Loading…
x
Reference in New Issue
Block a user