Explorar el Código

请求头添加'Login-User-Type': 1

Xiao_123 hace 1 mes
padre
commit
d2f16d26be
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      utils/request.js

+ 1 - 0
utils/request.js

@@ -74,6 +74,7 @@ const http = new Request({
 		Accept: 'text/json',
 		'Content-Type': 'application/json;charset=UTF-8',
 		platform: 'WechatMiniProgram',
+		'Login-User-Type': 1
 	},
 	// #ifdef APP-PLUS
 	sslVerify: false,