=== RUN TestShortlistDelete 您正在使用func Viper()传递的值,config的路径为D:\lq\Smart Parking\lc_garage\config.yaml 2026/07/21 16:07:44 C:/Users/longc/go/pkg/mod/github.com/glebarez/sqlite@v1.11.0/migrator.go:274 SLOW SQL >= 200ms [251.373ms] [rows:0] CREATE INDEX `idx_payment_record_record_id` ON `payment_record`(`record_id`) [github.com/flipped-aurora/gin-vue-admin/server]2026/07/21 - 16:07:46.005 info D:/lq/Smart Parking/lc_garage/internal/initialize/gorm.go:67 register table success 2026/07/21 16:08:01 D:/lq/Smart Parking/lc_garage/internal/initialize/seed.go:436 SLOW SQL >= 200ms [241.078ms] [rows:1] INSERT INTO casbin_rule (ptype, v0, v1, v2, v3, v4, v5) VALUES ("p", "9527", "/sysDictionaryDetail/deleteSysDictionaryDetail", "DELETE", "", "", "") [github.com/flipped-aurora/gin-vue-admin/server]2026/07/21 - 16:08:04.786 info D:/lq/Smart Parking/lc_garage/internal/initialize/seed.go:498 system data seeded successfully 2026/07/21 16:08:09 D:/lq/Smart Parking/lc_garage/test/testutil/testenv.go:158 SLOW SQL >= 200ms [200.149ms] [rows:1] INSERT INTO `uhf_reader` (`created_at`,`updated_at`,`deleted_at`,`device_code`,`device_name`,`device_type`,`connect_type`,`ip_address`,`port`,`com_port`,`baud_rate`,`status`,`is_active`,`description`,`parking_lot_id`,`channel_id`) VALUES ("2026-07-21 16:08:09.294","2026-07-21 16:08:09.294",NULL,"UHF001","测试UHF读卡器","TCP","tcp","127.0.0.1",8000,"",9600,"offline",true,"",1,1) RETURNING `id`,`last_online_time` 2026/07/21 16:08:09 D:/lq/Smart Parking/lc_garage/test/testutil/testenv.go:175 record not found [0.504ms] [rows:0] SELECT * FROM `vehicle_type` WHERE (is_system = true AND name != "临时车") AND `vehicle_type`.`deleted_at` IS NULL ORDER BY `vehicle_type`.`id` LIMIT 1 无鉴权插件安装==》 &{[0x7ff6a3896980] / 0xc0016f1860 false} 鉴权插件安装==》 &{[0x7ff6a3896980] / 0xc0016f1860 false} [github.com/flipped-aurora/gin-vue-admin/server]2026/07/21 - 16:08:09.986 info D:/lq/Smart Parking/lc_garage/internal/initialize/router.go:68 register swagger handler [github.com/flipped-aurora/gin-vue-admin/server]2026/07/21 - 16:08:09.987 info D:/lq/Smart Parking/lc_garage/internal/initialize/router.go:116 router register success 2026/07/21 16:08:09 D:/lq/Smart Parking/lc_garage/internal/service/vehicle/vehicle.go:30 record not found [0.000ms] [rows:0] SELECT * FROM `vehicle` WHERE (plate_number = "JingDel001" OR rfid_tag = "RFID_DELETE") AND `vehicle`.`deleted_at` IS NULL ORDER BY `vehicle`.`id` LIMIT 1 --- FAIL: TestShortlistDelete (31.33s) panic: interface conversion: interface {} is nil, not float64 [recovered, repanicked] goroutine 50 [running]: testing.tRunner.func1.2({0x7ff6a4518000, 0xc001c3cd20}) C:/Users/longc/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.windows-amd64/src/testing/testing.go:1872 +0x239 testing.tRunner.func1() C:/Users/longc/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.windows-amd64/src/testing/testing.go:1875 +0x35b panic({0x7ff6a4518000?, 0xc001c3cd20?}) C:/Users/longc/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.windows-amd64/src/runtime/panic.go:783 +0x132 wails-app/test/testutil.TestShortlistDelete(0xc000106fc0) D:/lq/Smart Parking/lc_garage/test/testutil/e2e_edge_cases_test.go:242 +0x329 testing.tRunner(0xc000106fc0, 0x7ff6a4d66bf0) C:/Users/longc/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.windows-amd64/src/testing/testing.go:1934 +0xc3 created by testing.(*T).Run in goroutine 1 C:/Users/longc/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.windows-amd64/src/testing/testing.go:1997 +0x44b FAIL wails-app/test/testutil 31.635s FAIL