Merge branch 'szzh' into develop

hjq_dianming_api v20160202_4
cxt 10 years ago
commit 4dd1c23c81

@ -6,7 +6,7 @@ class Subdomain
def matches?(request)
puts request.path_parameters
o = Secdomain.where(subname: request.subdomain).first
o = ::Secdomain.where(subname: request.subdomain).first
if(@opt[:sub])
if o && o.sub_type == 2 && request.path_parameters[:sub_dir_name] == 'news'

Loading…
Cancel
Save