17:43:19.419 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
17:43:19.419 | trace | yii\base\Module::getModule | Loading module: debug |
17:43:19.419 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
17:43:19.419 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
17:43:19.419 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
17:43:19.419 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:43:19.420 | trace | yii\base\Module::getModule | Loading module: gii |
17:43:19.420 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
17:43:19.420 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
17:43:19.420 | trace | yii\web\Application::handleRequest | Route requested: 'v2/supplier/get-edit' |
17:43:19.420 | trace | yii\base\Module::getModule | Loading module: v2 |
17:43:19.420 | info | yii\web\Session::open | Session started |
17:43:19.421 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
17:43:19.423 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "access_token"='c1glbS3oPWuii9fAd_nsZY9pK1ntZvhw' |
17:43:19.426 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:43:19.426 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:43:19.426 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:43:19.426 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:43:19.426 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5446 |
17:43:19.428 | trace | yii\base\Controller::runAction | Route to run: v2/supplier/get-edit |
17:43:19.428 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\v2\controllers\SupplierController::actionGetEdit() |
17:43:19.428 | info | yii\db\Command::query | SELECT DISTINCT "s".* FROM "a57be577deb434"."tbl_suppliers" "s" LEFT JOIN "a57be577deb434"."tbl_contacts" "c" ON c.supplier_id = s.id and c.supplier_id is not null WHERE "s"."id"='718' GROUP BY "s"."id" |
17:43:19.431 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:43:19.431 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:43:19.431 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id"=1011 |
17:43:19.432 | info | yii\db\Command::query | SELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id"=1011) |
17:43:19.432 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_departments" WHERE "id"=3 |
17:43:19.433 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id"=718 |
17:43:19.433 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=6) AND ("id" IN (8, 1, 2, 6, 101, 107, 114, 165, 179, 137, 141, 142, 184, 194, 2100000000, 349, 373)) |
17:43:19.434 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_company_natures" WHERE "id"=4 |
17:43:19.434 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "address1" AS "name", "zip" FROM "a57be577deb434"."tbl_addresses" WHERE "id"=4228 |
17:43:19.435 | info | yii\db\Command::query | SELECT "object_id", count(*) as comment FROM "a57be577deb434"."tbl_comments" WHERE ("object_type"=12) AND ("object_id"=718) GROUP BY "object_id" |
17:43:19.456 | info | yii\db\Command::query | SELECT "object_id", count(*) AS unread FROM "a57be577deb434"."tbl_unread_comments" WHERE ("object_type"=12) AND (remind_user_id = 5446 AND is_read = false) AND ("object_id"=718) GROUP BY "object_id" |
17:43:19.474 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:43:19.475 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking permission: visitSupplier |
17:43:19.475 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: StoreKeeper |
17:43:19.475 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: SalesDirector |
17:43:19.475 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: ProjectManager |
17:43:19.475 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: 人力资源 |
17:43:19.475 | info | yii\db\Command::query | SELECT EXISTS(SELECT DISTINCT s.* FROM "a57be577deb434"."tbl_suppliers" "s" WHERE "s"."id"=718) |
17:43:19.475 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_user_visit_suppliers" WHERE ("user_id"=5446) AND ("supplier_id"=718)) |
17:43:19.476 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:43:19.477 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:43:19.477 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking permission: updateSupplier |
17:43:19.477 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
17:43:19.477 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: TechDirector |
17:43:19.477 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: SalesDirector |
17:43:19.477 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: StoreKeeper |
17:43:19.477 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: ProjectManager |
17:43:19.477 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: 电话销售 |
17:43:19.477 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Engineer |
17:43:19.477 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: GM |
17:43:19.477 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: SalesManager |
17:43:19.477 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: AccountManager |
17:43:19.477 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: CommercialAttache |
17:43:19.477 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Treasurer |
17:43:19.477 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking permission: deleteSupplier |
17:43:19.477 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
17:43:19.477 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Treasurer |
17:43:19.477 | info | yii\db\Command::query | SELECT "id" AS "key", "name" FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=6) AND ("is_delete"=FALSE) ORDER BY "sort", "id" |
17:43:19.478 | info | yii\db\Command::query | SELECT "id" AS "key", "name" FROM "a57be577deb434"."tbl_company_natures" WHERE "is_delete"=FALSE ORDER BY "order" |
17:43:19.479 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:43:19.479 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:43:19.479 | 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', 5446, 0, 266, 'v2/supplier/get-edit', '{"access_token":"c1glbS3oPWuii9fAd_nsZY9pK1ntZvhw","device_type":"0","version_code":"266","id":"718","token":"ef95ca9b88defdc1a86ee06a5949b1e6","posttime":"1756460600"}', '{"code":200,"data":{"model":{"id":718,"name":"\u5317\u4eac\u7406\u60f3\u4e91\u5929\u79d1\u6280\u6709\u9650\u516c\u53f8","abbr":null,"pinyin_shortcut":"bjlxytkjyxgs","main_products":"\u8054\u60f3\u670d\u52a1\u5668","company_nature":4,"website":"","established_at":"2009-03-18","capital":200,"corp_rep":"\u7f57\u4e3d\u82b3","reg_address":null,"telephone":"010-62551599","fax":"","description":"\u4f01\u4e1a\u540d\u79f0\uff1a\u5317\u4eac\u7406\u60f3\u4e91\u5929\u79d1\u6280\u6709\u9650\u516c\u53f8 \n\u4f01\u4e1a\u7a0e\u53f7\uff1a91110108686928558U \n\u4f01\u4e1a\u5730\u5740\uff1a\u5317\u4eac\u5e02\u6d77\u6dc0\u533a\u82cf\u5dde\u885720\u53f7\u96622\u53f7\u697c\u4e09\u5c423038 \n\u7535\u8bdd\u53f7\u7801\uff1a010-62551599 \n\u5f00\u6237\u94f6\u884c\uff1a\u4e2d\u56fd\u5de5\u5546\u94f6\u884c\u6d77\u6dc0\u652f\u884c\u8425\u4e1a\u90e8 \n\u94f6\u884c\u8d26\u6237\uff1a0200049609200565967","main_contact":null,"created_by":1011,"created_at":"2025-08-01 13:22:33","updated_at":"2025-08-01 13:22:33","working_address":4228,"capital_currency":"rmb","payment_cycle":"30\u5929","account_number":"\u5f00\u6237\u94f6\u884c\uff1a\u4e2d\u56fd\u5de5\u5546\u94f6\u884c\u6d77\u6dc0\u652f\u884c\u8425\u4e1a\u90e8 \n\u94f6\u884c\u8d26\u6237\uff1a0200049609200565967","createdBy":{"id":1011,"key":1011,"name":"\u97e9\u96c5\u82b3","sex":"F","department_id":3,"avatar":{"id":17,"user_id":1011,"name":"\/files\/cdn\/a57be577deb434\/avatar\/b54747f4-248d-380e-93bc-0f62f769e70d.png"},"department":{"id":3,"key":3,"name":"\u5546\u52a1\u90e8"}},"supplierTags":{"id":107,"key":107,"name":"\u4ee3\u7406\u5546"},"companyNature":{"id":4,"key":4,"name":"\u6c11\u8425\u4f01\u4e1a"},"workingAddress":{"id":4228,"key":4228,"name":"\u5317\u4eac\u5e02\u6d77\u6dc0\u533a\u82cf\u5dde\u885720\u53f7\u96622\u53f7\u697c\u4e09\u5c423038","zip":""},"commentCount":null,"unreadComments":null,"can_update":false,"can_delete":false,"unread":0,"bgcolor":"#89c541"},"options":{"Suppliers[supplierTags]":{"key":"Suppliers[supplierTags]","name":"\u4f9b\u5e94\u5546\u7c7b\u578b","value":[{"key":105,"name":"\u5382\u5546"},{"key":106,"name":"\u5206\u9500\u5546"},{"key":107,"name":"\u4ee3\u7406\u5546"}]},"Suppliers[company_nature]":{"key":"Suppliers[company_nature]","name":"\u516c\u53f8\u6027\u8d28","value":[{"key":1,"name":"\u56fd\u6709\u4e0a\u5e02"},{"key":2,"name":"\u6c11\u8425\u4e0a\u5e02"},{"key":3,"name":"\u56fd\u6709\u4f01\u4e1a"},{"key":4,"name":"\u6c11\u8425\u4f01\u4e1a"},{"key":6,"name":"\u5916\u8d44\u4f01\u4e1a"}]}}},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}]}', FALSE, '2025-08-29 17:43:19') RETURNING "id" |