Authored by chunhua.zhang

no message

... ... @@ -75,9 +75,7 @@ function get_redirect_url()
init_read_body()
-- get params
local percentage = switch_controller.get_percentage()
local force_uid = switch_controller.get_force_uid()
-- get uid
local uid = 0
local str_uid = http_request.get_req_param("uid")
... ... @@ -90,6 +88,7 @@ function get_redirect_url()
end
--- hash percentage
local percentage = switch_controller.get_percentage()
if percentage >= 1 then
local hash = uid % 100
if hash <= percentage then
... ...