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