zhjx 6 năm trước cách đây
mục cha
commit
11218321d8
1 tập tin đã thay đổi với 5 bổ sung4 xóa
  1. 5 4
      resources/views/web/order/index.blade.php

+ 5 - 4
resources/views/web/order/index.blade.php

xqd xqd xqd
@@ -137,13 +137,13 @@
                     array.push(items[i].value);
                  } 
             }
-            console.log(array)
+            console.log(array);
         // var mobile = $('#mobile').val();
         // if(mobile == '' || !phonenum(mobile)){
         //     alert('请输入正确手机号');
         // }else{
             $.ajax({
-                url:"{{ url('/web/Index/sms') }}",
+                url:"{{ url('/web/Index/index') }}",
                 traditional:true,
                 headers: {
                     'X-CSRF-TOKEN': "{{ csrf_token() }}"
@@ -160,6 +160,7 @@
                     email:$('#email').val(),
                     work:$('#work').val(),
                     address:$('#address').val(),
+                    verify:$('#verify').val()
                 },
                 success:function (msg) {
                     if(msg.state ==0){
@@ -262,8 +263,8 @@
         </div>
     </div>
 <!-- jQuery (Bootstrap 的 JavaScript 插件需要引入 jQuery) -->
-<script src="js/jquery-3.2.1.js"></script>
-<script src="js/bootstrap.min.js"></script>
+<script src="{{cdn_asset('/assets/js/jquery-3.2.1.js')}}"></script>
+<script src="{{cdn_asset('/assets/js/bootstrap.min.js')}}"></script>
 
 </body>
 </html>