Total processing time: 43 ms; Peak memory: 5.036 MB. Show Profiling Timeline
Time | Duration | Category | Info |
---|---|---|---|
17:44:00.069 | 20.5 ms | yii\db\Command::query | SELECT "object_id", count(*) as comment FROM "a57be577deb434"."tbl_comments" WHERE ("object_type"=14) AND ("object_id"=6126) GROUP BY "object_id" |
17:44:00.055 | 2.7 ms | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "access_token"='c1glbS3oPWuii9fAd_nsZY9pK1ntZvhw' |
17:44:00.054 | 1.9 ms | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
17:44:00.062 | 1.5 ms | yii\db\Command::query | SELECT c.*, CASE WHEN count(cm.id) != 0 THEN 1 ELSE null END as mp_open_id FROM "a57be577deb434"."tbl_contacts" "c" LEFT JOIN "a57be577deb434"."tbl_contact_mobiles" "cm" ON c.id = cm.contact_id AND cm.mp_open_id IS NOT NULL WHERE "c"."id"='6126' GROUP BY "c"."id" |
17:44:00.092 | 1.4 ms | 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', 5446, 6, 169, 'v2/contact/get-edit', '{"id":"6126","posttime":"1756460640","access_token":"c1glbS3oPWuii9fAd_nsZY9pK1ntZvhw","device_type":"6","version_code":"169","token":"5ff7119088e6e1371431b52926d07c83"}', '{"code":200,"data":{"model":{"id":6126,"name":"a","email":"","pinyin_shortcut":"a","sex":"M","birth_date":null,"department":"","job_position":"","mobile":"","telephone":"","client_id":null,"supplier_id":718,"created_by":5446,"created_at":"2025-08-29 17:43:04","updated_at":"2025-08-29 17:43:59","user_status":2,"description":"VV\u54c8\u54c8","contact_type":"2","contact_attitude":null,"telephone_area_code":"","telephone_extension_number":"","mp_open_id":null,"pinyin1":"a","pinyin2":null,"pinyin3":null,"pinyin4":null,"namecut1":"a","namecut2":null,"namecut3":null,"namecut4":null,"is_mp_bind":false,"client":null,"supplier":{"id":718,"name":"\u5317\u4eac\u7406\u60f3\u4e91\u5929\u79d1\u6280\u6709\u9650\u516c\u53f8","abbr":null,"pinyin_shortcut":"bjlxytkjyxgs","main_products":"\u8054\u60f3\u670d\u52a1\u5668","company_nature":4,"website":"","established_at":"2009-03-18","capital":200,"corp_rep":"\u7f57\u4e3d\u82b3","reg_address":null,"telephone":"010-62551599","fax":"","description":"\u4f01\u4e1a\u540d\u79f0\uff1a\u5317\u4eac\u7406\u60f3\u4e91\u5929\u79d1\u6280\u6709\u9650\u516c\u53f8 \n\u4f01\u4e1a\u7a0e\u53f7\uff1a91110108686928558U \n\u4f01\u4e1a\u5730\u5740\uff1a\u5317\u4eac\u5e02\u6d77\u6dc0\u533a\u82cf\u5dde\u885720\u53f7\u96622\u53f7\u697c\u4e09\u5c423038 \n\u7535\u8bdd\u53f7\u7801\uff1a010-62551599 \n\u5f00\u6237\u94f6\u884c\uff1a\u4e2d\u56fd\u5de5\u5546\u94f6\u884c\u6d77\u6dc0\u652f\u884c\u8425\u4e1a\u90e8 \n\u94f6\u884c\u8d26\u6237\uff1a0200049609200565967","main_contact":null,"created_by":1011,"created_at":"2025-08-01 13:22:33","updated_at":"2025-08-01 13:22:33","working_address":4228,"capital_currency":"rmb","payment_cycle":"30\u5929","account_number":"\u5f00\u6237\u94f6\u884c\uff1a\u4e2d\u56fd\u5de5\u5546\u94f6\u884c\u6d77\u6dc0\u652f\u884c\u8425\u4e1a\u90e8 \n\u94f6\u884c\u8d26\u6237\uff1a0200049609200565967"},"mobiles":[{"id":6906,"contact_id":6126,"mobile":"13333333333","mp_open_id":null,"mobile_display":"13333333333"}],"keyRoles":[],"createdBy":{"id":5446,"key":5446,"name":"\u5218\u5a1f","sex":"F","avatar":{"id":164,"user_id":5446,"name":"\/files\/cdn\/a57be577deb434\/avatar\/5631bbfb-fa6e-308e-b87c-b159e8042209.jpg"}},"contactKeyRoles":[],"contactAttitude":null,"commentCount":null,"bind_status":0,"bind_status_display":"\u672a\u8ba4\u8bc1","name_display":"a","can_update":true,"can_delete":false},"options":[{"key":"Contacts[user_status]","name":"\u7528\u6237\u72b6\u6001","value":[{"key":1,"name":"\u79bb\u804c"},{"key":2,"name":"\u5728\u804c"},{"key":3,"name":"\u5931\u8054"}]},{"key":"Contacts[sex]","name":"sex","value":[{"key":"M","name":"\u7537"},{"key":"F","name":"\u5973"}]},{"key":"Contacts[contact_attitude]","name":"\u5ba2\u6237\u5173\u7cfb","value":[{"key":"","name":"(\u4e0d\u660e\u786e)"},{"key":"2","name":"\u652f\u6301"},{"key":"1","name":"\u4e2d\u7acb"},{"key":"0","name":"\u53cd\u5bf9"}]}]},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}]}', FALSE, '2025-08-29 17:44:00') RETURNING "id" |
17:44:00.059 | 1.3 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5446 |
17:44:00.064 | 0.6 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_suppliers" WHERE "id"=718 |
17:44:00.067 | 0.5 ms | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=11) AND ("id" IN (1, 184, 349)) ORDER BY "sort" |
17:44:00.067 | 0.5 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id"=6126 |
17:44:00.091 | 0.5 ms | yii\db\Command::query | SELECT "id" AS "key", "status" AS "name" FROM "a57be577deb434"."tbl_contact_statuses" |
17:44:00.065 | 0.4 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_contact_mobiles" WHERE "contact_id"=6126 |
17:44:00.066 | 0.4 ms | yii\db\Command::query | SELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id"=5446) |
17:44:00.065 | 0.3 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_contact_key_roles" WHERE "contact_id"=6126 ORDER BY "key_role" |
17:44:00.066 | 0.2 ms | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "sex" FROM "a57be577deb434"."tbl_users" WHERE "id"=5446 |
17:44:00.068 | 0.2 ms | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=12) AND ("id" IN (1, 184, 349)) ORDER BY "sort" |
17:44:00.068 | 0.2 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id"=6126 |