Merge branch 'dev_aliyun' of http://bdgit.educoder.net/Hjqreturn/educoder into dev_aliyun
commit
5b4d9e17d3
@ -1,8 +1,11 @@
|
|||||||
#json.partial! "users/users_list", users: @users
|
#json.partial! "users/users_list", users: @users
|
||||||
json.total_count @total_count
|
json.user_count @user_count
|
||||||
|
json.users do
|
||||||
json.array! @users do |user|
|
json.array! @users do |user|
|
||||||
json.user_id user.id
|
json.user_id user.id
|
||||||
json.identify user.identity
|
json.identify user.identity
|
||||||
json.nickname user.lastname
|
json.nickname user.real_name
|
||||||
json.school_name user.school_name
|
json.school_name user.school_name
|
||||||
end
|
end
|
||||||
|
|
||||||
|
end
|
||||||
|
Loading…
Reference in new issue