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.
@@ -84647,18 +84647,25 @@ class JieYueService {
84647
84647
  } = readData;
84648
84648
  let [validStart, validEnd] = Valid.split('-');
84649
84649
  let chineseName = '',
84650
- englishName = '';
84650
+ englishName = '',
84651
+ cardType = '1',
84652
+ nationality = '中国';
84651
84653
  // 外国人永居证
84652
84654
  let foreignersIDCard = IdCardCommonUtils.isForeignersIdCard(idNumber);
84653
84655
  if (foreignersIDCard) {
84654
84656
  idNumber = idNumber.startsWith('9') ? idNumber : idNumber.substring(0, idNumber.length - 3);
84655
- englishName = name;
84656
- chineseName = police || '无中文姓名';
84657
- name = police || name; // 捷宇高拍仪读卡 外国人永居证时 发证机关(Agency),该值为中文名
84658
- police = '中华人民共和国国家移民管理局';
84657
+ englishName = name; // 英文名
84658
+ chineseName = police || '无中文姓名'; // 中文名,没有时为 无中文姓名
84659
+ name = police || name; // 姓名,先读中文名,没有时读英文名 捷宇高拍仪读卡 外国人永居证时 发证机关(Agency),该值为中文名
84660
+ police = '中华人民共和国国家移民管理局'; // 发证机关,读不到,默认
84661
+ cardType = '9'; // 永居证
84662
+ nationality = ''; // 读不到,暂时为空
84659
84663
  }
84664
+
84660
84665
  const IDCardData = {
84661
84666
  info: {
84667
+ cardType,
84668
+ nationality,
84662
84669
  name,
84663
84670
  chineseName,
84664
84671
  englishName,