Sha256: aff436db27c5b176e84f64171b6d9700cb300053698682a9a5e52ed5c7eea155
Contents?: true
Size: 740 Bytes
Versions: 219
Compression:
Stored size: 740 Bytes
Contents
json.data do json.array! @data do |d| if d.is_a? EducodeSales::Teacher json.value "t-#{d.id}" if d.department.present? json.name "#{d.name}--(#{d.department&.school&.name}--#{d.department&.name}) (来源运营教师列表)" else json.name "#{d.name}--(来源运营教师列表)" end json.extras [d.professional_title, d.job] else json.value "u-#{d.id}" if d.department_id.present? json.name "#{d.real_name}--(#{d.user_extension.department&.school&.name}-#{d.user_extension.department&.name}) (来源头歌用户)" else json.name "#{d.real_name}--(来源头歌用户)" end json.extras "" end end end json.code 0 json.msg 'succcess'
Version data entries
219 entries across 219 versions & 1 rubygems