Преглед изворни кода

增加初始化省市区sql文件

peiguo пре 5 година
родитељ
комит
4c8a6274e0
2 измењених фајлова са 2 додато и 3 уклоњено
  1. 0 1
      whepi-ui/templates/home/home.ftl
  2. 2 2
      whepi-ui/templates/user/home.ftl

+ 0 - 1
whepi-ui/templates/home/home.ftl

@@ -39,7 +39,6 @@
 <script>
     <#include "/home/ribao.js" />
     <#include "/home/qiuzhu.js" />
-    var userid = ${user};
     (function ($) {
 
         $(function () {

+ 2 - 2
whepi-ui/templates/user/home.ftl

@@ -296,7 +296,7 @@
                             url: '/home/saveUser.json',
                             type: "post",
                             data: {
-                                "userId": 111,
+                                "userId": userId,
                                 "userType": $('input:radio:checked').val(),
                                 "linkman": $("#linkman").val(),
                                 "phone": $("#phone").val(),
@@ -315,7 +315,7 @@
                 url: '/home/saveUser.json',
                 type: "post",
                 data: {
-                    "userId": 111,
+                    "userId": userId,
                     "userType": $('input:radio:checked').val(),
                     "linkman": $("#linkman").val(),
                     "phone": $("#phone").val(),