xuzhiheng 4 년 전
부모
커밋
65bc2b8c6c
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      static/templates/login.html
  2. 1 1
      static/templates/userRecharge.html

+ 1 - 1
static/templates/login.html

@@ -111,7 +111,7 @@
                                 str += '<td style="width: 100px">' + item.secret_key + '</td>';
                                 str += '<td style="width: 100px">' + item.phone + '</td>';
                                 str += '<td style="width: 100px">' + item.money + '</td>';
-                                str += '<td class="handle" style="width: 100px"><a href="/page/userRecharge">充值</a><a href="/page/chooseProductPage">购买产品</a></td>';
+                                str += '<td class="handle" style="width: 100px"><a href="/page/userRecharge?appId='+ item.app_id +'">充值</a><a href="/page/chooseProductPage">购买产品</a></td>';
 
                                 str += '</tr>';
                             }

+ 1 - 1
static/templates/userRecharge.html

@@ -32,7 +32,7 @@
         </div>
         <div id="resultContent"></div>
         <script>
-            var appid = getParam("id");
+            var appid = getParam("appId");
             if (appid !== "") {
                 $.ajax({
                     url: "/manage/user/userProductList",