68c1433ac70cd: POST https://beta.jinchangxiao.com/v2/rating/result-vote at 2025-09-10 05:22:02 pm by 114.246.239.150

Log Messages

总计35条数据
TimeLevelCategoryMessage
 
17:22:02.814traceyii\base\Application::bootstrapBootstrap with yii\log\Dispatcher
17:22:02.814traceyii\base\Module::getModuleLoading module: debug
17:22:02.815traceyii\base\Application::bootstrapBootstrap with yii\debug\Module::bootstrap()
17:22:02.815traceyii\redis\Connection::openOpening redis DB connection: redis.server.local:6379, database=1
17:22:02.815traceyii\redis\Connection::executeCommandExecuting Redis Command: SELECT
17:22:02.815traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
17:22:02.816traceyii\base\Module::getModuleLoading module: gii
17:22:02.816traceyii\base\Application::bootstrapBootstrap with yii\gii\Module::bootstrap()
17:22:02.816traceyii\web\UrlManager::parseRequestNo matching URL rules. Using default URL parsing logic.
17:22:02.816traceyii\web\Application::handleRequestRoute requested: 'v2/rating/result-vote'
17:22:02.816traceyii\base\Module::getModuleLoading module: v2
17:22:02.816infoyii\web\Session::openSession started
17:22:02.817infoyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta
17:22:02.838infoyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "access_token"='gIBfXHaGAAjf2tBIfgqsDfRNPly9E9om'
17:22:02.846traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
17:22:02.852traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
17:22:02.857traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
17:22:02.857traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
17:22:02.857infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
17:22:02.859traceyii\base\Controller::runActionRoute to run: v2/rating/result-vote
17:22:02.860traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
17:22:02.862traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: Admin
17:22:02.862traceyii\base\InlineAction::runWithParamsRunning action: app\modules\v2\controllers\RatingController::actionResultVote()
17:22:02.863infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_ratings" WHERE "id"='24'
17:22:02.863traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
17:22:02.864traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
17:22:02.867infoyii\db\Command::querySELECT "o"."id", "o"."title", count(t.id) as result, CASE WHEN cast(( select count(*) from a57be577deb434.tbl_vote_tickets WHERE rating_id = o.rating_id) as float) !=0 THEN count(t.id) / cast(( select count(*) from a57be577deb434.tbl_vote_tickets WHERE rating_id = o.rating_id) as float) ELSE 0 END as count FROM "a57be577deb434"."tbl_vote_options" "o" LEFT JOIN "a57be577deb434"."tbl_ratings" "r" ON o.rating_id = r.id LEFT JOIN "a57be577deb434"."tbl_vote_tickets" "t" ON t.option_id = o.id WHERE "o"."rating_id"=24 GROUP BY "o"."id" ORDER BY "count" DESC
17:22:02.880traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
17:22:02.880infoyii\db\Command::querySELECT 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_vote_options' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
17:22:02.887infoyii\db\Command::queryselect 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_vote_options' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
17:22:02.893traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
17:22:02.893traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
17:22:02.893traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
17:22:02.893traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
17:22:02.894infoyii\db\Command::queryINSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "version_code", "url", "request", "response", "php_error", "time") VALUES (200, 'a57be577deb434', 1000, 0, 266, 'v2/rating/result-vote', '{"access_token":"gIBfXHaGAAjf2tBIfgqsDfRNPly9E9om","device_type":"0","version_code":"266","id":"24","token":"5ff8d47eda6a9eab2616e793351c3473","posttime":"1757496122"}', '{"code":200,"data":{"list":[{"id":5,"title":"\u6e29\u6cc9","result":11,"count":"0.366666666666667"},{"id":6,"title":"\u6ed1\u96ea","result":11,"count":"0.366666666666667"},{"id":7,"title":"\u5f92\u6b65","result":6,"count":"0.2"},{"id":8,"title":"\u4e0d\u5f00","result":2,"count":"0.0666666666666667"}]},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}]}', FALSE, '2025-09-10 17:22:02') RETURNING "id"