unify-external-plugin-platform 0.0.2-52 → 0.0.2-53

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -84637,18 +84637,25 @@ class JieYueService {
84637
84637
  } = readData;
84638
84638
  let [validStart, validEnd] = Valid.split('-');
84639
84639
  let chineseName = '',
84640
- englishName = '';
84640
+ englishName = '',
84641
+ cardType = '1',
84642
+ nationality = '中国';
84641
84643
  // 外国人永居证
84642
84644
  let foreignersIDCard = IdCardCommonUtils.isForeignersIdCard(idNumber);
84643
84645
  if (foreignersIDCard) {
84644
84646
  idNumber = idNumber.startsWith('9') ? idNumber : idNumber.substring(0, idNumber.length - 3);
84645
- englishName = name;
84646
- chineseName = police || '无中文姓名';
84647
- name = police || name; // 捷宇高拍仪读卡 外国人永居证时 发证机关(Agency),该值为中文名
84648
- police = '中华人民共和国国家移民管理局';
84647
+ englishName = name; // 英文名
84648
+ chineseName = police || '无中文姓名'; // 中文名,没有时为 无中文姓名
84649
+ name = police || name; // 姓名,先读中文名,没有时读英文名 捷宇高拍仪读卡 外国人永居证时 发证机关(Agency),该值为中文名
84650
+ police = '中华人民共和国国家移民管理局'; // 发证机关,读不到,默认
84651
+ cardType = '9'; // 永居证
84652
+ nationality = ''; // 读不到,暂时为空
84649
84653
  }
84654
+
84650
84655
  const IDCardData = {
84651
84656
  info: {
84657
+ cardType,
84658
+ nationality,
84652
84659
  name,
84653
84660
  chineseName,
84654
84661
  englishName,