12:39:35.011 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
12:39:35.011 | trace | yii\base\Module::getModule | Loading module: debug |
12:39:35.011 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
12:39:35.012 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
12:39:35.012 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
12:39:35.012 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
12:39:35.012 | trace | yii\base\Module::getModule | Loading module: gii |
12:39:35.012 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
12:39:35.012 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
12:39:35.012 | trace | yii\web\Application::handleRequest | Route requested: 'v2/search/client-by-name-with-sales-rep' |
12:39:35.012 | trace | yii\base\Module::getModule | Loading module: v2 |
12:39:35.013 | info | yii\web\Session::open | Session started |
12:39:35.014 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
12:39:35.016 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "access_token"='rpAaho7HBg3VJ1vNP7yVtm0Uw5j2xu-u' |
12:39:35.019 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
12:39:35.019 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
12:39:35.019 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
12:39:35.019 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
12:39:35.019 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
12:39:35.021 | trace | yii\base\Controller::runAction | Route to run: v2/search/client-by-name-with-sales-rep |
12:39:35.021 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\v2\controllers\SearchController::actionClientByNameWithSalesRep() |
12:39:35.021 | 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 |
12:39:35.024 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
12:39:35.024 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
12:39:35.025 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
12:39:35.025 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
12:39:35.025 | 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, 261, 'v2/search/client-by-name-with-sales-rep', '{"access_token":"rpAaho7HBg3VJ1vNP7yVtm0Uw5j2xu-u","device_type":"0","version_code":"261","name":"\u5317\u4eac\u4e1c\u65b9\u8ba1\u91cf\u6d4b\u8bd5\u7814\u7a76\u6240","token":"cb357d659e9236c1080202387225ecbf","posttime":"1750999174","is_self":"1"}', '{"code":200,"data":[{"key":1121,"name":"\u5317\u4eac\u4e1c\u65b9\u8ba1\u91cf\u6d4b\u8bd5\u7814\u7a76\u6240","sales_rep_name":"\u9b4f\u6cfd\u6587"}],"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}]}', FALSE, '2025-06-27 12:39:35') RETURNING "id" |