Commit 8c99f5c1 by liangyuzhe

类型

parent 04a739b7
......@@ -26,7 +26,7 @@ class PushsController < ApplicationController
igetui_opts = JSON.parse(params[:igetui_opts]) rescue {}
message = JSON.parse(params[:message]) rescue {}
user_id = JSON.parse(params[:user_id]) rescue []
user_id = JSON.parse(params[:user_id]) rescue ""
user_device_exist = UserDevice.where(user_id: user_id).exists?
unless user_device_exist
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment