Log Messages

总计48条数据
TimeLevelCategoryMessage
 
09:35:39.252traceyii\base\Application::bootstrapBootstrap with yii\log\Dispatcher
09:35:39.252traceyii\base\Module::getModuleLoading module: debug
09:35:39.252traceyii\base\Application::bootstrapBootstrap with yii\debug\Module::bootstrap()
09:35:39.252traceyii\redis\Connection::openOpening redis DB connection: redis.server.local:6379, database=1
09:35:39.253traceyii\redis\Connection::executeCommandExecuting Redis Command: SELECT
09:35:39.253traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:35:39.253traceyii\base\Module::getModuleLoading module: gii
09:35:39.253traceyii\base\Application::bootstrapBootstrap with yii\gii\Module::bootstrap()
09:35:39.253traceyii\web\UrlManager::parseRequestNo matching URL rules. Using default URL parsing logic.
09:35:39.253traceyii\web\Application::handleRequestRoute requested: 'v2/search/work-log-by-self'
09:35:39.253traceyii\base\Module::getModuleLoading module: v2
09:35:39.253infoyii\web\Session::openSession started
09:35:39.254infoyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta
09:35:39.256infoyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "access_token"='gIBfXHaGAAjf2tBIfgqsDfRNPly9E9om'
09:35:39.259traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:35:39.259traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:35:39.259traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:35:39.259traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:35:39.259infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
09:35:39.261traceyii\base\Controller::runActionRoute to run: v2/search/work-log-by-self
09:35:39.261traceyii\base\InlineAction::runWithParamsRunning action: app\modules\v2\controllers\SearchController::actionWorkLogBySelf()
09:35:39.262traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:35:39.262traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:35:39.264infoyii\db\Command::querySELECT COUNT(*) FROM (SELECT s.*, s.end_at - s.start_at AS hours_spent FROM "a57be577deb434"."tbl_work_logs" "s" LEFT JOIN "a57be577deb434"."tbl_clients" "client" ON client.id = s.client_id AND client.deleted = FALSE LEFT JOIN "a57be577deb434"."tbl_projects" "p" ON "p"."id" = "s"."project_id" LEFT JOIN "a57be577deb434"."tbl_users" "u" ON "u"."id" = "s"."created_by" LEFT JOIN "a57be577deb434"."tbl_work_log_verify_rels" "rvr" ON rvr.work_log_id = s.id LEFT JOIN "a57be577deb434"."tbl_work_log_carbon_copy_rels" "ccr" ON ccr.work_log_id = s.id WHERE ("is_draft"=FALSE) AND ("s"."created_by"=1000) AND ("s"."client_id"='1661') AND ("s"."project_id"='1791') GROUP BY "s"."id" ORDER BY "is_draft" DESC, "s"."end_at" DESC, "s"."updated_at" DESC) "c"
09:35:39.275infoyii\db\Command::querySELECT s.*, s.end_at - s.start_at AS hours_spent FROM "a57be577deb434"."tbl_work_logs" "s" LEFT JOIN "a57be577deb434"."tbl_clients" "client" ON client.id = s.client_id AND client.deleted = FALSE LEFT JOIN "a57be577deb434"."tbl_projects" "p" ON "p"."id" = "s"."project_id" LEFT JOIN "a57be577deb434"."tbl_users" "u" ON "u"."id" = "s"."created_by" LEFT JOIN "a57be577deb434"."tbl_work_log_verify_rels" "rvr" ON rvr.work_log_id = s.id LEFT JOIN "a57be577deb434"."tbl_work_log_carbon_copy_rels" "ccr" ON ccr.work_log_id = s.id WHERE ("is_draft"=FALSE) AND ("s"."created_by"=1000) AND ("s"."client_id"='1661') AND ("s"."project_id"='1791') GROUP BY "s"."id" ORDER BY "is_draft" DESC, "s"."end_at" DESC, "s"."updated_at" DESC LIMIT 20
09:35:39.280infoyii\db\Command::querySELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
09:35:39.281infoyii\db\Command::querySELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id"=1000)
09:35:39.281infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_departments" WHERE "id"=10
09:35:39.282infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_work_log_scenario_options" WHERE "id"=73
09:35:39.282infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_work_log_scenarios" WHERE "id"=1
09:35:39.283infoyii\db\Command::querySELECT "id", "id" AS "key", "name", "client_class", "logo", "sales_rep" FROM "a57be577deb434"."tbl_clients" WHERE "id"=1661
09:35:39.284infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
09:35:39.284infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_client_classes" WHERE "id"=43
09:35:39.285infoyii\db\Command::querySELECT "id", "id" AS "key", "project_title" AS "name" FROM "a57be577deb434"."tbl_projects" WHERE "id"=1791
09:35:39.285infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_work_log_contacts" WHERE "work_log_id"=38038
09:35:39.290infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_contacts" WHERE "id"=3164
09:35:39.292infoyii\db\Command::querySELECT "object_id", count(*) as comment FROM "a57be577deb434"."tbl_comments" WHERE ("object_type"=19) AND ("object_id"=38038) GROUP BY "object_id"
09:35:39.314infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=18) AND ("object_id"=38038)
09:35:39.316infoyii\db\Command::querySELECT id, geolocation[0] AS lng, geolocation[1] AS lat, address, updated_at as time FROM "a57be577deb434"."tbl_location" WHERE "id"=20180
09:35:39.318infoyii\db\Command::querySELECT id, geolocation[0] AS lng, geolocation[1] AS lat, address, updated_at as time FROM "a57be577deb434"."tbl_location" WHERE "id"=20181
09:35:39.318infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=101) AND ("object_id"=38038)
09:35:39.320infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_work_log_carbon_copy_rels" WHERE "work_log_id"=38038
09:35:39.321infoyii\db\Command::querySELECT "object_id", count(*) AS unread FROM "a57be577deb434"."tbl_unread_comments" WHERE ("object_type"=19) AND (remind_user_id = 1000 AND is_read = false) AND ("object_id"=38038) GROUP BY "object_id"
09:35:39.339traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:35:39.339traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:35:39.340traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:35:39.341traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:35:39.341infoyii\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', 1000, 0, 266, 'v2/search/work-log-by-self', '{"project_id":"1791","access_token":"gIBfXHaGAAjf2tBIfgqsDfRNPly9E9om","client_id":"1661","device_type":"0","version_code":"266","page":"1","token":"ed7ca154ca72d5b62cf56abf34ed3ee5","posttime":"1757554539"}', '{"code":200,"data":{"list":[{"id":38038,"client_id":1661,"scenario_id":1,"scenario_option_id":73,"end_at":"2025-09-10 14:14:16","created_by":1000,"created_at":"2025-09-10 14:14:17","updated_at":"2025-09-10 14:14:17","start_at":"2025-09-10 14:14:04","description":"\u98de\u98de\u98de","escort":"","is_draft":false,"location_id":"","project_id":1791,"location_in_id":20180,"location_out_id":20181,"status":0,"indistance":4330,"outdistance":4329,"hours_spent":"00:00:12","createdBy":{"id":1000,"key":1000,"name":"\u66f9\u6c38\u751f","sex":"M","department_id":10,"avatar":{"id":1,"user_id":1000,"name":"\/files\/cdn\/a57be577deb434\/avatar\/80759bee-0611-3ad4-bb4a-30d802dd0032.png"},"department":{"id":10,"key":10,"name":"\u8f6f\u4ef6\u5f00\u53d1"}},"location":{},"scenarioOption":{"id":73,"key":73,"name":"\u552e\u540e\u670d\u52a1"},"scenarios":{"id":1,"key":1,"name":"\u9500\u552e\u65e5\u5fd7"},"client":{"id":1661,"key":1661,"name":"\u5317\u4eac\u7f51\u4fe1\u5143\u79d1\u6280\u6709\u9650\u516c\u53f8","client_class":43,"logo":"","sales_rep":1001,"salesRep":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda"},"clientClass":{"id":43,"key":43,"name":"\u6f5c\u529b\u5ba2\u6237"}},"project":{"id":1791,"key":1791,"name":"\u706b\u773c5500VX\u91c7\u8d2d\u9879\u76ee"},"workLogContacts":[{"id":3164,"key":3164,"name":"\u90ed\u65fa"}],"commentCount":{"object_id":38038,"comment":5},"attachmentRelationships":[],"locationIn":{"id":20180,"lng":"116.28903","lat":"39.960309","address":"\u5317\u4eac\u5e02\u6d77\u6dc0\u533a\u897f\u9876\u8def2\u53f7\u9760\u8fd1\u91d1\u6e90\u65f6\u4ee3\u5546\u52a1\u4e2d\u5fc3","time":"2025-09-10 14:14:04"},"locationOut":{"id":20181,"lng":"116.289030715117","lat":"39.9603156418443","address":"\u5317\u4eac\u5e02\u6d77\u6dc0\u533a\u897f\u9876\u8def2\u53f7\u9760\u8fd1\u91d1\u6e90\u65f6\u4ee3\u5546\u52a1\u4e2d\u5fc3","time":"2025-09-10 14:14:16"},"files":[],"workLogCarbonCopyRels":[],"unreadComments":{},"hours_spent_display":"0\u5206\u949f","can_update":true,"can_delete":true,"bgcolor":"#89c541"}],"can_create":true,"pagenation":{"totalcount":1,"thispage":1,"pagesize":20}},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}]}', FALSE, '2025-09-11 09:35:39') RETURNING "id"