Explorar o código

增加初始化省市区sql文件

peiguo %!s(int64=5) %!d(string=hai) anos
pai
achega
20440becce
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      whepi-ui/templates/home/home.ftl
  2. 1 1
      whepi-ui/templates/yeweihui/home.ftl

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

@@ -2,7 +2,7 @@
 <#include "/home/frag.head.ftl" />
 
 <input class="weui-tab">
-    <input id="userId" type="text" hidden="hidden" value=${user_id}/>
+    <input id="userId" type="text" hidden="hidden" value=${user_id!}/>
     <div class="weui-tab__bd">
         <div id="tab1" class="weui-tab__bd-item weui-tab__bd-item--active">
             <#include "/home/ribao.ftl" /></div>

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

@@ -2,7 +2,7 @@
 <#include "/home/frag.head.ftl" />
 
 <div class="weui-tab">
-    <input id="userId" type="text" hidden="hidden" value=${user_id}/>
+    <input id="userId" type="text" hidden="hidden" value=${user_id!}/>
     <div class="weui-tab__bd">
         <div id="tab1" class="weui-tab__bd-item weui-tab__bd-item--active">
             <#include "/yeweihui/ribaoDy.ftl" /></div>