| 15:56:51.287 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
| 15:56:51.287 | trace | yii\base\Module::getModule | Loading module: debug |
| 15:56:51.288 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
| 15:56:51.288 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
| 15:56:51.288 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
| 15:56:51.288 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 15:56:51.288 | info | time tracing start | 1780559811288645888 |
| 15:56:51.288 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
| 15:56:51.288 | trace | yii\web\Application::handleRequest | Route requested: 'vue/schedule/save-new-description' |
| 15:56:51.288 | trace | yii\base\Module::getModule | Loading module: vue |
| 15:56:51.289 | info | yii\web\Session::open | Session started |
| 15:56:51.289 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
| 15:56:51.289 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
| 15:56:51.290 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 15:56:51.290 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 15:56:51.291 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 15:56:51.291 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 15:56:51.291 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 15:56:51.291 | trace | yii\base\Controller::runAction | Route to run: vue/schedule/save-new-description |
| 15:56:51.292 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 15:56:51.293 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
| 15:56:51.293 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\vue\controllers\ScheduleController::actionSaveNewDescription() |
| 15:56:51.293 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'id' in 'app\models\ScheduleDescriptions'. |
| 15:56:51.293 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 15:56:51.293 | info | yii\db\Command::query | SELECT
d.nspname AS table_schema,
c.relname AS table_name,
a.attname AS column_name,
t.typname AS data_type,
a.attlen AS character_maximum_length,
pg_catalog.col_description(c.oid, a.attnum) AS column_comment,
a.atttypmod AS modifier,
a.attnotnull = false AS is_nullable,
CAST(pg_get_expr(ad.adbin, ad.adrelid) AS varchar) AS column_default,
coalesce(pg_get_expr(ad.adbin, ad.adrelid) ~ 'nextval',false) AS is_autoinc,
array_to_string((select array_agg(enumlabel) from pg_enum where enumtypid=a.atttypid)::varchar[],',') as enum_values,
CASE atttypid
WHEN 21 /*int2*/ THEN 16
WHEN 23 /*int4*/ THEN 32
WHEN 20 /*int8*/ THEN 64
WHEN 1700 /*numeric*/ THEN
CASE WHEN atttypmod = -1
THEN null
ELSE ((atttypmod - 4) >> 16) & 65535
END
WHEN 700 /*float4*/ THEN 24 /*FLT_MANT_DIG*/
WHEN 701 /*float8*/ THEN 53 /*DBL_MANT_DIG*/
ELSE null
END AS numeric_precision,
CASE
WHEN atttypid IN (21, 23, 20) THEN 0
WHEN atttypid IN (1700) THEN
CASE
WHEN atttypmod = -1 THEN null
ELSE (atttypmod - 4) & 65535
END
ELSE null
END AS numeric_scale,
CAST(
information_schema._pg_char_max_length(information_schema._pg_truetypid(a, t), information_schema._pg_truetypmod(a, t))
AS numeric
) AS size,
a.attnum = any (ct.conkey) as is_pkey
FROM
pg_class c
LEFT JOIN pg_attribute a ON a.attrelid = c.oid
LEFT JOIN pg_attrdef ad ON a.attrelid = ad.adrelid AND a.attnum = ad.adnum
LEFT JOIN pg_type t ON a.atttypid = t.oid
LEFT JOIN pg_namespace d ON d.oid = c.relnamespace
LEFT join pg_constraint ct on ct.conrelid=c.oid and ct.contype='p'
WHERE
a.attnum > 0 and t.typname != ''
and c.relname = 'tbl_schedule_descriptions'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
| 15:56:51.320 | info | yii\db\Command::query | select
ct.conname as constraint_name,
a.attname as column_name,
fc.relname as foreign_table_name,
fns.nspname as foreign_table_schema,
fa.attname as foreign_column_name
from
(SELECT ct.conname, ct.conrelid, ct.confrelid, ct.conkey, ct.contype, ct.confkey, generate_subscripts(ct.conkey, 1) AS s
FROM pg_constraint ct
) AS ct
inner join pg_class c on c.oid=ct.conrelid
inner join pg_namespace ns on c.relnamespace=ns.oid
inner join pg_attribute a on a.attrelid=ct.conrelid and a.attnum = ct.conkey[ct.s]
left join pg_class fc on fc.oid=ct.confrelid
left join pg_namespace fns on fc.relnamespace=fns.oid
left join pg_attribute fa on fa.attrelid=ct.confrelid and fa.attnum = ct.confkey[ct.s]
where
ct.contype='f'
and c.relname='tbl_schedule_descriptions'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
| 15:56:51.332 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 15:56:51.333 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
| 15:56:51.333 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_schedules" WHERE "id"='18361' |
| 15:56:51.333 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 15:56:51.333 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 15:56:51.333 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking permission: createSchedule |
| 15:56:51.333 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: StoreKeeper |
| 15:56:51.333 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Operator |
| 15:56:51.333 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: TechDirector |
| 15:56:51.333 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Engineer |
| 15:56:51.333 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: ProjectManager |
| 15:56:51.333 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: 电话销售 |
| 15:56:51.333 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: AccountManager |
| 15:56:51.333 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_schedules" WHERE "id"='18361') |
| 15:56:51.334 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_schedule_descriptions" ("schedule_id", "description", "created_at") VALUES (18361, '大姑的非官方的', 'now()') RETURNING "id" |
| 15:56:51.337 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 15:56:51.337 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 15:56:51.337 | 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\ScheduleDescriptions', 21064, 'a:4:{s:2:"id";i:21064;s:11:"schedule_id";s:5:"18361";s:11:"description";s:21:"大姑的非官方的";s:10:"created_at";s:19:"1970-01-01 08:00:00";}', '', 1001, '221.216.117.119') |
| 15:56:51.340 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 15:56:51.340 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 15:56:51.340 | 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 (2, 'scheduleDescriptions', 18361, 9, 1001, 'now()', '["\u5927\u59d1\u7684\u975e\u5b98\u65b9\u7684"]', '[[]]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u603b\u7ed3","d4":[""]}') |
| 15:56:51.342 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_schedule_carbon_copy_rels" WHERE "schedule_id"=18361 |
| 15:56:51.342 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 15:56:51.343 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 15:56:51.344 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 15:56:51.344 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 15:56:51.344 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_schedules" WHERE "id"=18361 |
| 15:56:51.344 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001) |
| 15:56:51.345 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_comments" ("created_by", "object_type", "object_id", "description", "is_system", "description2") VALUES (1001, '9', 18361, '刘人诚更新了一条待办事项', TRUE, '告诉大姑发大姑') RETURNING "id" |
| 15:56:51.347 | 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', 220698, 'a:11:{s:2:"id";i:220698;s:9:"object_id";i:18361;s:11:"object_type";s:1:"9";s:6:"parent";N;s:11:"description";s:36:"刘人诚更新了一条待办事项";s:10:"created_by";i:1001;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:21:"告诉大姑发大姑";}', '', 1001, '221.216.117.119') |
| 15:56:51.348 | info | yii\db\Command::query | SELECT "channel_id" FROM "global"."tbl_logins" WHERE (0=1) AND ("id" != 1001) AND (channel_id IS NOT NULL) |
| 15:56:51.348 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 15:56:51.348 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 15:56:51.349 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3354 |
| 15:56:51.350 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_clients" SET "updated_at"='now()' WHERE "id"=3354 |
| 15:56:51.352 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_client_am_change_logs" WHERE ("client_id"=3354) AND ("sales_rep" IS NULL) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
| 15:56:51.369 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 15:56:51.369 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 15:56:51.369 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_client_am_change_logs" ("client_id", "sales_rep", "start_from", "end_at") VALUES (3354, 1005, 'now()', NULL) RETURNING "id" |
| 15:56:51.370 | 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', 199847, 'a:5:{s:2:"id";i:199847;s:9:"client_id";i:3354;s:9:"sales_rep";i:1005;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 1001, '221.216.117.119') |
| 15:56:51.371 | 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', 3354, 'a:0:{}', '', 1001, '221.216.117.119') |
| 15:56:51.372 | 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', 3354, 10, 18361, 9, 1001, '[18361]', '[18361]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u5f85\u529e\u4e8b\u9879","d4":[""]}') RETURNING "id" |
| 15:56:51.373 | 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', 641142, 'a:13:{s:2:"id";i:641142;s:9:"object_id";i:3354;s:11:"object_type";i:10;s:9:"target_id";i:18361;s:18:"target_object_type";i:9;s:3:"act";i:2;s:9:"attribute";s:6:"update";s:9:"old_value";s:7:"[18361]";s:9:"new_value";s:7:"[18361]";s:11:"description";s:95:"{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u5f85\u529e\u4e8b\u9879","d4":[""]}";s:10:"created_by";i:1001;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1001, '221.216.117.119') |
| 15:56:51.374 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3354 |
| 15:56:51.374 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 15:56:51.374 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 15:56:51.374 | 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', 3354, 10, 18361, 9, 1001, '18361', '18361', array[1005], '{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u5f85\u529e\u4e8b\u9879","d4":[""]}') RETURNING "id" |
| 15:56:51.376 | 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', 171906, 'a:15:{s:2:"id";i:171906;s:9:"object_id";i:3354;s:11:"object_type";i:10;s:9:"target_id";i:18361;s:18:"target_object_type";i:9;s:3:"act";i:2;s:9:"attribute";s:6:"update";s:9:"old_value";s:5:"18361";s:9:"new_value";s:5:"18361";s:5:"users";O:17:"yii\db\Expression":2:{s:10:"expression";s:11:"array[1005]";s:6:"params";a:0:{}}s:11:"description";s:95:"{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u5f85\u529e\u4e8b\u9879","d4":[""]}";s:10:"created_by";i:1001;s:10:"created_at";N;s:9:"is_delete";N;s:9:"parent_id";N;}', '', 1001, '221.216.117.119') |
| 15:56:51.377 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 15:56:51.377 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 15:56:51.377 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=4177 |
| 15:56:51.378 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_projects" SET "updated_at"='now()' WHERE "id"=4177 |
| 15:56:51.379 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=4177) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
| 15:56:51.380 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 15:56:51.380 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 15:56:51.381 | 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', 4177, 'a:0:{}', '', 1001, '221.216.117.119') |
| 15:56:51.381 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3354 |
| 15:56:51.382 | 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', 4177, 1, 18361, 9, 1001, '[18361]', '[18361]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u5f85\u529e\u4e8b\u9879","d4":[""]}') RETURNING "id" |
| 15:56:51.383 | 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', 641143, 'a:13:{s:2:"id";i:641143;s:9:"object_id";i:4177;s:11:"object_type";i:1;s:9:"target_id";i:18361;s:18:"target_object_type";i:9;s:3:"act";i:2;s:9:"attribute";s:6:"update";s:9:"old_value";s:7:"[18361]";s:9:"new_value";s:7:"[18361]";s:11:"description";s:95:"{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u5f85\u529e\u4e8b\u9879","d4":[""]}";s:10:"created_by";i:1001;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1001, '221.216.117.119') |
| 15:56:51.384 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=4177 |
| 15:56:51.384 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3354 |
| 15:56:51.385 | 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', 4177, 1, 18361, 9, 1001, '18361', '18361', array[1005], '{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u5f85\u529e\u4e8b\u9879","d4":[""]}') RETURNING "id" |
| 15:56:51.385 | 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', 171907, 'a:15:{s:2:"id";i:171907;s:9:"object_id";i:4177;s:11:"object_type";i:1;s:9:"target_id";i:18361;s:18:"target_object_type";i:9;s:3:"act";i:2;s:9:"attribute";s:6:"update";s:9:"old_value";s:5:"18361";s:9:"new_value";s:5:"18361";s:5:"users";O:17:"yii\db\Expression":2:{s:10:"expression";s:11:"array[1005]";s:6:"params";a:0:{}}s:11:"description";s:95:"{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u5f85\u529e\u4e8b\u9879","d4":[""]}";s:10:"created_by";i:1001;s:10:"created_at";N;s:9:"is_delete";N;s:9:"parent_id";N;}', '', 1001, '221.216.117.119') |
| 15:56:51.386 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 15:56:51.386 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 15:56:51.386 | info | yii\db\Command::query | INSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "url", "request", "response", "php_error", "time", "duration") VALUES (200, 'a57be577deb434', 1001, 5, 'vue/schedule/save-new-description', '{"ScheduleDescriptions":{"id":"","schedule_id":"18361","description":"\u5927\u59d1\u7684\u975e\u5b98\u65b9\u7684"},"web_access_token":"-ooNs73DKJQ01PCpcbuHx_usnaO5SdwJ"}', '{"code":2000,"result":"","status":1,"msg":[{"name":"success","success":"\u65b0\u603b\u7ed3\u5df2\u521b\u5efa\u6210\u529f","error":""}],"mod":0,"ip":"221.216.117.119","ua":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10.15; rv:151.0) Gecko\/20100101 Firefox\/151.0"}', FALSE, '2026-06-04 15:56:51', 98248960) RETURNING "id" |
| 15:56:51.388 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 15:56:51.388 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |