Log Messages

总计32条数据
TimeLevelCategoryMessage
 
16:16:31.822traceyii\base\Application::bootstrapBootstrap with yii\log\Dispatcher
16:16:31.822traceyii\base\Module::getModuleLoading module: debug
16:16:31.822traceyii\base\Application::bootstrapBootstrap with yii\debug\Module::bootstrap()
16:16:31.822traceyii\redis\Connection::openOpening redis DB connection: redis.server.local:6379, database=1
16:16:31.822traceyii\redis\Connection::executeCommandExecuting Redis Command: SELECT
16:16:31.822traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:16:31.823traceyii\base\Module::getModuleLoading module: gii
16:16:31.823traceyii\base\Application::bootstrapBootstrap with yii\gii\Module::bootstrap()
16:16:31.823traceyii\web\UrlManager::parseRequestNo matching URL rules. Using default URL parsing logic.
16:16:31.823traceyii\web\Application::handleRequestRoute requested: 'v2/project/list'
16:16:31.823traceyii\base\Module::getModuleLoading module: v2
16:16:31.823infoyii\web\Session::openSession started
16:16:31.824infoyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta
16:16:31.826infoyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "access_token"='LpLquexa4MxJRClJNdb9gPVa_MzadLnu'
16:16:31.829traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:16:31.829traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:16:31.829traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:16:31.829traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:16:31.829infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
16:16:31.831traceyii\base\Controller::runActionRoute to run: v2/project/list
16:16:31.831traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:16:31.832traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: Admin
16:16:31.832traceyii\base\InlineAction::runWithParamsRunning action: app\modules\v2\controllers\ProjectController::actionList()
16:16:31.832traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:16:31.832traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:16:31.832traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:16:31.833traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:16:31.834infoyii\db\Command::querySELECT COUNT(*) FROM (SELECT p.*, (p.budget / 100 * p.profit_pct) as profits, now() - status_updated_at as remain, now() - progress_updated_at as progress_remain, now() - forecast_updated_at as forecast_remain, extract(epoch from (now() - max(sl.end_at))) / 86400 AS lost_contact_days, max(sl.end_at) as last_contact, extract(epoch from (now() - max(arrive.end_at))) / 86400 AS last_arrive_days, max(arrive.end_at) as last_arrive, case when p.end_at IS NOT NULL THEN p.end_at - p.created_at ELSE now() - p.created_at END as duration, (SELECT sum(amount) FROM a57be577deb434.tbl_invoices i WHERE i.project_id = p.id) as issued_invoices FROM "a57be577deb434"."tbl_projects" "p" LEFT JOIN "a57be577deb434"."tbl_project_remind_receivers" "prr" ON prr.project_id = p.id LEFT JOIN "a57be577deb434"."tbl_clients" "c" ON p.client_id = c.id LEFT JOIN "a57be577deb434"."tbl_clients" "usedclient" ON p.used_client = usedclient.id LEFT JOIN "a57be577deb434"."tbl_sales_group_relationships" "sgr" ON sgr.sales_id = c.sales_rep LEFT JOIN "a57be577deb434"."tbl_work_logs" "arrive" ON (arrive.project_id = p.id) AND ("arrive"."scenario_id"=1) AND ("arrive"."is_draft"=FALSE) AND ("arrive"."location_in_id" IS NOT NULL) AND ("arrive"."location_out_id" IS NOT NULL) AND ("arrive"."client_id" IS NOT NULL) LEFT JOIN "a57be577deb434"."tbl_work_logs" "sl" ON sl.project_id = p.id LEFT JOIN "a57be577deb434"."tbl_term_taxonomy_relationships" "ttr" ON ttr.object_id = p.id AND ttr.term_id = 10 LEFT JOIN "a57be577deb434"."tbl_term_taxonomy_relationships" "ttr2" ON ttr2.object_id = p.id AND ttr2.term_id = 13 LEFT JOIN "a57be577deb434"."tbl_project_architects" "pa" ON "pa"."project_id" = "p"."id" LEFT JOIN "a57be577deb434"."tbl_engineer_group_relationships" "egr" ON egr.engineer_id = pa.engineer_id WHERE ("c"."deleted"=FALSE) AND (c.id is not null) AND ("pa"."engineer_id"='1001') AND ((c.sales_rep IS NULL) OR ("c"."sales_rep" IN (1001, 5049, 5301, 5022, 5209, 5026, 5293, 5309, 5356, 5329, 5299, 5303, 5302, 5332, 5047, 1026, 5096, 5070, 5448, 5420, 1029, 5037, 5087, 1008, 5048, 5043, 5045, 5230, 5031, 5088, 5208, 1003, 5294, 5357, 5044, 1030, 5076, 5300, 5027, 5089, 5311, 5066, 5069, 5364, 1009, 5295, 1013, 5128, 5203, 1025, 5032, 5075, 1004, 5072, 5033, 5359, 5412, 5409, 5229, 1005, 5304, 5449, 5358, 1006, 5093)) OR ("prr"."user_id"=1001) OR ("c"."id" IN (SELECT "client_id" FROM "a57be577deb434"."tbl_user_visit_clients" WHERE "user_id"=1001))) AND ("c"."sales_rep"='1001') GROUP BY "p"."id" ORDER BY "p"."updated_at" DESC) "c"
16:16:31.840infoyii\db\Command::querySELECT p.*, (p.budget / 100 * p.profit_pct) as profits, now() - status_updated_at as remain, now() - progress_updated_at as progress_remain, now() - forecast_updated_at as forecast_remain, extract(epoch from (now() - max(sl.end_at))) / 86400 AS lost_contact_days, max(sl.end_at) as last_contact, extract(epoch from (now() - max(arrive.end_at))) / 86400 AS last_arrive_days, max(arrive.end_at) as last_arrive, case when p.end_at IS NOT NULL THEN p.end_at - p.created_at ELSE now() - p.created_at END as duration, (SELECT sum(amount) FROM a57be577deb434.tbl_invoices i WHERE i.project_id = p.id) as issued_invoices FROM "a57be577deb434"."tbl_projects" "p" LEFT JOIN "a57be577deb434"."tbl_project_remind_receivers" "prr" ON prr.project_id = p.id LEFT JOIN "a57be577deb434"."tbl_clients" "c" ON p.client_id = c.id LEFT JOIN "a57be577deb434"."tbl_clients" "usedclient" ON p.used_client = usedclient.id LEFT JOIN "a57be577deb434"."tbl_sales_group_relationships" "sgr" ON sgr.sales_id = c.sales_rep LEFT JOIN "a57be577deb434"."tbl_work_logs" "arrive" ON (arrive.project_id = p.id) AND ("arrive"."scenario_id"=1) AND ("arrive"."is_draft"=FALSE) AND ("arrive"."location_in_id" IS NOT NULL) AND ("arrive"."location_out_id" IS NOT NULL) AND ("arrive"."client_id" IS NOT NULL) LEFT JOIN "a57be577deb434"."tbl_work_logs" "sl" ON sl.project_id = p.id LEFT JOIN "a57be577deb434"."tbl_term_taxonomy_relationships" "ttr" ON ttr.object_id = p.id AND ttr.term_id = 10 LEFT JOIN "a57be577deb434"."tbl_term_taxonomy_relationships" "ttr2" ON ttr2.object_id = p.id AND ttr2.term_id = 13 LEFT JOIN "a57be577deb434"."tbl_project_architects" "pa" ON "pa"."project_id" = "p"."id" LEFT JOIN "a57be577deb434"."tbl_engineer_group_relationships" "egr" ON egr.engineer_id = pa.engineer_id WHERE ("c"."deleted"=FALSE) AND (c.id is not null) AND ("pa"."engineer_id"='1001') AND ((c.sales_rep IS NULL) OR ("c"."sales_rep" IN (1001, 5049, 5301, 5022, 5209, 5026, 5293, 5309, 5356, 5329, 5299, 5303, 5302, 5332, 5047, 1026, 5096, 5070, 5448, 5420, 1029, 5037, 5087, 1008, 5048, 5043, 5045, 5230, 5031, 5088, 5208, 1003, 5294, 5357, 5044, 1030, 5076, 5300, 5027, 5089, 5311, 5066, 5069, 5364, 1009, 5295, 1013, 5128, 5203, 1025, 5032, 5075, 1004, 5072, 5033, 5359, 5412, 5409, 5229, 1005, 5304, 5449, 5358, 1006, 5093)) OR ("prr"."user_id"=1001) OR ("c"."id" IN (SELECT "client_id" FROM "a57be577deb434"."tbl_user_visit_clients" WHERE "user_id"=1001))) AND ("c"."sales_rep"='1001') GROUP BY "p"."id" ORDER BY "p"."updated_at" DESC LIMIT 10
16:16:31.846traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:16:31.846traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:16:31.846infoyii\db\Command::queryINSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "version_code", "url", "request", "response", "php_error", "time") VALUES (200, 'a57be577deb434', 1001, 7, 165, 'v2/project/list', '{"ProjectSearch":{"keyword":"","projectProductTypes":"","project_progress":"","project_status":"","engineer_id":"1001","created_by":"1001","salesForecast":"","period":"","from":"","to":""},"page":"1","pagesize":"10","posttime":"1751012191","access_token":"LpLquexa4MxJRClJNdb9gPVa_MzadLnu","device_type":"7","version_code":"165","token":"69a73f286563bf2dd085ceb9dc97e681"}', '{"code":200,"data":{"list":[],"pagenation":{"totalcount":0,"thispage":1,"pagesize":10},"can_create":true},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}]}', FALSE, '2025-06-27 16:16:31') RETURNING "id"