调整nps用户调研接口,测试30分钟
This commit is contained in:
parent
eb1a3f8e23
commit
c60e80da98
|
@ -27,4 +27,5 @@ json.(@user, :show_email, :show_department, :show_location, :show_super_descript
|
|||
json.message_unread_total @message_unread_total
|
||||
json.has_trace_user @user.trace_user.present?
|
||||
json.is_new @user.login.present? && params[:login].to_s.include?("#{@user.login}")
|
||||
json.nps EduSetting.get("nps-on-off-switch").to_s == 'true' && UserNp.where(user_id: current_user.id).where("created_at >= ?", (Time.now - 30.days).beginning_of_day ).blank?
|
||||
# json.nps EduSetting.get("nps-on-off-switch").to_s == 'true' && UserNp.where(user_id: current_user.id).where("created_at >= ?", (Time.now - 30.days).beginning_of_day ).blank?
|
||||
json.nps EduSetting.get("nps-on-off-switch").to_s == 'true' && UserNp.where(user_id: current_user.id).where("created_at >= ?", Time.now - 30.minutes ).blank?
|
||||
|
|
Loading…
Reference in New Issue