chenminghua 2 years ago
parent
commit
056b1b57e4
1 changed files with 2 additions and 1 deletions
  1. 2 1
      exam-06173-uni - reg/common/request.js

+ 2 - 1
exam-06173-uni - reg/common/request.js

@@ -33,7 +33,8 @@ function postData(path, data) {
 			method: "POST",
 			header: {
 				'content-type': "application/json",
-				'token': uni.getStorageSync("token")
+				'token': uni.getStorageSync("token"),
+				'mac': uni.getStorageSync("mac")  // APP.vue页面的mac地址
 			},
 			success: function(res) {
 				// 错误500