14:18:05.100 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
14:18:05.100 | trace | yii\base\Module::getModule | Loading module: debug |
14:18:05.101 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
14:18:05.101 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
14:18:05.101 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
14:18:05.101 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:18:05.102 | trace | yii\base\Module::getModule | Loading module: gii |
14:18:05.102 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
14:18:05.102 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
14:18:05.102 | trace | yii\web\Application::handleRequest | Route requested: 'v2/approve/verify' |
14:18:05.102 | trace | yii\base\Module::getModule | Loading module: v2 |
14:18:05.103 | info | yii\web\Session::open | Session started |
14:18:05.103 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
14:18:05.106 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "access_token"='Ll7CI5iYtgVyQJHl2tkvnIHNJc9_fUfd' |
14:18:05.110 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:18:05.110 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:18:05.111 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:18:05.111 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:18:05.111 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
14:18:05.113 | trace | yii\base\Controller::runAction | Route to run: v2/approve/verify |
14:18:05.113 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:18:05.115 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
14:18:05.115 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\v2\controllers\ApproveController::actionVerify() |
14:18:05.115 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_approves" WHERE "id"='1731' |
14:18:05.116 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:18:05.116 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:18:05.116 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_approve_verify_rels" WHERE ("status"=0) AND ("approve_id"=1731) ORDER BY "id" |
14:18:05.117 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:18:05.117 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:18:05.117 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:18:05.118 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:18:05.120 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_approve_verify_rels" SET "status"=1, "description"='', "verify_at"='now()' WHERE "id"=2246 |
14:18:05.121 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:18:05.121 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:18:05.121 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\ApproveVerifyRels', 2246, 'a:2:{s:6:"status";i:1;s:9:"verify_at";s:5:"now()";}', '', 1000, '114.254.1.137') |
14:18:05.123 | info | yii\db\Command::query | SELECT COUNT(*) FROM (SELECT * FROM "a57be577deb434"."tbl_approve_verify_rels" WHERE ("status"=0) AND ("approve_id"=1731) ORDER BY "id") "c" |
14:18:05.124 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_approves" SET "status"=2, "verify_at"='now()', "updated_at"='now()' WHERE "id"=1731 |
14:18:05.125 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Approves', 1731, 'a:2:{s:6:"status";i:2;s:9:"verify_at";s:5:"now()";}', '', 1000, '114.254.1.137') |
14:18:05.126 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_approves" WHERE "id"='1731' |
14:18:05.126 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
14:18:05.127 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_approve_verify_rels" WHERE ("status"=0) AND ("approve_id"=1731) ORDER BY "id" |
14:18:05.128 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_approve_carbon_copy_rels" WHERE "approve_id"=1731 |
14:18:05.131 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_approve_verify_rels" WHERE "approve_id"=1731 ORDER BY "id" |
14:18:05.132 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:18:05.132 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:18:05.132 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_approves" WHERE "id"=1731 |
14:18:05.133 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000) |
14:18:05.134 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_comments" ("created_by", "object_type", "object_id", "description", "is_system", "description2") VALUES (1000, '37', 1731, '曹永生 通过了这个审批', TRUE, '不方便吃吧') RETURNING "id" |
14:18:05.135 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\Comments', 170265, 'a:11:{s:2:"id";i:170265;s:9:"object_id";i:1731;s:11:"object_type";s:2:"37";s:6:"parent";N;s:11:"description";s:31:"曹永生 通过了这个审批";s:10:"created_by";i:1000;s:10:"created_at";N;s:8:"reply_to";N;s:9:"is_system";b:1;s:8:"for_user";N;s:12:"description2";s:15:"不方便吃吧";}', '', 1000, '114.254.1.137') |
14:18:05.137 | info | yii\db\Command::query | SELECT "channel_id" FROM "global"."tbl_logins" WHERE (0=1) AND ("id" != 1000) AND (channel_id IS NOT NULL) |
14:18:05.137 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id"=1731 |
14:18:05.138 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=17) AND ("id" IN (231, 213, 128, 179, 181, 166, 184, 200, 317, 374)) |
14:18:05.139 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:18:05.139 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:18:05.139 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2815 |
14:18:05.140 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:18:05.141 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:18:05.141 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3805 |
14:18:05.142 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:18:05.142 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:18:05.143 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: INCR |
14:18:05.143 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: HSET |
14:18:05.143 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: LPUSH |
14:18:05.143 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_approves" SET "next_verify_user"=NULL WHERE "id"=1731 |
14:18:05.144 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Approves', 1731, 'a:0:{}', '', 1000, '114.254.1.137') |
14:18:05.148 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
14:18:05.149 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:18:05.149 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:18:05.149 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "description") VALUES (6, 'status', 1731, 37, 1000, 'now()', '["\u66f9\u6c38\u751f"]', '[]', '{"d1":"\u66f9\u6c38\u751f","d2":"\u540c\u610f\u4e86","d3":"\u5ba1\u6279\u7533\u8bf7","d4":""}') |
14:18:05.151 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2815 |
14:18:05.153 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_clients" SET "updated_at"='now()' WHERE "id"=2815 |
14:18:05.154 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_client_am_change_logs" WHERE ("client_id"=2815) AND ("sales_rep" IS NULL) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
14:18:05.164 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:18:05.164 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:18:05.165 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_client_am_change_logs" ("client_id", "sales_rep", "start_from", "end_at") VALUES (2815, 1004, 'now()', NULL) RETURNING "id" |
14:18:05.166 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ClientAmChangeLogs', 165117, 'a:5:{s:2:"id";i:165117;s:9:"client_id";i:2815;s:9:"sales_rep";i:1004;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 1000, '114.254.1.137') |
14:18:05.167 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Clients', 2815, 'a:0:{}', '', 1000, '114.254.1.137') |
14:18:05.168 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id"=1731 |
14:18:05.168 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=17) AND ("id" IN (231, 213, 128, 179, 181, 166, 184, 200, 317, 374)) |
14:18:05.168 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "target_id", "target_object_type", "created_by", "new_value", "old_value", "description") VALUES (2, 'update', 2815, 10, 1731, 37, 1000, '1731', '1731', '{"d1":"\u66f9\u6c38\u751f","d2":"\u66f4\u65b0\u4e86","d3":"\u5ba1\u6279\u7533\u8bf7","d4":["\u5176\u4ed6"]}') RETURNING "id" |
14:18:05.169 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ObjectChangeLogs', 510086, 'a:13:{s:2:"id";i:510086;s:9:"object_id";i:2815;s:11:"object_type";i:10;s:9:"target_id";i:1731;s:18:"target_object_type";i:37;s:3:"act";i:2;s:9:"attribute";s:6:"update";s:9:"old_value";s:4:"1731";s:9:"new_value";s:4:"1731";s:11:"description";s:107:"{"d1":"\u66f9\u6c38\u751f","d2":"\u66f4\u65b0\u4e86","d3":"\u5ba1\u6279\u7533\u8bf7","d4":["\u5176\u4ed6"]}";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1000, '114.254.1.137') |
14:18:05.170 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3805 |
14:18:05.171 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_projects" SET "updated_at"='now()' WHERE "id"=3805 |
14:18:05.172 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=3805) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
14:18:05.173 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:18:05.174 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:18:05.174 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Projects', 3805, 'a:0:{}', '', 1000, '114.254.1.137') |
14:18:05.174 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2815 |
14:18:05.175 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "target_id", "target_object_type", "created_by", "new_value", "old_value", "description") VALUES (2, 'update', 3805, 1, 1731, 37, 1000, '1731', '1731', '{"d1":"\u66f9\u6c38\u751f","d2":"\u66f4\u65b0\u4e86","d3":"\u5ba1\u6279\u7533\u8bf7","d4":["\u5176\u4ed6"]}') RETURNING "id" |
14:18:05.176 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ObjectChangeLogs', 510087, 'a:13:{s:2:"id";i:510087;s:9:"object_id";i:3805;s:11:"object_type";i:1;s:9:"target_id";i:1731;s:18:"target_object_type";i:37;s:3:"act";i:2;s:9:"attribute";s:6:"update";s:9:"old_value";s:4:"1731";s:9:"new_value";s:4:"1731";s:11:"description";s:107:"{"d1":"\u66f9\u6c38\u751f","d2":"\u66f4\u65b0\u4e86","d3":"\u5ba1\u6279\u7533\u8bf7","d4":["\u5176\u4ed6"]}";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1000, '114.254.1.137') |
14:18:05.177 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3805 |
14:18:05.177 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2815 |
14:18:05.178 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:18:05.178 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:18:05.178 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_user_action_logs" ("act", "attribute", "object_id", "object_type", "target_id", "target_object_type", "created_by", "new_value", "old_value", "users", "description") VALUES (2, 'update', 3805, 1, 1731, 37, 1000, '1731', '1731', array[1004], '{"d1":"\u66f9\u6c38\u751f","d2":"\u66f4\u65b0\u4e86","d3":"\u5ba1\u6279\u7533\u8bf7","d4":["\u5176\u4ed6"]}') RETURNING "id" |
14:18:05.179 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\UserActionLogs', 136974, 'a:15:{s:2:"id";i:136974;s:9:"object_id";i:3805;s:11:"object_type";i:1;s:9:"target_id";i:1731;s:18:"target_object_type";i:37;s:3:"act";i:2;s:9:"attribute";s:6:"update";s:9:"old_value";s:4:"1731";s:9:"new_value";s:4:"1731";s:5:"users";O:17:"yii\db\Expression":2:{s:10:"expression";s:11:"array[1004]";s:6:"params";a:0:{}}s:11:"description";s:107:"{"d1":"\u66f9\u6c38\u751f","d2":"\u66f4\u65b0\u4e86","d3":"\u5ba1\u6279\u7533\u8bf7","d4":["\u5176\u4ed6"]}";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"is_delete";N;s:9:"parent_id";N;}', '', 1000, '114.254.1.137') |
14:18:05.180 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:18:05.180 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:18:05.180 | 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/approve/verify', '{"access_token":"Ll7CI5iYtgVyQJHl2tkvnIHNJc9_fUfd","description":"","device_type":"0","version_code":"261","id":"1731","token":"a16391b54f743c12568758c8fdd795f6","posttime":"1751609886"}', '{"code":200,"data":"","status":1,"msg":[{"name":"success","success":"\u5ba1\u6279\u901a\u8fc7","error":""}]}', FALSE, '2025-07-04 14:18:05') RETURNING "id" |