12:03:06.768 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
12:03:06.768 | trace | yii\base\Module::getModule | Loading module: debug |
12:03:06.768 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
12:03:06.768 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
12:03:06.768 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
12:03:06.768 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
12:03:06.768 | trace | yii\base\Module::getModule | Loading module: gii |
12:03:06.768 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
12:03:06.769 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
12:03:06.769 | trace | yii\web\Application::handleRequest | Route requested: 'v2/pre-sales/save-edit' |
12:03:06.769 | trace | yii\base\Module::getModule | Loading module: v2 |
12:03:06.769 | info | yii\web\Session::open | Session started |
12:03:06.770 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
12:03:06.772 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "access_token"='LaARkbjpq8ODkVzzYWTT4va5Qt3CsuSp' |
12:03:06.774 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
12:03:06.775 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
12:03:06.775 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
12:03:06.775 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
12:03:06.775 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1017 |
12:03:06.776 | trace | yii\base\Controller::runAction | Route to run: v2/pre-sales/save-edit |
12:03:06.777 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
12:03:06.777 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
12:03:06.777 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking permission: updateTicket |
12:03:06.777 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: TechDirector |
12:03:06.777 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: CommercialAttache |
12:03:06.777 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: SalesDirector |
12:03:06.777 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: ProjectManager |
12:03:06.777 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
12:03:06.777 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: 电话销售 |
12:03:06.777 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Engineer |
12:03:06.777 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\v2\controllers\PreSalesController::actionSaveEdit() |
12:03:06.778 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_pre_sales" WHERE "id"='1835' |
12:03:06.778 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
12:03:06.778 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
12:03:06.779 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_cases" WHERE "id"=8268 |
12:03:06.779 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
12:03:06.779 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
12:03:06.780 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'location_out_distance' in 'app\models\PreSales'. |
12:03:06.780 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'location_in_distance' in 'app\models\PreSales'. |
12:03:06.780 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'attendedContacts' in 'app\models\PreSales'. |
12:03:06.780 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'id' in 'app\models\PreSales'. |
12:03:06.780 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'preSalesProductTypes' in 'app\models\PreSales'. |
12:03:06.780 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
12:03:06.780 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
12:03:06.780 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_location" WHERE "id"='19218' |
12:03:06.781 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
12:03:06.781 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
12:03:06.781 | 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\Location', 19218, 'a:0:{}', '', 1017, '114.254.1.137') |
12:03:06.782 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_location" ("created_by", "address", "geolocation", "updated_at") VALUES (1017, '北京市海淀区西顶路2号靠近金源时代商务中心', '(116.289152,39.960265)', '2025-07-04 12:03:05') RETURNING "id" |
12:03:06.783 | 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\Location', 19219, 'a:6:{s:2:"id";i:19219;s:11:"geolocation";s:22:"(116.289152,39.960265)";s:10:"created_by";i:1017;s:7:"address";s:61:"北京市海淀区西顶路2号靠近金源时代商务中心";s:10:"created_at";N;s:10:"updated_at";s:19:"2025-07-04 12:03:05";}', '', 1017, '114.254.1.137') |
12:03:06.786 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
12:03:06.786 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
12:03:06.786 | 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, 'location_out_id', 1835, 4, 1017, 'now()', '["(116.289152,39.960265)"]', '["(116.289152,39.960265)"]', '{"d1":"\u8f66\u660e\u98de","d2":"\u66f4\u65b0\u4e86","d3":"\u7b7e\u9000\u5b9a\u4f4d","d4":[""]}') |
12:03:06.787 | 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\Location', 19219, 'a:0:{}', '', 1017, '114.254.1.137') |
12:03:06.790 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='3337') |
12:03:06.790 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_cases" WHERE "id"=8268) |
12:03:06.791 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1017) |
12:03:06.791 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1017) |
12:03:06.791 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_location" WHERE "id"='19218') |
12:03:06.792 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_location" WHERE "id"=19219) |
12:03:06.792 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1017 |
12:03:06.792 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_cases" WHERE "id"=8268 |
12:03:06.793 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1017 |
12:03:06.793 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "description") VALUES (1, 'create', 1835, 4, 1017, '2025-07-04 12:02:49', '{"id":1835,"client_id":"3337","start_at":"2025-07-04 12:02:00","description":"","client_concerns":null,"pre_sales_assessment":"","engineer_id":1017,"created_by":1017,"created_at":"2025-07-04 12:02:49","updated_at":"1970-01-01 08:00:00","following_work_content":"","project_status":null,"end_at":"2025-07-04 12:03:00","has_following_work":"0","location_id":null,"is_draft":"0","case_id":8268,"service_id":"273","location_in_id":"19218","location_out_id":19219,"ticket_no":"PS250704001001","client_document_id":null,"client_document_file":null,"indistance":"37.063900566072","outdistance":"39.0054013079405"}', '{"id":1835,"client_id":"3337","start_at":"2025-07-04 12:02:00","description":"","client_concerns":null,"pre_sales_assessment":"","engineer_id":1017,"created_by":1017,"created_at":"2025-07-04 12:02:49","updated_at":"1970-01-01 08:00:00","following_work_content":"","project_status":null,"end_at":"2025-07-04 12:03:00","has_following_work":"0","location_id":null,"is_draft":"0","case_id":8268,"service_id":"273","location_in_id":"19218","location_out_id":19219,"ticket_no":"PS250704001001","client_document_id":null,"client_document_file":null,"indistance":"37.063900566072","outdistance":"39.0054013079405"}', '{"d1":"\u8f66\u660e\u98de","d2":"\u521b\u5efa\u4e86","d3":"\u552e\u524d\u5de5\u5355","d4":[]}') RETURNING "id" |
12:03:06.794 | 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', 510034, 'a:13:{s:2:"id";i:510034;s:9:"object_id";i:1835;s:11:"object_type";i:4;s:9:"target_id";N;s:18:"target_object_type";N;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:606:"{"id":1835,"client_id":"3337","start_at":"2025-07-04 12:02:00","description":"","client_concerns":null,"pre_sales_assessment":"","engineer_id":1017,"created_by":1017,"created_at":"2025-07-04 12:02:49","updated_at":"1970-01-01 08:00:00","following_work_content":"","project_status":null,"end_at":"2025-07-04 12:03:00","has_following_work":"0","location_id":null,"is_draft":"0","case_id":8268,"service_id":"273","location_in_id":"19218","location_out_id":19219,"ticket_no":"PS250704001001","client_document_id":null,"client_document_file":null,"indistance":"37.063900566072","outdistance":"39.0054013079405"}";s:9:"new_value";s:606:"{"id":1835,"client_id":"3337","start_at":"2025-07-04 12:02:00","description":"","client_concerns":null,"pre_sales_assessment":"","engineer_id":1017,"created_by":1017,"created_at":"2025-07-04 12:02:49","updated_at":"1970-01-01 08:00:00","following_work_content":"","project_status":null,"end_at":"2025-07-04 12:03:00","has_following_work":"0","location_id":null,"is_draft":"0","case_id":8268,"service_id":"273","location_in_id":"19218","location_out_id":19219,"ticket_no":"PS250704001001","client_document_id":null,"client_document_file":null,"indistance":"37.063900566072","outdistance":"39.0054013079405"}";s:11:"description";s:93:"{"d1":"\u8f66\u660e\u98de","d2":"\u521b\u5efa\u4e86","d3":"\u552e\u524d\u5de5\u5355","d4":[]}";s:10:"created_by";i:1017;s:10:"created_at";s:19:"2025-07-04 12:02:49";s:9:"is_delete";N;}', '', 1017, '114.254.1.137') |
12:03:06.795 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_cases" SET "updated_at"='now()' WHERE "id"=8268 |
12:03:06.796 | 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\Cases', 8268, 'a:1:{s:8:"start_at";s:19:"2025-07-04 10:00:00";}', '', 1017, '114.254.1.137') |
12:03:06.797 | 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", "created_at", "description") VALUES (1, 'create', 8268, 18, 1835, 4, 1017, '[1835]', '[1835]', '2025-07-04 12:02:49', '{"d1":"\u8f66\u660e\u98de","d2":"\u521b\u5efa\u4e86","d3":"\u552e\u524d\u5de5\u5355","d4":"\u5de5\u5355\u7f16\u53f7:PS250704001001"}') RETURNING "id" |
12:03:06.798 | 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', 510035, 'a:13:{s:2:"id";i:510035;s:9:"object_id";i:8268;s:11:"object_type";i:18;s:9:"target_id";i:1835;s:18:"target_object_type";i:4;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:6:"[1835]";s:9:"new_value";s:6:"[1835]";s:11:"description";s:132:"{"d1":"\u8f66\u660e\u98de","d2":"\u521b\u5efa\u4e86","d3":"\u552e\u524d\u5de5\u5355","d4":"\u5de5\u5355\u7f16\u53f7:PS250704001001"}";s:10:"created_by";i:1017;s:10:"created_at";s:19:"2025-07-04 12:02:49";s:9:"is_delete";N;}', '', 1017, '114.254.1.137') |
12:03:06.799 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3337 |
12:03:06.800 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
12:03:06.800 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
12:03:06.800 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
12:03:06.800 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
12:03:06.800 | 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 (1, 'create', 8268, 18, 1835, 4, 1017, '1835', '1835', array[5332,1017], '{"d1":"\u8f66\u660e\u98de","d2":"\u521b\u5efa\u4e86","d3":"\u552e\u524d\u5de5\u5355","d4":"\u5de5\u5355\u7f16\u53f7:PS250704001001"}') RETURNING "id" |
12:03:06.801 | 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', 136949, 'a:15:{s:2:"id";i:136949;s:9:"object_id";i:8268;s:11:"object_type";i:18;s:9:"target_id";i:1835;s:18:"target_object_type";i:4;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:4:"1835";s:9:"new_value";s:4:"1835";s:5:"users";O:17:"yii\db\Expression":2:{s:10:"expression";s:16:"array[5332,1017]";s:6:"params";a:0:{}}s:11:"description";s:132:"{"d1":"\u8f66\u660e\u98de","d2":"\u521b\u5efa\u4e86","d3":"\u552e\u524d\u5de5\u5355","d4":"\u5de5\u5355\u7f16\u53f7:PS250704001001"}";s:10:"created_by";i:1017;s:10:"created_at";N;s:9:"is_delete";N;s:9:"parent_id";N;}', '', 1017, '114.254.1.137') |
12:03:06.802 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_pre_sales" SET "client_id"=3337, "start_at"='2025-07-04 12:02:00', "updated_at"='now()', "end_at"='2025-07-04 12:03:00', "has_following_work"=FALSE, "is_draft"=FALSE, "service_id"=273, "location_in_id"=19218, "location_out_id"=19219, "indistance"=37.063900566072, "outdistance"=39.005401307941 WHERE "id"=1835 |
12:03:06.804 | 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\PreSales', 1835, 'a:6:{s:8:"start_at";s:19:"2025-07-04 12:02:00";s:8:"is_draft";s:1:"0";s:6:"end_at";s:19:"2025-07-04 12:03:00";s:18:"has_following_work";s:1:"0";s:15:"location_out_id";i:19219;s:11:"outdistance";s:16:"39.0054013079405";}', '', 1017, '114.254.1.137') |
12:03:06.804 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='3337' |
12:03:06.805 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=4) AND ("object_id"=1835) |
12:03:06.806 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=4) AND ("object_id"=1835) |
12:03:06.808 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_contact_attend_pre_sales" WHERE "pre_sales_id"=1835 |
12:03:06.808 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
12:03:06.808 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
12:03:06.808 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_contact_attend_pre_sales" WHERE "pre_sales_id"=1835 |
12:03:06.808 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_contacts" WHERE "id"=6010 |
12:03:06.809 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
12:03:06.809 | 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_contacts'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
12:03:06.815 | 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_contacts'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
12:03:06.823 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
12:03:06.823 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
12:03:06.824 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_pre_sales_product_types" WHERE "pre_sales_id"=1835 |
12:03:06.824 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
12:03:06.824 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
12:03:06.824 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_pre_sales_product_types" WHERE "pre_sales_id"=1835 |
12:03:06.825 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
12:03:06.825 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
12:03:06.825 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_product_types" WHERE "id"=2 |
12:03:06.826 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_pre_sales_product_types" ("pre_sales_id", "product_type_id", "name", "description") VALUES (1835, 2, '服务器', 'bfhfhfn') |
12:03:06.827 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
12:03:06.827 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
12:03:06.827 | 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', 1017, 0, 262, 'v2/pre-sales/save-edit', '{"access_token":"LaARkbjpq8ODkVzzYWTT4va5Qt3CsuSp","PreSales":{"location_in_id":"19218","pre_sales_assessment":"","end_at":"2025-07-04 12:03","location_out_distance":"39.0054013079405","location_in_distance":"37.063900566072","location_in_updated_at":"2025-07-04 12:02:40","attendedContacts":["6010"],"description":"","following_work_content":"","location_out_address":"\u5317\u4eac\u5e02\u6d77\u6dc0\u533a\u897f\u9876\u8def2\u53f7\u9760\u8fd1\u91d1\u6e90\u65f6\u4ee3\u5546\u52a1\u4e2d\u5fc3","id":"1835","client_id":"3337","preSalesProductTypes":{"2":"bfhfhfn"},"is_draft":"0","start_at":"2025-07-04 12:02","service_id":"273","location_out_lat":"39.960265","location_out_lng":"116.289152","location_out_updated_at":"2025-07-04 12:03:05","location_in_address":"\u5317\u4eac\u5e02\u6d77\u6dc0\u533a\u897f\u9876\u8def2\u53f7\u9760\u8fd1\u91d1\u6e90\u65f6\u4ee3\u5546\u52a1\u4e2d\u5fc3","location_in_lat":"39.960397","location_in_lng":"116.28906","has_following_work":"0"},"device_type":"0","version_code":"262","token":"5ae5f4683e581020449fdca031d6846a","posttime":"1751601788"}', '{"code":200,"data":"","status":1,"msg":[{"name":"success","success":"\u552e\u524d\u5de5\u5355\u5df2\u88ab\u6210\u529f\u4fee\u6539","error":""}]}', FALSE, '2025-07-04 12:03:06') RETURNING "id" |