Browse Source

日常开发

林旭祥 1 tháng trước cách đây
mục cha
commit
ce974a399d
1 tập tin đã thay đổi với 6 bổ sung0 xóa
  1. 6 0
      src/api/module/deploy.ts

+ 6 - 0
src/api/module/deploy.ts

@@ -62,6 +62,9 @@ export default {
             url: '/school/update_gpu_exam_setting',
             method: 'post',
             data: data,
+            headers: {
+                "Content-Type": 'application/json'
+            }
         });
     },
 
@@ -78,6 +81,9 @@ export default {
             url: '/exam/gpu_anchor_update',
             method: 'post',
             data: data,
+            headers: {
+                "Content-Type": 'application/json'
+            }
         });
     },