From e6d1a127a96a40b8d811e0ae3e4d8ab8f2905cb5 Mon Sep 17 00:00:00 2001 From: sw <939547590@qq.com> Date: Fri, 24 Oct 2014 11:37:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DMicros=E7=89=88=E5=AD=A6?= =?UTF-8?q?=E6=A0=A1=E5=88=97=E8=A1=A8=E6=97=A0=E6=B3=95=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E7=9A=84BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/school/index.html.erb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/views/school/index.html.erb b/app/views/school/index.html.erb index 15a76a3d4..97035ebc2 100644 --- a/app/views/school/index.html.erb +++ b/app/views/school/index.html.erb @@ -5,7 +5,7 @@ $("#province").html(""); $.ajax({ type :"POST", - url :'/school/get_province', + url :'http://<%= Setting.host_name %>/school/get_province', data: "send", success: function(data, textStatus){ @@ -22,7 +22,7 @@ function get_school(value){ $.ajax({ type :"POST", - url :'/school/get_schoollist/'+encodeURIComponent(value), + url :'http://<%= Setting.host_name %>/school/get_schoollist/'+encodeURIComponent(value), data :'text', success: function(data){ $("#schoollist").html(data); @@ -39,7 +39,7 @@ @@ -57,7 +57,7 @@ //alert(province); $.ajax({ type :"POST", - url :'/school/search_school/?key_word='+encodeURIComponent(value)+'&province='+province, + url :'http://<%= Setting.host_name %>/school/search_school/?key_word='+encodeURIComponent(value)+'&province='+province, data :'text', success: function(data){ $("#schoollist").html(data); @@ -80,7 +80,7 @@ <%= link_to l(:label_all_schol),school_index_path %> <% if User.current.logged? %> - <%= l(:label_my_school) %> + <%= l(:label_my_school) %> <% end %>