github.com/easysoft/zendata@v0.0.0-20240513203326-705bd5a7fd67/yaml/phone/v1.yaml (about)

     1  title: 电话号码
     2  desc:
     3  author: wwccss
     4  version: 2.0
     5  
     6  field: field1
     7  instances:
     8    - instance: telephone_china
     9      note: 固话
    10      fields:
    11      - field: num
    12        range: 60000000-99999999:R
    13  
    14    - instance: telephone_china_with_city_code
    15      note: 固话带区号
    16      fields:
    17        - field: areacode_city
    18          from: areacode.v1.city
    19          select: code
    20          where: id > 0
    21          postfix: "-"
    22        - field: num
    23          range: 60000000-99999999:R
    24  
    25    - instance: telephone_china_with_country_code
    26      note: 固话带国家区号
    27      fields:
    28        - field: areacode_country
    29          from: areacode.v1.country
    30          select: code
    31          where: id > 0
    32          postfix: "-"
    33        - field: areacode_city
    34          from: areacode.v1.city
    35          select: code
    36          where: id > 0
    37          postfix: "-"
    38        - field: num
    39          range: 60000000-99999999:R
    40  
    41    - instance: telephone_400
    42      note: 400免费客服
    43      fields:
    44        - field: num
    45          range: 6000000-9999999:R
    46          prefix: 400
    47  
    48    - instance: telephone_service
    49      note: 服务电话
    50      fields:
    51        - field: num
    52          range: 6000-9999:R
    53          prefix: 9
    54  
    55    - instance: cellphone
    56      note: 手机号码
    57      fields:
    58        - field: prefix
    59          range: zone.txt
    60        - field: num
    61          range: 60000000-99999999:R
    62  
    63    - instance: qq
    64      note: QQ号
    65      fields:
    66        - field: prefix
    67          range: 6
    68        - field: num
    69          range: 00000-9999999999:R