diff options
| author | CoolPlayLin <[email protected]> | 2023-09-24 01:45:34 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-09-23 17:45:34 +0000 |
| commit | 74eecccd3af702d8a1d8072f94032ccb54293cb1 (patch) | |
| tree | 0d09c82f95f21bc16d9664ff28494b1bde9b7d40 /src | |
| parent | 48a7f54caaaded0a50b3729473e9a6627440fabb (diff) | |
| download | faker-74eecccd3af702d8a1d8072f94032ccb54293cb1.tar.xz faker-74eecccd3af702d8a1d8072f94032ccb54293cb1.zip | |
feat(locale): add unionpay credit card for zh_CN (#2338)
Diffstat (limited to 'src')
| -rw-r--r-- | src/locales/zh_CN/finance/credit_card/index.ts | 2 | ||||
| -rw-r--r-- | src/locales/zh_CN/finance/credit_card/unionpay.ts | 8 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/locales/zh_CN/finance/credit_card/index.ts b/src/locales/zh_CN/finance/credit_card/index.ts index 043cd154..83f241e0 100644 --- a/src/locales/zh_CN/finance/credit_card/index.ts +++ b/src/locales/zh_CN/finance/credit_card/index.ts @@ -4,10 +4,12 @@ */ import type { FinanceDefinition } from '../../../..'; import mastercard from './mastercard'; +import unionpay from './unionpay'; import visa from './visa'; const credit_card: FinanceDefinition['credit_card'] = { mastercard, + unionpay, visa, }; diff --git a/src/locales/zh_CN/finance/credit_card/unionpay.ts b/src/locales/zh_CN/finance/credit_card/unionpay.ts new file mode 100644 index 00000000..b6bc8e70 --- /dev/null +++ b/src/locales/zh_CN/finance/credit_card/unionpay.ts @@ -0,0 +1,8 @@ +export default [ + '62#############L', + '67#############L', + '81#############L', + '81##############L', + '81###############L', + '81################L', +]; |
