This commit is contained in:
mkm 2024-04-30 18:19:45 +08:00
parent a44364f031
commit 924c2a9019
3 changed files with 6 additions and 8 deletions

View File

@ -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 [];

View File

@ -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'),
],
];

View File

@ -13,7 +13,7 @@
*/
return [
'listen' => 'http://0.0.0.0:8787',
'listen' => 'http://0.0.0.0:8596',
'transport' => 'tcp',
'context' => [],
'name' => 'webman',