15:44:13.884 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
15:44:13.884 | trace | yii\base\Module::getModule | Loading module: debug |
15:44:13.885 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
15:44:13.885 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
15:44:13.885 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
15:44:13.885 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
15:44:13.885 | trace | yii\base\Module::getModule | Loading module: gii |
15:44:13.885 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
15:44:13.885 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
15:44:13.885 | trace | yii\web\Application::handleRequest | Route requested: 'v2/search/client-by-name-with-sales-rep' |
15:44:13.885 | trace | yii\base\Module::getModule | Loading module: v2 |
15:44:13.886 | info | yii\web\Session::open | Session started |
15:44:13.886 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
15:44:13.888 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "access_token"='gIBfXHaGAAjf2tBIfgqsDfRNPly9E9om' |
15:44:13.891 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
15:44:13.891 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
15:44:13.892 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
15:44:13.892 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
15:44:13.892 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
15:44:13.893 | trace | yii\base\Controller::runAction | Route to run: v2/search/client-by-name-with-sales-rep |
15:44:13.894 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\v2\controllers\SearchController::actionClientByNameWithSalesRep() |
15:44:13.894 | info | yii\db\Command::query | SELECT "c"."id" AS "key", "c"."name", "u"."name" AS "sales_rep_name" FROM "a57be577deb434"."tbl_clients" "c" LEFT JOIN "a57be577deb434"."tbl_users" "u" ON c.sales_rep = u.id WHERE (("c"."name" ILIKE '%北京网信元科技有限公司%') OR ("c"."pinyin_shortcut" ILIKE '%北京网信元科技有限公司%')) AND (1 = 1) AND ("c"."deleted"=FALSE) AND ("c"."sales_rep" IS NOT NULL) LIMIT 20 |
15:44:13.897 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
15:44:13.897 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
15:44:13.897 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
15:44:13.897 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
15:44:13.897 | info | yii\db\Command::query | INSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "version_code", "url", "request", "response", "php_error", "time") VALUES (200, 'a57be577deb434', 1000, 0, 266, 'v2/search/client-by-name-with-sales-rep', '{"access_token":"gIBfXHaGAAjf2tBIfgqsDfRNPly9E9om","device_type":"0","version_code":"266","name":"\u5317\u4eac\u7f51\u4fe1\u5143\u79d1\u6280\u6709\u9650\u516c\u53f8","token":"7fe5cf1bd519bf2a29eaa65d9d203101","posttime":"1757490254","is_self":"1"}', '{"code":200,"data":[{"key":1661,"name":"\u5317\u4eac\u7f51\u4fe1\u5143\u79d1\u6280\u6709\u9650\u516c\u53f8","sales_rep_name":"\u5218\u4eba\u8bda"}],"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}]}', FALSE, '2025-09-10 15:44:13') RETURNING "id" |