Переглянути джерело

Merge branch 'master' of http://192.168.3.207:10080/group3/SwordFish_Interface_Service

jiaojiao7 4 роки тому
батько
коміт
463e066f10
1 змінених файлів з 16 додано та 0 видалено
  1. 16 0
      static/templates/userRecharge.html

+ 16 - 0
static/templates/userRecharge.html

@@ -74,6 +74,22 @@
                 r = null;
                 return context == null || context == "" || context == "undefined" ? "" : context;
             }
+            function submit(param, rType, url, hearders) {
+                $.ajax({
+                    url: url,
+                    type: rType,
+                    headers: hearders,
+                    data: param,
+                    success: function (r) {
+                        $("#resultContent").text("");
+                        if (r.code === 1000) {
+                            $("#resultContent").text(r.msg);
+                        } else {
+                            $("#resultContent").text(r.msg);
+                        }
+                    }
+                })
+            }
         </script>
     </body>
     </html>