fix
pyt
2025-03-17 e439b204db014dc92a3e1a5e62567fd04b00e6ab
H5/utils/request.js
@@ -19,7 +19,8 @@
   return new Promise(function(resolve, reject) {
      let token = uni.getStorageSync('token')
      // let token = 'Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOjE4OTI0MjE4MjgwODU4Mzc4MjYsInR5cGUiOjEsImV4cCI6MTc0MTY5ODg0OCwiY3JlYXRlZCI6MTc0MDQwMjg0ODMzN30.7IYRD37yTkhqcnKyXWcqKk_iTisMp3ar_ByfuVR7Go9rK8ZnGJrlwC3z4NF_ly7IIoBHgE2E4IAvfm3ccam8wg'
      token = 'Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOjE2MTgyLCJ0eXBlIjoxLCJleHAiOjE3NDM1MTA1MTgsImNyZWF0ZWQiOjE3NDIyMTQ1MTg5ODJ9.IxRjgKnmvFtuo2acphWhP8f1PMjbA5hQA5lPZlh2EbemrpKQTBk46D-2g-THdMVHqEIcMHg2sVaxntHpbRti9A'
      uni.setStorageSync('token',token)
      let header = {
         'content-type': type ? 'application/x-www-form-urlencoded;charset=UTF-8' : 'application/json',
         'Authorization':token,