diff --git a/app/views/shixun_lists/index.json.jbuilder b/app/views/shixun_lists/index.json.jbuilder index 08baeabf9..e926ee927 100644 --- a/app/views/shixun_lists/index.json.jbuilder +++ b/app/views/shixun_lists/index.json.jbuilder @@ -18,6 +18,7 @@ json.shixun_list do json.title highlights.delete(:name)&.join('...') || obj.searchable_title json.description highlights[:description]&.join('...') || Util.extract_content(obj.description)[0..300]&.gsub(atta_reg, '') + json.pic url_to_avatar(obj) json.content highlights json.level level_to_s(obj.trainee) json.subjects obj.subjects.uniq do |subject|