xieruidong 2 年之前
父节点
当前提交
379ac45cfd
共有 1 个文件被更改,包括 30 次插入0 次删除
  1. 30 0
      public/test.html

+ 30 - 0
public/test.html

@@ -0,0 +1,30 @@
+<html>
+<head>
+    <meta charset="UTF-8">
+    <meta name="viewport"
+          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
+    <meta http-equiv="X-UA-Compatible" content="ie=edge">
+    <title>Document</title>
+    <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.1/jquery.min.js"></script>
+</head>
+<body>
+    <script>
+        $.ajax('/api/mall.orders/preview',{
+            method:'post',
+            data:JSON.stringify({
+                frm:2,
+                form:{
+                    1:{
+                        num:1,
+                        num_install:1,
+                    }
+                }
+            }),
+            headers:{
+                token:'24e3037c-5478-4cad-be1f-e0eea3436391',
+                'Content-Type':"application/json"
+            }
+        })
+    </script>
+</body>
+</html>