Commit 0386c4a0 by liangyuzhe

add whit_list

parent 49bbe94d
...@@ -16,7 +16,7 @@ class PushsController < ApplicationController ...@@ -16,7 +16,7 @@ class PushsController < ApplicationController
end end
def single def single
param! :app_name, String, required: true param! :app_name, String, required: true, in: %w(crm)
# param! :device_ids_opts, String, required: true # param! :device_ids_opts, String, required: true
param! :message, String, required: true param! :message, String, required: true
param! :igetui_opts, String param! :igetui_opts, String
...@@ -46,7 +46,7 @@ class PushsController < ApplicationController ...@@ -46,7 +46,7 @@ class PushsController < ApplicationController
end end
def batch def batch
param! :app_name, String, required: true param! :app_name, String, required: true, in: %w(crm)
# param! :device_ids_opts, String, required: true # param! :device_ids_opts, String, required: true
param! :message, String, required: true param! :message, String, required: true
param! :igetui_opts, String param! :igetui_opts, String
......
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