All Latest
6a48ff3ed7534: POST https://beta.jinchangxiao.com/vue/erp-purchase-gift/verify at 2026-07-04 08:40:30 pm by 111.194.208.14

Log Messages

总计111条数据
TimeLevelCategoryMessage
 
20:40:30.881traceyii\base\Application::bootstrapBootstrap with yii\log\Dispatcher
20:40:30.881traceyii\base\Module::getModuleLoading module: debug
20:40:30.881traceyii\base\Application::bootstrapBootstrap with yii\debug\Module::bootstrap()
20:40:30.882traceyii\redis\Connection::openOpening redis DB connection: redis.server.local:6379, database=1
20:40:30.882traceyii\redis\Connection::executeCommandExecuting Redis Command: SELECT
20:40:30.882traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
20:40:30.883infotime tracing start1783168830883367936
20:40:30.883traceyii\web\UrlManager::parseRequestNo matching URL rules. Using default URL parsing logic.
20:40:30.883traceyii\web\Application::handleRequestRoute requested: 'vue/erp-purchase-gift/verify'
20:40:30.883traceyii\base\Module::getModuleLoading module: vue
20:40:30.884infoyii\web\Session::openSession started
20:40:30.886infoyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "id"=5064
20:40:30.886infoyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta
20:40:30.887traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
20:40:30.888traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
20:40:30.889infoyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "id"=1001
20:40:30.890traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
20:40:30.890traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
20:40:30.890infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
20:40:30.891traceyii\base\Controller::runActionRoute to run: vue/erp-purchase-gift/verify
20:40:30.892traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
20:40:30.894traceuranus\rbac\DbManager::checkAccessFromCacheChecking permission: viewErp
20:40:30.894traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: FinancialAudit
20:40:30.894traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: CommercialAttache
20:40:30.894traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: Admin
20:40:30.894traceyii\base\InlineAction::runWithParamsRunning action: app\modules\vue\controllers\ErpPurchaseGiftController::actionVerify()
20:40:30.894infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_purchase_gifts" WHERE "id"='26'
20:40:30.895traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
20:40:30.895traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
20:40:30.895infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_purchase_gift_verify_rels" WHERE ("status"=0) AND ("erp_purchase_gift_id"=26) ORDER BY "id"
20:40:30.896traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
20:40:30.896traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
20:40:30.896traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
20:40:30.897traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
20:40:30.898traceyii\db\Transaction::beginBegin transaction
20:40:30.899infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_purchase_gift_verify_rels" SET "status"=1, "description"='', "verify_at"='now()' WHERE "id"=57
20:40:30.899traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
20:40:30.900traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
20:40:30.900infoyii\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\ErpPurchaseGiftVerifyRels', 57, 'a:2:{s:6:"status";i:1;s:9:"verify_at";s:5:"now()";}', '', 1001, '111.194.208.14')
20:40:30.901infoyii\db\Command::querySELECT COUNT(*) FROM (SELECT * FROM "a57be577deb434"."tbl_erp_purchase_gift_verify_rels" WHERE ("status"=0) AND ("erp_purchase_gift_id"=26) ORDER BY "id") "c"
20:40:30.902infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_purchase_gifts" SET "status"=2, "verify_at"='now()', "updated_at"='now()' WHERE "id"=26
20:40:30.902infoyii\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\ErpPurchaseGifts', 26, 'a:1:{s:9:"verify_at";s:5:"now()";}', '', 1001, '111.194.208.14')
20:40:30.903infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_purchase_gifts" WHERE "id"=26
20:40:30.903infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
20:40:30.904infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_purchase_gift_verify_rels" WHERE ("status"=0) AND ("erp_purchase_gift_id"=26) ORDER BY "id"
20:40:30.905infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_purchase_gift_carbon_copy_rels" WHERE "erp_purchase_gift_id"=26
20:40:30.905traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
20:40:30.906traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
20:40:30.906infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_purchase_gifts" WHERE "id"=26
20:40:30.907infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001)
20:40:30.908infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_comments" ("created_by", "object_type", "object_id", "description", "is_system", "description2") VALUES (1001, '20010', 26, '刘人诚通过了这个审批', TRUE, 'HZD-20260704-00001') RETURNING "id"
20:40:30.909infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\Comments', 221019, 'a:11:{s:2:"id";i:221019;s:9:"object_id";i:26;s:11:"object_type";s:5:"20010";s:6:"parent";N;s:11:"description";s:30:"刘人诚通过了这个审批";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:18:"HZD-20260704-00001";}', '', 1001, '111.194.208.14')
20:40:30.910infoyii\db\Command::querySELECT "channel_id" FROM "global"."tbl_logins" WHERE (0=1) AND ("id" != 1001) AND (channel_id IS NOT NULL)
20:40:30.911traceyii\redis\Connection::executeCommandExecuting Redis Command: INCR
20:40:30.911traceyii\redis\Connection::executeCommandExecuting Redis Command: HSET
20:40:30.911traceyii\redis\Connection::executeCommandExecuting Redis Command: LPUSH
20:40:30.911infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_purchase_gifts" SET "next_verify_user"=NULL WHERE "id"=26
20:40:30.912infoyii\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\ErpPurchaseGifts', 26, 'a:0:{}', '', 1001, '111.194.208.14')
20:40:30.913infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_purchase_gift_products" WHERE "erp_purchase_gift_id"=26
20:40:30.913traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
20:40:30.914traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
20:40:30.914infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_inventory_products" WHERE "erp_purchase_gift_product_id"=41
20:40:30.915traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
20:40:30.915traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
20:40:30.915infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_erp_inventory_products" ("erp_purchase_gift_product_id", "erp_purchase_gift_id", "product_id", "erp_store_id", "amount", "inventory", "number", "total_amount", "wrote_date", "created_at") VALUES (41, 26, 2267, 1, '0', '1', '1', '0', '2026-07-04', 'now()') RETURNING "id"
20:40:30.917infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ErpInventoryProducts', 532, 'a:32:{s:2:"id";i:532;s:10:"product_id";i:2267;s:23:"erp_purchase_inbound_id";N;s:21:"erp_purchase_order_id";N;s:31:"erp_purchase_inbound_product_id";N;s:29:"erp_purchase_order_product_id";N;s:12:"erp_store_id";i:1;s:10:"wrote_date";s:10:"2026-07-04";s:6:"number";d:1;s:8:"outbound";N;s:9:"inventory";d:1;s:6:"amount";s:1:"0";s:12:"total_amount";s:1:"0";s:13:"actual_amount";N;s:19:"actual_total_amount";N;s:8:"is_build";N;s:10:"created_at";s:19:"1970-01-01 08:00:00";s:13:"lost_outbound";N;s:22:"erp_inventory_start_id";N;s:30:"erp_inventory_start_product_id";N;s:22:"erp_inventory_build_id";N;s:30:"erp_inventory_build_product_id";N;s:20:"build_spent_outbound";N;s:14:"sales_outbound";N;s:20:"erp_purchase_gift_id";i:26;s:28:"erp_purchase_gift_product_id";i:41;s:19:"sales_gift_outbound";N;s:28:"erp_inventory_disassemble_id";N;s:36:"erp_inventory_disassemble_product_id";N;s:26:"disassemble_spent_outbound";N;s:25:"erp_inventory_overflow_id";N;s:33:"erp_inventory_overflow_product_id";N;}', '', 1001, '111.194.208.14')
20:40:30.917infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_inventory_products" WHERE "id"=532
20:40:30.918infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_purchase_gift_product_sns" WHERE "erp_purchase_gift_product_id"=41
20:40:30.918traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
20:40:30.919traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
20:40:30.919infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_erp_inventory_product_sns" WHERE ("erp_inventory_product_id"=532) AND ("erp_purchase_gift_product_sn_id"<>5)
20:40:30.919infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_inventory_product_sns" WHERE "erp_inventory_product_id"=532
20:40:30.920traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
20:40:30.920traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
20:40:30.920infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_erp_inventory_product_sns" ("erp_inventory_product_id", "erp_purchase_gift_product_sn_id", "sn") VALUES (532, 5, 'pop') RETURNING "id"
20:40:30.922infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ErpInventoryProductSns', 67, 'a:27:{s:2:"id";i:67;s:24:"erp_inventory_product_id";i:532;s:23:"erp_purchase_inbound_id";N;s:34:"erp_purchase_inbound_product_sn_id";N;s:2:"sn";s:3:"pop";s:7:"is_used";N;s:11:"description";N;s:22:"erp_inventory_start_id";N;s:33:"erp_inventory_start_product_sn_id";N;s:22:"erp_inventory_build_id";N;s:33:"erp_inventory_build_product_sn_id";N;s:26:"used_erp_inventory_lost_id";N;s:27:"used_erp_inventory_build_id";N;s:37:"used_erp_inventory_lost_product_sn_id";N;s:44:"used_erp_inventory_build_spent_product_sn_id";N;s:26:"used_erp_sales_outbound_id";N;s:43:"used_erp_sales_outbound_spent_product_sn_id";N;s:31:"erp_purchase_gift_product_sn_id";i:5;s:20:"erp_purchase_gift_id";N;s:22:"used_erp_sales_gift_id";N;s:39:"used_erp_sales_gift_spent_product_sn_id";N;s:28:"erp_inventory_disassemble_id";N;s:39:"erp_inventory_disassemble_product_sn_id";N;s:33:"used_erp_inventory_disassemble_id";N;s:50:"used_erp_inventory_disassemble_spent_product_sn_id";N;s:36:"erp_inventory_overflow_product_sn_id";N;s:25:"erp_inventory_overflow_id";N;}', '', 1001, '111.194.208.14')
20:40:30.923infoyii\db\Command::querySELECT SUM(outbound) FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_product_id"=532
20:40:30.924infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_inventory_products" SET "outbound"='0', "inventory"='1' WHERE "id"=532
20:40:30.925infoyii\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\ErpInventoryProducts', 532, 'a:0:{}', '', 1001, '111.194.208.14')
20:40:30.925infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_settings" WHERE "setting_key"='erp_cost_type'
20:40:30.926traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
20:40:30.926traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
20:40:30.927infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_settings" WHERE "setting_key"='erp_decimal_point'
20:40:30.927infoyii\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\ErpInventoryProducts', 532, 'a:0:{}', '', 1001, '111.194.208.14')
20:40:30.928infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_purchase_gift_products" SET "outbound"='0', "inventory"='1' WHERE "id"=41
20:40:30.928infoyii\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\ErpPurchaseGiftProducts', 41, 'a:0:{}', '', 1001, '111.194.208.14')
20:40:30.929traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
20:40:30.929traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
20:40:30.929infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_products" SET "updated_at"='now()', "in_out_at"='now()' WHERE "id"=2267
20:40:30.930infoyii\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\ErpPurchaseGifts', 26, 'a:0:{}', '', 1001, '111.194.208.14')
20:40:30.931infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_inventory_products" SET "inventory"='0', "number"='0', "actual_total_amount"='0' WHERE ("erp_purchase_gift_id"=26) AND ("erp_purchase_gift_product_id"<>41)
20:40:30.931infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_purchase_gifts" WHERE "id"=26
20:40:30.932traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
20:40:30.932traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
20:40:30.932infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_erp_ticket_change_logs" ("status", "ticket_type", "serial_no", "wrote_date", "description", "abstract", "amount", "client_id", "supplier_id", "contact_id", "user_id", "created_by", "created_at", "updated_at", "object_id", "verify_at") VALUES (2, 20010, 'HZD-20260704-00001', '2026-07-04', '测试', '测试', '0', NULL, NULL, NULL, NULL, 1001, '2026-07-04 20:40:25', '2026-07-04 20:40:30', 26, '2026-07-04 20:40:30.898817+08') RETURNING "id"
20:40:30.934infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ErpTicketChangeLogs', 2962, 'a:17:{s:2:"id";i:2962;s:9:"serial_no";s:18:"HZD-20260704-00001";s:11:"ticket_type";i:20010;s:10:"wrote_date";s:10:"2026-07-04";s:6:"status";i:2;s:11:"supplier_id";N;s:9:"client_id";N;s:8:"abstract";s:6:"测试";s:11:"description";s:6:"测试";s:9:"verify_at";s:29:"2026-07-04 20:40:30.898817+08";s:10:"created_by";i:1001;s:10:"created_at";s:19:"2026-07-04 20:40:25";s:10:"updated_at";s:19:"2026-07-04 20:40:30";s:10:"contact_id";N;s:7:"user_id";N;s:6:"amount";s:1:"0";s:9:"object_id";i:26;}', '', 1001, '111.194.208.14')
20:40:30.935traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
20:40:30.935traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
20:40:30.935infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_erp_ticket_change_log_handlers" ("erp_ticket_change_log_id", "user_id") VALUES (2962, 1001)
20:40:30.936infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
20:40:30.937infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
20:40:30.937traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
20:40:30.937traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
20:40:30.938infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "description") VALUES (6, 'status', 26, 20010, 1001, 'now()', '["\u5218\u4eba\u8bda"]', '[]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u540c\u610f\u4e86","d3":"\u83b7\u8d60\u5355\u7533\u8bf7","d4":""}')
20:40:30.938infoyii\db\Command::querySELECT "id" FROM "a57be577deb434"."tbl_unread_comments" WHERE ("object_type"=20010) AND ("object_id"=26) AND ("remind_user_id"=1001) AND ("is_read"=FALSE)
20:40:30.965traceyii\db\Transaction::commitCommit transaction
20:40:30.967traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
20:40:30.968traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
20:40:30.968infoyii\db\Command::queryINSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "url", "request", "response", "php_error", "time", "duration") VALUES (200, 'a57be577deb434', 1001, 5, 'vue/erp-purchase-gift/verify', '{"id":"26","description":"","web_access_token":"wx4hXh9V-DIrZeBjtGStxgwx5HvDWnxk"}', '{"code":2000,"result":"","status":1,"msg":[{"name":"success","success":"\u83b7\u8d60\u5355\u5ba1\u6279\u901a\u8fc7","error":""}],"mod":0,"ip":"111.194.208.14","ua":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10.15; rv:151.0) Gecko\/20100101 Firefox\/151.0"}', FALSE, '2026-07-04 20:40:30', 85215232) RETURNING "id"
20:40:30.972traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
20:40:30.972traceyii\redis\Connection::executeCommandExecuting Redis Command: SET