Authored by chunhua.zhang

add

@@ -214,7 +214,7 @@ function helper_table_contains(t, value) @@ -214,7 +214,7 @@ function helper_table_contains(t, value)
214 214
215 function limit_ufo_local() 215 function limit_ufo_local()
216 if ngx.var.host == '2.yohobuy.com' or ngx.var.host == 'ufoapi.yohoops.org' or ngx.var.host == '2gray.yohobuy.com' then 216 if ngx.var.host == '2.yohobuy.com' or ngx.var.host == 'ufoapi.yohoops.org' or ngx.var.host == '2gray.yohobuy.com' then
217 - local t_local_methods = { 'ufo.coupons.send' } --only allow local access 217 + local t_local_methods = { } --only allow local access
218 local m = http_request.get_method() 218 local m = http_request.get_method()
219 if helper_table_contains(t_local_methods, m) then 219 if helper_table_contains(t_local_methods, m) then
220 local is_local = limit_local:check_local_access() 220 local is_local = limit_local:check_local_access()