소스 검색

增加初始化省市区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(),