Log Messages

总计65条数据
TimeLevelCategoryMessage
 
15:15:19.784traceyii\base\Application::bootstrapBootstrap with yii\log\Dispatcher
15:15:19.784traceyii\base\Module::getModuleLoading module: debug
15:15:19.784traceyii\base\Application::bootstrapBootstrap with yii\debug\Module::bootstrap()
15:15:19.785traceyii\redis\Connection::openOpening redis DB connection: redis.server.local:6379, database=1
15:15:19.785traceyii\redis\Connection::executeCommandExecuting Redis Command: SELECT
15:15:19.785traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:15:19.785traceyii\base\Module::getModuleLoading module: gii
15:15:19.785traceyii\base\Application::bootstrapBootstrap with yii\gii\Module::bootstrap()
15:15:19.785traceyii\web\UrlManager::parseRequestNo matching URL rules. Using default URL parsing logic.
15:15:19.785traceyii\web\Application::handleRequestRoute requested: 'vue/erp-sales-gift/save-sn'
15:15:19.785traceyii\base\Module::getModuleLoading module: vue
15:15:19.786infoyii\web\Session::openSession started
15:15:19.786infoyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "id"=1001
15:15:19.786infoyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta
15:15:19.791traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:15:19.791traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:15:19.791infoyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "id"=1001
15:15:19.792traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:15:19.792traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:15:19.792infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
15:15:19.794traceyii\base\Controller::runActionRoute to run: vue/erp-sales-gift/save-sn
15:15:19.794traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:15:19.795traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: Admin
15:15:19.795traceyii\base\InlineAction::runWithParamsRunning action: app\modules\vue\controllers\ErpSalesGiftController::actionSaveSn()
15:15:19.795infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_gifts" WHERE "id"='66'
15:15:19.796traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:15:19.796traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:15:19.796traceuranus\rbac\DbManager::checkAccessFromCacheChecking permission: updateErpSalesGift
15:15:19.796traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: Admin
15:15:19.796infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_gift_spent_products" WHERE "erp_sales_gift_id"=66
15:15:19.797traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:15:19.797traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:15:19.797infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_gift_spent_product_sns" WHERE "erp_sales_gift_spent_product_id"=109
15:15:19.798infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_erp_sales_gift_spent_product_sns" WHERE "erp_sales_gift_spent_product_id"=109
15:15:19.798traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:15:19.798traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:15:19.798infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_erp_sales_gift_spent_product_sns" ("erp_sales_gift_spent_product_id", "erp_inventory_product_sn_id", "sn") VALUES (109, 19, '阿文企鹅')
15:15:19.802infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_inventory_product_sns" WHERE "id"='19'
15:15:19.802traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:15:19.802traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:15:19.808infoyii\db\Command::querySELECT "r".* FROM "a57be577deb434"."tbl_erp_inventory_lost_product_sns" "r" LEFT JOIN "a57be577deb434"."tbl_erp_inventory_lost_products" "eprp" ON eprp.id = r.erp_inventory_lost_product_id LEFT JOIN "a57be577deb434"."tbl_erp_inventory_losts" "epr" ON eprp.erp_inventory_lost_id = epr.id WHERE ("r"."erp_inventory_product_sn_id"=19) AND ("epr"."status" IN (1, 2))
15:15:19.813infoyii\db\Command::querySELECT "r".* FROM "a57be577deb434"."tbl_erp_inventory_build_spent_product_sns" "r" LEFT JOIN "a57be577deb434"."tbl_erp_inventory_build_spent_products" "eprp" ON eprp.id = r.erp_inventory_build_spent_product_id LEFT JOIN "a57be577deb434"."tbl_erp_inventory_builds" "epr" ON eprp.erp_inventory_build_id = epr.id WHERE ("r"."erp_inventory_product_sn_id"=19) AND ("epr"."status" IN (1, 2))
15:15:19.817infoyii\db\Command::querySELECT "r".* FROM "a57be577deb434"."tbl_erp_sales_outbound_spent_product_sns" "r" LEFT JOIN "a57be577deb434"."tbl_erp_sales_outbound_spent_products" "eprp" ON eprp.id = r.erp_sales_outbound_spent_product_id LEFT JOIN "a57be577deb434"."tbl_erp_sales_outbounds" "epr" ON eprp.erp_sales_outbound_id = epr.id WHERE ("r"."is_cancel"=FALSE) AND ("r"."erp_inventory_product_sn_id"=19) AND ("epr"."status" IN (1, 2))
15:15:19.821infoyii\db\Command::querySELECT "r".* FROM "a57be577deb434"."tbl_erp_sales_gift_spent_product_sns" "r" LEFT JOIN "a57be577deb434"."tbl_erp_sales_gift_spent_products" "eprp" ON eprp.id = r.erp_sales_gift_spent_product_id LEFT JOIN "a57be577deb434"."tbl_erp_sales_gifts" "epr" ON eprp.erp_sales_gift_id = epr.id WHERE ("r"."is_cancel"=FALSE) AND ("r"."erp_inventory_product_sn_id"=19) AND ("epr"."status" IN (1, 2))
15:15:19.824infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_inventory_product_sns" SET "is_used"=TRUE, "used_erp_sales_gift_spent_product_sn_id"=9 WHERE "id"=19
15:15:19.828traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:15:19.828traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:15:19.829infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\ErpInventoryProductSns', 19, 'a:2:{s:7:"is_used";b:1;s:39:"used_erp_sales_gift_spent_product_sn_id";i:9;}', '', 1001, '223.72.15.22')
15:15:19.830infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_purchase_inbound_product_sns" WHERE "id"=16
15:15:19.831traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:15:19.831traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:15:19.831infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_purchase_inbound_product_sns" SET "is_used"=TRUE WHERE "id"=16
15:15:19.832infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\ErpPurchaseInboundProductSns', 16, 'a:1:{s:7:"is_used";b:1;}', '', 1001, '223.72.15.22')
15:15:19.834infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_inventory_start_product_sns" WHERE 0=1
15:15:19.835infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_inventory_build_product_sns" WHERE 0=1
15:15:19.837infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_purchase_gift_product_sns" WHERE 0=1
15:15:19.839traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:15:19.839traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:15:19.839infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_visit_module_histories" WHERE ("user_id"=1001) AND ("object_type"=20000) AND ("visit_date"='2025-12-18')
15:15:19.848traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:15:19.848traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:15:19.848infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_visit_module_histories" SET "num"=1059, "last_visit_at"='now()' WHERE "id"=59588
15:15:19.849infoyii\db\Command::queryINSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "url", "request", "response", "php_error", "time") VALUES (200, 'a57be577deb434', 1001, 5, 'vue/erp-sales-gift/save-sn', '{"sns":{"109":[{"erp_inventory_product_sn_id":"19","sn":"\u963f\u6587\u4f01\u9e45"}]},"id":"66","web_access_token":"yb8YvQDqCxvGUQWSJnYL2S9XtkD7pVRr"}', '{"code":2000,"result":"","status":1,"msg":[{"name":"success","success":"\u8d60\u9001\u5355\u5df2\u88ab\u6210\u529f\u4fee\u6539","error":""}],"mod":0,"ip":"223.72.15.22","ua":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10.15; rv:146.0) Gecko\/20100101 Firefox\/146.0"}', FALSE, '2025-12-18 15:15:19') RETURNING "id"
15:15:19.851traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:15:19.851traceyii\redis\Connection::executeCommandExecuting Redis Command: SET