Commit f70c78cc by felix

每日一更

parent 4f7b6324
...@@ -5,7 +5,7 @@ require_once(PLUGIN_DIR . 'Tools/Image.php'); ...@@ -5,7 +5,7 @@ require_once(PLUGIN_DIR . 'Tools/Image.php');
class SearchDao class SearchDao
{ {
public static function ajax_serachCity() public static function ajax_searchCity()
{ {
wp_send_json(SearchDao::searchCity($_GET["cityId"], $_GET['districtId'])); wp_send_json(SearchDao::searchCity($_GET["cityId"], $_GET['districtId']));
} }
......
...@@ -73,8 +73,8 @@ function tospur_register_script_style(){ ...@@ -73,8 +73,8 @@ function tospur_register_script_style(){
function tospur_ajax_set() function tospur_ajax_set()
{ {
add_action('wp_ajax_serachCity', 'SearchDao::ajax_serachCity'); add_action('wp_ajax_serachCity', 'SearchDao::ajax_searchCity');
add_action('wp_ajax_nopriv_serachCity', 'SearchDao::ajax_serachCity'); add_action('wp_ajax_nopriv_serachCity', 'SearchDao::ajax_searchCity');
add_action('wp_ajax_searchArea', 'SearchDao::ajax_searchArea'); add_action('wp_ajax_searchArea', 'SearchDao::ajax_searchArea');
add_action('wp_ajax_nopriv_searchArea', 'SearchDao::ajax_searchArea'); add_action('wp_ajax_nopriv_searchArea', 'SearchDao::ajax_searchArea');
add_action('wp_ajax_searchBuildProperty', 'SearchDao::ajax_searchBuildProperty'); add_action('wp_ajax_searchBuildProperty', 'SearchDao::ajax_searchBuildProperty');
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<html> <html>
<head lang="en"> <head lang="en">
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/> <meta name="viewport" content="width=360, user-scalable=0"/>
<meta name="apple-mobile-web-app-capable" content="yes"/> <meta name="apple-mobile-web-app-capable" content="yes"/>
<meta name="apple-mobile-web-app-status-bar-style" content="black"/> <meta name="apple-mobile-web-app-status-bar-style" content="black"/>
<title>忘记密码</title> <title>忘记密码</title>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<html> <html>
<head lang="en"> <head lang="en">
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/> <meta name="viewport" content="width=360, user-scalable=0"/>
<meta name="apple-mobile-web-app-capable" content="yes"/> <meta name="apple-mobile-web-app-capable" content="yes"/>
<meta name="apple-mobile-web-app-status-bar-style" content="black"/> <meta name="apple-mobile-web-app-status-bar-style" content="black"/>
<title></title> <title></title>
......
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