Log Messages

总计58条数据
TimeLevelCategoryMessage
 
10:02:31.930traceyii\base\Application::bootstrapBootstrap with yii\log\Dispatcher
10:02:31.930traceyii\base\Module::getModuleLoading module: debug
10:02:31.931traceyii\base\Application::bootstrapBootstrap with yii\debug\Module::bootstrap()
10:02:31.935traceyii\redis\Connection::openOpening redis DB connection: redis.server.local:6379, database=1
10:02:31.935traceyii\redis\Connection::executeCommandExecuting Redis Command: SELECT
10:02:31.936traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
10:02:31.936infotime tracing start1784167351936492032
10:02:31.936traceyii\web\UrlManager::parseRequestNo matching URL rules. Using default URL parsing logic.
10:02:31.936traceyii\web\Application::handleRequestRoute requested: 'v2/pre-sales/list'
10:02:31.936traceyii\base\Module::getModuleLoading module: v2
10:02:32.016infoyii\web\Session::openSession started
10:02:32.017infoyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta
10:02:32.018infoyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "access_token"='wXfR6UQn7fW_MTEa9o-7H8Ixg0fJU0Zm'
10:02:32.018traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
10:02:32.019traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
10:02:32.019traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
10:02:32.019traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
10:02:32.020infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
10:02:32.020traceyii\base\Controller::runActionRoute to run: v2/pre-sales/list
10:02:32.021traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
10:02:32.023traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: Admin
10:02:32.023traceyii\base\InlineAction::runWithParamsRunning action: app\modules\v2\controllers\PreSalesController::actionList()
10:02:32.023infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_cases" WHERE "id"='9245'
10:02:32.023traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
10:02:32.023traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
10:02:32.024traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
10:02:32.024traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
10:02:32.024infoyii\db\Command::querySELECT COUNT(*) FROM (SELECT p.*, p.end_at - p.start_at AS hours_spent FROM "a57be577deb434"."tbl_pre_sales" "p" LEFT JOIN "a57be577deb434"."tbl_cases" "c" ON c.id = p.case_id WHERE "case_id"=9245 GROUP BY "p"."id" ORDER BY "is_draft" DESC, "p"."has_following_work" DESC, "p"."end_at" DESC) "c"
10:02:32.026infoyii\db\Command::querySELECT p.*, p.end_at - p.start_at AS hours_spent FROM "a57be577deb434"."tbl_pre_sales" "p" LEFT JOIN "a57be577deb434"."tbl_cases" "c" ON c.id = p.case_id WHERE "case_id"=9245 GROUP BY "p"."id" ORDER BY "is_draft" DESC, "p"."has_following_work" DESC, "p"."end_at" DESC LIMIT 10
10:02:32.028infoyii\db\Command::querySELECT "id", "id" AS "key", "name", "logo", "sales_rep" FROM "a57be577deb434"."tbl_clients" WHERE "id"=2128
10:02:32.028infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_users" WHERE "id"=5087
10:02:32.029infoyii\db\Command::querySELECT "id", "case_status", "client_id", "project_id" FROM "a57be577deb434"."tbl_cases" WHERE "id"=9245
10:02:32.029infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_clients" WHERE "id"=2128
10:02:32.030infoyii\db\Command::querySELECT "id", "id" AS "key", "project_title" AS "name" FROM "a57be577deb434"."tbl_projects" WHERE "id"=4132
10:02:32.030infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2128
10:02:32.031infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_users" WHERE "id"=5087
10:02:32.031infoyii\db\Command::querySELECT "id", "id" AS "key", "name", "sex" FROM "a57be577deb434"."tbl_users" WHERE "id"=1015
10:02:32.032infoyii\db\Command::querySELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id"=1015)
10:02:32.032infoyii\db\Command::querySELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id"=1015
10:02:32.033infoyii\db\Command::querySELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id"=1015)
10:02:32.033infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_departments" WHERE "id"=2
10:02:32.034infoyii\db\Command::querySELECT *, "product_type_id" AS "key", "description" AS "value" FROM "a57be577deb434"."tbl_pre_sales_product_types" WHERE "pre_sales_id"=1940
10:02:32.034infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_contact_attend_pre_sales" WHERE "pre_sales_id"=1940
10:02:32.035infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_contacts" WHERE "id"=5835
10:02:32.035infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=4) AND ("object_id"=1940)
10:02:32.038infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=23) AND ("object_id"=1940)
10:02:32.041infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_services" WHERE "id"=230
10:02:32.042infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_product_brands" WHERE "id"=33
10:02:32.043infoyii\db\Command::querySELECT "id", "id" AS "key", "title" AS "name" FROM "a57be577deb434"."tbl_service_type" WHERE "id"=2
10:02:32.044infoyii\db\Command::querySELECT "object_id", count(*) as comment FROM "a57be577deb434"."tbl_comments" WHERE ("object_type"=4) AND ("object_id"=1940) GROUP BY "object_id"
10:02:32.065infoyii\db\Command::querySELECT "object_id", count(*) AS unread FROM "a57be577deb434"."tbl_unread_comments" WHERE ("object_type"=4) AND (remind_user_id = 1000 AND is_read = false) AND ("object_id"=1940) GROUP BY "object_id"
10:02:32.084infoyii\db\Command::querySELECT "pre_sales_id", sum(amount) as count FROM "a57be577deb434"."tbl_reimbursements" WHERE ("status" IN (1, 2, 3)) AND ("pre_sales_id"=1940) GROUP BY "pre_sales_id"
10:02:32.087infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_reimbursements" WHERE "pre_sales_id"=1940
10:02:32.089traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
10:02:32.090traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
10:02:32.092traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
10:02:32.093traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
10:02:32.093infoyii\db\Command::queryINSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "version_code", "url", "request", "response", "php_error", "time", "duration") VALUES (200, 'a57be577deb434', 1000, 2, 1161, 'v2/pre-sales/list', '{"access_token":"wXfR6UQn7fW_MTEa9o-7H8Ixg0fJU0Zm","device_type":"2","id":"9245","posttime":"1784167296","token":"1e091f1a3a6c788fc4997e005b13ea4c","version_code":"1161"}', '{"code":200,"data":{"list":[{"id":1940,"client_id":2128,"start_at":"2026-04-07 13:00:00","description":"","client_concerns":"","pre_sales_assessment":"","engineer_id":1015,"created_by":1015,"created_at":"2026-04-07 16:13:53","updated_at":"2026-04-07 16:13:53","following_work_content":null,"project_status":null,"end_at":"2026-04-07 15:00:00","has_following_work":false,"location_id":null,"is_draft":0,"case_id":9245,"service_id":230,"location_in_id":null,"location_out_id":null,"ticket_no":"PS260325003001","client_document_id":null,"client_document_file":null,"indistance":999999999,"outdistance":999999999,"hours_spent":"02:00:00","client":{"id":2128,"key":2128,"name":"\u5317\u4eac\u79d1\u6280\u6709\u9650\u516c\u53f8","logo":null,"sales_rep":5087,"salesRep":{"id":5087,"key":5087,"name":"\u5218\u5fae"}},"case":{"id":9245,"case_status":3,"client_id":2128,"project_id":4132,"client":{"id":2128,"key":2128,"name":"\u5317\u4eac\u79d1\u6280\u6709\u9650\u516c\u53f8"},"project":{"id":4132,"key":4132,"name":"AI\u670d\u52a1\u5668\u91c7\u8d2d"}},"salesRep":{"id":5087,"key":5087,"name":"\u5218\u5fae"},"engineer":{"id":1015,"key":1015,"name":"\u5434\u660a","sex":"M","avatar":{"id":12,"user_id":1015,"name":"\/files\/cdn\/a57be577deb434\/avatar\/d69b398a-5951-36e9-a92e-992fe938db26.jpg"}},"createdBy":{"id":1015,"key":1015,"name":"\u5434\u660a","sex":"M","department_id":2,"avatar":{"id":12,"user_id":1015,"name":"\/files\/cdn\/a57be577deb434\/avatar\/d69b398a-5951-36e9-a92e-992fe938db26.jpg"},"department":{"id":2,"key":2,"name":"\u6280\u672f\u90e8"}},"location":null,"locationIn":null,"locationOut":null,"preSalesProductTypes":[],"attendedContacts":[{"id":5835,"key":5835,"name":"\u674e\u5965"}],"attachmentRelationships":[],"files":[],"service":{"id":230,"serial_no":"TOAST01","title":"\u54a8\u8be2\u670d\u52a1","brand_id":33,"type_id":2,"points":50,"points_off_time":50,"points_holiday":100,"description":"\u54a8\u8be2\u670d\u52a1","created_by":1001,"created_at":"2018-09-07 20:03:43","updated_at":"2022-01-04 14:34:32","is_delete":false,"sort":14,"is_stop":false,"brand":{"id":33,"key":33,"name":"Toast"},"type":{"id":2,"key":2,"name":"\u54a8\u8be2\u670d\u52a1"}},"clientDocument":null,"commentCount":{"object_id":1940,"comment":3},"unreadComments":null,"reimbursementCount":null,"reimbursements":[],"hours_spent_display":"2\u5c0f\u65f6","can_update":true,"can_delete":true,"can_complete":false,"can_create_reimbursement":false,"unread":0,"bgcolor":"#89c541","can_location_in":false,"can_location_out":false}],"pagenation":{"totalcount":1,"thispage":1,"pagesize":10},"can_create":false},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}],"ip":"111.9.5.127","ua":"jinchangxiao\/2.3.158 (iPhone 12 mini; iOS 26.2; Scale\/3.00)"}', FALSE, '2026-07-16 10:02:32', 156729856) RETURNING "id"