Commit 065ad85c authored by hj's avatar hj

更新

parent 04330a89
...@@ -37,7 +37,7 @@ class CustomerController extends Controller ...@@ -37,7 +37,7 @@ class CustomerController extends Controller
$customer = $this->chemsiteCustomerService->getCustomerByNumber($customerCode); $customer = $this->chemsiteCustomerService->getCustomerByNumber($customerCode);
return Response::success($this->formatKeysfromArray($customer),'操作成功'); return Response::success($this->formatKeysfromArray($customer),'操作成功');
}catch(\Throwable $exception){ }catch(\Throwable $exception){
return $this->returnErrorExecptionResponse($exception,'获取订单列表失败'); return $this->returnErrorExecptionResponse($exception);
} }
} }
......
...@@ -91,6 +91,21 @@ return [ ...@@ -91,6 +91,21 @@ return [
'engine' => env('RHAWN_DB_ENGINE', null), 'engine' => env('RHAWN_DB_ENGINE', null),
'timezone' => env('RHAWN_DB_TIMEZONE', '+00:00'), 'timezone' => env('RHAWN_DB_TIMEZONE', '+00:00'),
], ],
'chemsite_mysql' => [
'driver' => 'mysql',
'host' => env('CHEMSITE_DB_HOST', '127.0.0.1'),
'port' => env('CHEMSITE_DB_PORT', 3306),
'database' => env('CHEMSITE_DB_DATABASE', 'forge'),
'username' => env('CHEMSITE_DB_USERNAME', 'forge'),
'password' => env('CHEMSITE_DB_PASSWORD', ''),
'unix_socket' => env('CHEMSITE_DB_SOCKET', ''),
'charset' => env('CHEMSITE_DB_CHARSET', 'utf8mb4'),
'collation' => env('CHEMSITE_DB_COLLATION', 'utf8mb4_unicode_ci'),
'prefix' => env('CHEMSITE_DB_PREFIX', ''),
'strict' => env('CHEMSITE_DB_STRICT_MODE', true),
'engine' => env('CHEMSITE_DB_ENGINE', null),
'timezone' => env('CHEMSITE_DB_TIMEZONE', '+00:00'),
],
'pgsql' => [ 'pgsql' => [
'driver' => 'pgsql', 'driver' => 'pgsql',
......
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