feat(barcode): 多条码管理(迁移 + GTIN 校验 + 后台/公开 API + 后台 UI) #5

Merged
lixu merged 3 commits from devin/1781934649-multi-barcode into main 2026-06-20 15:53:43 +08:00
Showing only changes of commit 5b9338175e - Show all commits
+1 -1
View File
@@ -34,7 +34,7 @@ func TestNormalizeRejects(t *testing.T) {
{"", ErrEmpty}, {"", ErrEmpty},
{"12ab5678", ErrFormat}, {"12ab5678", ErrFormat},
{"12345", ErrFormat}, {"12345", ErrFormat},
{"5449000000997", ErrCheck}, // bad check digit {"5449000000997", ErrCheck}, // bad check digit
{"2012345678903", ErrRestricted}, // 20-29 in-store EAN-13 {"2012345678903", ErrRestricted}, // 20-29 in-store EAN-13
{"0212345678909", ErrRestricted}, // 02x variable measure {"0212345678909", ErrRestricted}, // 02x variable measure
{"212345678909", ErrRestricted}, // UPC number system 2 {"212345678909", ErrRestricted}, // UPC number system 2