| 15:15:07.257 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
| 15:15:07.257 | trace | yii\base\Module::getModule | Loading module: debug |
| 15:15:07.257 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
| 15:15:07.258 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
| 15:15:07.258 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
| 15:15:07.258 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 15:15:07.258 | trace | yii\base\Module::getModule | Loading module: gii |
| 15:15:07.258 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
| 15:15:07.258 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
| 15:15:07.258 | trace | yii\web\Application::handleRequest | Route requested: 'vue/erp-sales-gift/get-inventory-sn' |
| 15:15:07.258 | trace | yii\base\Module::getModule | Loading module: vue |
| 15:15:07.259 | info | yii\web\Session::open | Session started |
| 15:15:07.259 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
| 15:15:07.259 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
| 15:15:07.263 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 15:15:07.264 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 15:15:07.264 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
| 15:15:07.265 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 15:15:07.265 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 15:15:07.265 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 15:15:07.267 | trace | yii\base\Controller::runAction | Route to run: vue/erp-sales-gift/get-inventory-sn |
| 15:15:07.267 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 15:15:07.268 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
| 15:15:07.268 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\vue\controllers\ErpSalesGiftController::actionGetInventorySn() |
| 15:15:07.268 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_sales_gift_spent_products" WHERE "id"='109' |
| 15:15:07.268 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 15:15:07.269 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 15:15:07.269 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_products" WHERE "id"=226 |
| 15:15:07.269 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 15:15:07.270 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 15:15:07.271 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_product_sns" WHERE (("is_used"=FALSE) OR (0=1)) AND ("erp_inventory_product_id"=226) |
| 15:15:07.273 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 15:15:07.274 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 15:15:07.274 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_visit_module_histories" WHERE ("user_id"=1001) AND ("object_type"=20000) AND ("visit_date"='2025-12-18') |
| 15:15:07.278 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 15:15:07.278 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 15:15:07.278 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_visit_module_histories" SET "num"=1054, "last_visit_at"='now()' WHERE "id"=59588 |
| 15:15:07.279 | info | yii\db\Command::query | INSERT 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/get-inventory-sn', '{"keyword":"","id":"109","web_access_token":"yb8YvQDqCxvGUQWSJnYL2S9XtkD7pVRr"}', '{"code":2000,"result":{"sns":[]},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","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:07') RETURNING "id" |
| 15:15:07.281 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 15:15:07.281 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |