Browse Source

请求头去掉base64

master
liaoxiping 3 years ago
parent
commit
3ec3283d59
  1. 6
      .env.development
  2. 2
      admin-web/index.html
  3. 1
      admin-web/static/css/chunk-49fbb412.d39d3aad.css
  4. 2
      admin-web/static/css/chunk-6fe287e0.51b875d3.css
  5. 1
      admin-web/static/css/chunk-b34e0c70.5ce0fc5f.css
  6. 1
      admin-web/static/js/app.00659680.js
  7. 1
      admin-web/static/js/app.af9dc9af.js
  8. 2
      admin-web/static/js/chunk-0d374088.7b280eaa.js
  9. 2
      admin-web/static/js/chunk-10bf2ac2.527ec6af.js
  10. 1
      admin-web/static/js/chunk-13a44add.7970173f.js
  11. 1
      admin-web/static/js/chunk-13a44add.dbb8f9f2.js
  12. 2
      admin-web/static/js/chunk-27b0fc3e.b1541e1a.js
  13. 1
      admin-web/static/js/chunk-286ca715.40c851bb.js
  14. 1
      admin-web/static/js/chunk-286ca715.aa19cca2.js
  15. 2
      admin-web/static/js/chunk-2aed2970.d622e0ce.js
  16. 1
      admin-web/static/js/chunk-2b6c7b9a.0925fcd6.js
  17. 1
      admin-web/static/js/chunk-2b6c7b9a.84d0cf8d.js
  18. 2
      admin-web/static/js/chunk-2d0771fd.958c23fd.js
  19. 1
      admin-web/static/js/chunk-2d2b8d23.21d2a70d.js
  20. 1
      admin-web/static/js/chunk-2d2de694.4f5bb19e.js
  21. 1
      admin-web/static/js/chunk-2d2de694.fac06743.js
  22. 1
      admin-web/static/js/chunk-32d981e4.43f345a9.js
  23. 1
      admin-web/static/js/chunk-32d981e4.6fcf9952.js
  24. 2
      admin-web/static/js/chunk-3320c860.9a5f4234.js
  25. 2
      admin-web/static/js/chunk-386da26d.403e0edf.js
  26. 2
      admin-web/static/js/chunk-3b138976.393aefba.js
  27. 1
      admin-web/static/js/chunk-3b8dd39a.9c4c6168.js
  28. 1
      admin-web/static/js/chunk-3b8dd39a.a048a0c3.js
  29. 1
      admin-web/static/js/chunk-400e4e3e.2d601d4d.js
  30. 1
      admin-web/static/js/chunk-400e4e3e.44ead633.js
  31. 2
      admin-web/static/js/chunk-44608278.1fc96e37.js
  32. 1
      admin-web/static/js/chunk-45e21eed.a2344520.js
  33. 1
      admin-web/static/js/chunk-45e21eed.a8363413.js
  34. 0
      admin-web/static/js/chunk-46f57710.b36fc76b.js
  35. 1
      admin-web/static/js/chunk-47d0e5a6.d410f422.js
  36. 1
      admin-web/static/js/chunk-47d0e5a6.fb87efe7.js
  37. 2
      admin-web/static/js/chunk-49f16a06.d942ec15.js
  38. 1
      admin-web/static/js/chunk-49fbb412.97fa58e7.js
  39. 2
      admin-web/static/js/chunk-4a2bce2d.6ad148aa.js
  40. 2
      admin-web/static/js/chunk-4b24434f.940533d0.js
  41. 2
      admin-web/static/js/chunk-5360f16f.358e4724.js
  42. 1
      admin-web/static/js/chunk-540c9bd4.c69a3ed3.js
  43. 1
      admin-web/static/js/chunk-540c9bd4.d1024b68.js
  44. 1
      admin-web/static/js/chunk-55fd0b74.279553bc.js
  45. 1
      admin-web/static/js/chunk-55fd0b74.b795c50d.js
  46. 2
      admin-web/static/js/chunk-5aef26d1.95b4571b.js
  47. 1
      admin-web/static/js/chunk-61d7431c.413d6027.js
  48. 1
      admin-web/static/js/chunk-61d7431c.5805fd85.js
  49. 2
      admin-web/static/js/chunk-6441db63.7ab639bf.js
  50. 1
      admin-web/static/js/chunk-687a19de.522b43e0.js
  51. 1
      admin-web/static/js/chunk-687a19de.f5e0ea26.js
  52. 1
      admin-web/static/js/chunk-6dc0a9d0.1942b41d.js
  53. 1
      admin-web/static/js/chunk-6dc0a9d0.fec147fe.js
  54. 1
      admin-web/static/js/chunk-6fe287e0.da21b7ba.js
  55. 1
      admin-web/static/js/chunk-71668ec2.42837e50.js
  56. 1
      admin-web/static/js/chunk-71668ec2.9719e317.js
  57. 2
      admin-web/static/js/chunk-767c6316.4c207b2b.js
  58. 0
      admin-web/static/js/chunk-7a0e48f4.9f2947ee.js
  59. 2
      admin-web/static/js/chunk-7c47d255.f5d4063b.js
  60. 2
      admin-web/static/js/chunk-7ea8cf61.f8ad084f.js
  61. 2
      admin-web/static/js/chunk-8e1deeaa.8b63b75f.js
  62. 2
      admin-web/static/js/chunk-992df78e.7da175f0.js
  63. 2
      admin-web/static/js/chunk-9ffd7a0e.16fac9bf.js
  64. 2
      admin-web/static/js/chunk-a1562cca.753deb0f.js
  65. 0
      admin-web/static/js/chunk-a56568ae.cc6c7ec4.js
  66. 1
      admin-web/static/js/chunk-b34e0c70.9458ce0c.js
  67. 1
      admin-web/static/js/chunk-c2bdc85c.4f827eb5.js
  68. 1
      admin-web/static/js/chunk-c2bdc85c.c2529738.js
  69. 1
      admin-web/static/js/chunk-cc42e648.1fb9f950.js
  70. 1
      admin-web/static/js/chunk-cc42e648.44076ac5.js
  71. 1
      admin-web/static/js/chunk-commons.370c6686.js
  72. 1
      admin-web/static/js/chunk-commons.8a2625f1.js
  73. 0
      admin-web/static/js/chunk-e452e374.fbf73eee.js
  74. 2
      admin-web/static/js/chunk-e6273170.8ee13ab2.js
  75. 2
      admin-web/static/js/chunk-ea839882.02cde49e.js
  76. 1
      admin-web/static/js/chunk-eae2c222.a214fcf2.js
  77. 1
      admin-web/static/js/chunk-eae2c222.d0f836fc.js
  78. 1
      admin-web/static/js/chunk-ec8e322c.6d43feac.js
  79. 1
      admin-web/static/js/chunk-ec8e322c.cf3104b2.js
  80. 1
      admin-web/static/js/chunk-f67aa52c.12b9d916.js
  81. 1
      admin-web/static/js/chunk-f67aa52c.fb50bca2.js
  82. 2
      admin-web/static/js/chunk-fc356b9c.5dc5edfe.js
  83. 4
      src/api/AxiosApi.js
  84. 2
      src/components/ceres/fileUpload.vue
  85. 2
      src/components/ceres/imgUpload.vue
  86. 4
      src/utils/request.js

6
.env.development

@ -3,13 +3,13 @@ ENV = 'development'
VUE_APP_PROJECT_NAME = 'cereshop-admin-web'
# 请求服务配置
VUE_APP_DEV_REQUEST_DOMAIN_PREFIX = 'http://192.168.10.236:8764'
VUE_APP_DEV_REQUEST_DOMAIN_PREFIX = 'http://192.168.10.129:8764'
#VUE_APP_DEV_REQUEST_DOMAIN_PREFIX = 'http://8764.graf0b20.7xedcknz.ca6242.grapps.cn'
#VUE_APP_DEV_REQUEST_DOMAIN_PREFIX = 'http://platform.test.api.lotus-wallet.com/'
# 是否启用验证码
VUE_APP_IS_CAPTCHA = true
# 客户端秘钥
VUE_APP_CLIENT_ID=ceres_admin_web
VUE_APP_CLIENT_SECRET=ceres_admin_web
VUE_APP_CLIENT_ID=admin_web
VUE_APP_CLIENT_SECRET=admin_web
VUE_CLI_BABEL_TRANSPILE_MODULES = true

2
admin-web/index.html

File diff suppressed because one or more lines are too long

1
admin-web/static/css/chunk-49fbb412.d39d3aad.css

@ -1 +0,0 @@
.avatar[data-v-44aa2b32]{width:100%;height:100%}[data-v-44aa2b32] .el-form-item__content{line-height:0}[data-v-44aa2b32] .el-upload-list--picture-card .el-upload-list__item{margin:0 8px 0 0}[data-v-44aa2b32] .el-upload--picture-card,[data-v-44aa2b32] .el-upload-list--picture-card .el-upload-list__item{width:128px;height:128px}.limit[data-v-44aa2b32] .el-upload--picture-card{display:none}

2
admin-web/static/css/chunk-2d2b8d23.abe605bb.css → admin-web/static/css/chunk-6fe287e0.51b875d3.css

@ -1 +1 @@
.avatar[data-v-44aa2b32]{width:100%;height:100%}[data-v-44aa2b32] .el-form-item__content{line-height:0}[data-v-44aa2b32] .el-upload-list--picture-card .el-upload-list__item{margin:0 8px 0 0}[data-v-44aa2b32] .el-upload--picture-card,[data-v-44aa2b32] .el-upload-list--picture-card .el-upload-list__item{width:128px;height:128px}.limit[data-v-44aa2b32] .el-upload--picture-card{display:none}.user-view .img-wrapper[data-v-777a74d8]{text-align:center;margin-top:-1.5rem;margin-bottom:10px}.user-view .img-wrapper img[data-v-777a74d8]{width:4rem;border-radius:50%}.user-view .view-item[data-v-777a74d8]{margin:7px}.user-view .view-item i[data-v-777a74d8]{font-size:.97rem}.user-view .view-item span[data-v-777a74d8]{margin-left:5px}
.avatar[data-v-71888a80]{width:100%;height:100%}[data-v-71888a80] .el-form-item__content{line-height:0}[data-v-71888a80] .el-upload-list--picture-card .el-upload-list__item{margin:0 8px 0 0}[data-v-71888a80] .el-upload--picture-card,[data-v-71888a80] .el-upload-list--picture-card .el-upload-list__item{width:128px;height:128px}.limit[data-v-71888a80] .el-upload--picture-card{display:none}.user-view .img-wrapper[data-v-777a74d8]{text-align:center;margin-top:-1.5rem;margin-bottom:10px}.user-view .img-wrapper img[data-v-777a74d8]{width:4rem;border-radius:50%}.user-view .view-item[data-v-777a74d8]{margin:7px}.user-view .view-item i[data-v-777a74d8]{font-size:.97rem}.user-view .view-item span[data-v-777a74d8]{margin-left:5px}

1
admin-web/static/css/chunk-b34e0c70.5ce0fc5f.css

@ -0,0 +1 @@
.avatar[data-v-71888a80]{width:100%;height:100%}[data-v-71888a80] .el-form-item__content{line-height:0}[data-v-71888a80] .el-upload-list--picture-card .el-upload-list__item{margin:0 8px 0 0}[data-v-71888a80] .el-upload--picture-card,[data-v-71888a80] .el-upload-list--picture-card .el-upload-list__item{width:128px;height:128px}.limit[data-v-71888a80] .el-upload--picture-card{display:none}

1
admin-web/static/js/app.00659680.js

File diff suppressed because one or more lines are too long

1
admin-web/static/js/app.af9dc9af.js

File diff suppressed because one or more lines are too long

2
admin-web/static/js/chunk-0d374088.4f5bd1c0.js → admin-web/static/js/chunk-0d374088.7b280eaa.js

File diff suppressed because one or more lines are too long

2
admin-web/static/js/chunk-10bf2ac2.f5f78402.js → admin-web/static/js/chunk-10bf2ac2.527ec6af.js

File diff suppressed because one or more lines are too long

1
admin-web/static/js/chunk-13a44add.7970173f.js

File diff suppressed because one or more lines are too long

1
admin-web/static/js/chunk-13a44add.dbb8f9f2.js

File diff suppressed because one or more lines are too long

2
admin-web/static/js/chunk-27b0fc3e.75982079.js → admin-web/static/js/chunk-27b0fc3e.b1541e1a.js

File diff suppressed because one or more lines are too long

1
admin-web/static/js/chunk-286ca715.40c851bb.js

File diff suppressed because one or more lines are too long

1
admin-web/static/js/chunk-286ca715.aa19cca2.js

File diff suppressed because one or more lines are too long

2
admin-web/static/js/chunk-2aed2970.97b9a698.js → admin-web/static/js/chunk-2aed2970.d622e0ce.js

File diff suppressed because one or more lines are too long

1
admin-web/static/js/chunk-2b6c7b9a.0925fcd6.js

File diff suppressed because one or more lines are too long

1
admin-web/static/js/chunk-2b6c7b9a.84d0cf8d.js

File diff suppressed because one or more lines are too long

2
admin-web/static/js/chunk-2d0771fd.6095881b.js → admin-web/static/js/chunk-2d0771fd.958c23fd.js

File diff suppressed because one or more lines are too long

1
admin-web/static/js/chunk-2d2b8d23.21d2a70d.js

File diff suppressed because one or more lines are too long

1
admin-web/static/js/chunk-2d2de694.4f5bb19e.js

File diff suppressed because one or more lines are too long

1
admin-web/static/js/chunk-2d2de694.fac06743.js

File diff suppressed because one or more lines are too long

1
admin-web/static/js/chunk-32d981e4.43f345a9.js

File diff suppressed because one or more lines are too long

1
admin-web/static/js/chunk-32d981e4.6fcf9952.js

File diff suppressed because one or more lines are too long

2
admin-web/static/js/chunk-3320c860.9b9a7246.js → admin-web/static/js/chunk-3320c860.9a5f4234.js

File diff suppressed because one or more lines are too long

2
admin-web/static/js/chunk-386da26d.9490ebb8.js → admin-web/static/js/chunk-386da26d.403e0edf.js

File diff suppressed because one or more lines are too long

2
admin-web/static/js/chunk-3b138976.203cc2b1.js → admin-web/static/js/chunk-3b138976.393aefba.js

File diff suppressed because one or more lines are too long

1
admin-web/static/js/chunk-3b8dd39a.9c4c6168.js

File diff suppressed because one or more lines are too long

1
admin-web/static/js/chunk-3b8dd39a.a048a0c3.js

File diff suppressed because one or more lines are too long

1
admin-web/static/js/chunk-400e4e3e.2d601d4d.js

File diff suppressed because one or more lines are too long

1
admin-web/static/js/chunk-400e4e3e.44ead633.js

File diff suppressed because one or more lines are too long

2
admin-web/static/js/chunk-44608278.578bc3e2.js → admin-web/static/js/chunk-44608278.1fc96e37.js

File diff suppressed because one or more lines are too long

1
admin-web/static/js/chunk-45e21eed.a2344520.js

File diff suppressed because one or more lines are too long

1
admin-web/static/js/chunk-45e21eed.a8363413.js

File diff suppressed because one or more lines are too long

0
admin-web/static/js/chunk-46f57710.ead38752.js → admin-web/static/js/chunk-46f57710.b36fc76b.js

1
admin-web/static/js/chunk-47d0e5a6.d410f422.js

File diff suppressed because one or more lines are too long

1
admin-web/static/js/chunk-47d0e5a6.fb87efe7.js

File diff suppressed because one or more lines are too long

2
admin-web/static/js/chunk-49f16a06.1b89d9a5.js → admin-web/static/js/chunk-49f16a06.d942ec15.js

File diff suppressed because one or more lines are too long

1
admin-web/static/js/chunk-49fbb412.97fa58e7.js

File diff suppressed because one or more lines are too long

2
admin-web/static/js/chunk-4a2bce2d.5c68baee.js → admin-web/static/js/chunk-4a2bce2d.6ad148aa.js

File diff suppressed because one or more lines are too long

2
admin-web/static/js/chunk-4b24434f.538779e9.js → admin-web/static/js/chunk-4b24434f.940533d0.js

File diff suppressed because one or more lines are too long

2
admin-web/static/js/chunk-5360f16f.22d92fa3.js → admin-web/static/js/chunk-5360f16f.358e4724.js

File diff suppressed because one or more lines are too long

1
admin-web/static/js/chunk-540c9bd4.c69a3ed3.js

File diff suppressed because one or more lines are too long

1
admin-web/static/js/chunk-540c9bd4.d1024b68.js

File diff suppressed because one or more lines are too long

1
admin-web/static/js/chunk-55fd0b74.279553bc.js

File diff suppressed because one or more lines are too long

1
admin-web/static/js/chunk-55fd0b74.b795c50d.js

File diff suppressed because one or more lines are too long

2
admin-web/static/js/chunk-5aef26d1.e917f31d.js → admin-web/static/js/chunk-5aef26d1.95b4571b.js

File diff suppressed because one or more lines are too long

1
admin-web/static/js/chunk-61d7431c.413d6027.js

File diff suppressed because one or more lines are too long

1
admin-web/static/js/chunk-61d7431c.5805fd85.js

File diff suppressed because one or more lines are too long

2
admin-web/static/js/chunk-6441db63.0d68f5f0.js → admin-web/static/js/chunk-6441db63.7ab639bf.js

File diff suppressed because one or more lines are too long

1
admin-web/static/js/chunk-687a19de.522b43e0.js

File diff suppressed because one or more lines are too long

1
admin-web/static/js/chunk-687a19de.f5e0ea26.js

File diff suppressed because one or more lines are too long

1
admin-web/static/js/chunk-6dc0a9d0.1942b41d.js

File diff suppressed because one or more lines are too long

1
admin-web/static/js/chunk-6dc0a9d0.fec147fe.js

File diff suppressed because one or more lines are too long

1
admin-web/static/js/chunk-6fe287e0.da21b7ba.js

File diff suppressed because one or more lines are too long

1
admin-web/static/js/chunk-71668ec2.42837e50.js

File diff suppressed because one or more lines are too long

1
admin-web/static/js/chunk-71668ec2.9719e317.js

File diff suppressed because one or more lines are too long

2
admin-web/static/js/chunk-767c6316.19a1ecb1.js → admin-web/static/js/chunk-767c6316.4c207b2b.js

File diff suppressed because one or more lines are too long

0
admin-web/static/js/chunk-7a0e48f4.9d037fc7.js → admin-web/static/js/chunk-7a0e48f4.9f2947ee.js

2
admin-web/static/js/chunk-7c47d255.2e64d89d.js → admin-web/static/js/chunk-7c47d255.f5d4063b.js

File diff suppressed because one or more lines are too long

2
admin-web/static/js/chunk-7ea8cf61.4069b003.js → admin-web/static/js/chunk-7ea8cf61.f8ad084f.js

File diff suppressed because one or more lines are too long

2
admin-web/static/js/chunk-8e1deeaa.5ab6ea29.js → admin-web/static/js/chunk-8e1deeaa.8b63b75f.js

File diff suppressed because one or more lines are too long

2
admin-web/static/js/chunk-992df78e.0c2b402a.js → admin-web/static/js/chunk-992df78e.7da175f0.js

File diff suppressed because one or more lines are too long

2
admin-web/static/js/chunk-9ffd7a0e.71ec24b6.js → admin-web/static/js/chunk-9ffd7a0e.16fac9bf.js

File diff suppressed because one or more lines are too long

2
admin-web/static/js/chunk-a1562cca.ec203dd4.js → admin-web/static/js/chunk-a1562cca.753deb0f.js

File diff suppressed because one or more lines are too long

0
admin-web/static/js/chunk-a56568ae.e75dce86.js → admin-web/static/js/chunk-a56568ae.cc6c7ec4.js

1
admin-web/static/js/chunk-b34e0c70.9458ce0c.js

File diff suppressed because one or more lines are too long

1
admin-web/static/js/chunk-c2bdc85c.4f827eb5.js

File diff suppressed because one or more lines are too long

1
admin-web/static/js/chunk-c2bdc85c.c2529738.js

File diff suppressed because one or more lines are too long

1
admin-web/static/js/chunk-cc42e648.1fb9f950.js

File diff suppressed because one or more lines are too long

1
admin-web/static/js/chunk-cc42e648.44076ac5.js

File diff suppressed because one or more lines are too long

1
admin-web/static/js/chunk-commons.370c6686.js

File diff suppressed because one or more lines are too long

1
admin-web/static/js/chunk-commons.8a2625f1.js

File diff suppressed because one or more lines are too long

0
admin-web/static/js/chunk-e452e374.0501de4e.js → admin-web/static/js/chunk-e452e374.fbf73eee.js

2
admin-web/static/js/chunk-e6273170.dde6e732.js → admin-web/static/js/chunk-e6273170.8ee13ab2.js

File diff suppressed because one or more lines are too long

2
admin-web/static/js/chunk-ea839882.4b1aabeb.js → admin-web/static/js/chunk-ea839882.02cde49e.js

File diff suppressed because one or more lines are too long

1
admin-web/static/js/chunk-eae2c222.a214fcf2.js

File diff suppressed because one or more lines are too long

1
admin-web/static/js/chunk-eae2c222.d0f836fc.js

File diff suppressed because one or more lines are too long

1
admin-web/static/js/chunk-ec8e322c.6d43feac.js

File diff suppressed because one or more lines are too long

1
admin-web/static/js/chunk-ec8e322c.cf3104b2.js

File diff suppressed because one or more lines are too long

1
admin-web/static/js/chunk-f67aa52c.12b9d916.js

File diff suppressed because one or more lines are too long

1
admin-web/static/js/chunk-f67aa52c.fb50bca2.js

File diff suppressed because one or more lines are too long

2
admin-web/static/js/chunk-fc356b9c.a43c7524.js → admin-web/static/js/chunk-fc356b9c.5dc5edfe.js

File diff suppressed because one or more lines are too long

4
src/api/AxiosApi.js

@ -17,9 +17,9 @@ axios.interceptors.request.use(
const clientId = process.env.VUE_APP_CLIENT_ID
const clientSecret = process.env.VUE_APP_CLIENT_SECRET
config.headers['Authorization'] = `Basic ${Base64.encode(
config.headers['Authorization'] = `Basic ${
`${clientId}:${clientSecret}`
)}`
}`
return config
},
error => {

2
src/components/ceres/fileUpload.vue

@ -110,7 +110,7 @@ export default {
return {
token: 'Bearer ' + db.get("TOKEN", ""),
tenant: db.get("TENANT", "") || "",
Authorization: `Basic ${Base64.encode(`${process.env.VUE_APP_CLIENT_ID}:${process.env.VUE_APP_CLIENT_SECRET}`)}`
Authorization: `Basic ${`${process.env.VUE_APP_CLIENT_ID}:${process.env.VUE_APP_CLIENT_SECRET}`}`
}
}
},

2
src/components/ceres/imgUpload.vue

@ -110,7 +110,7 @@ export default {
return {
token: 'Bearer ' + db.get("TOKEN", ""),
tenant: db.get("TENANT", "") || "",
Authorization: `Basic ${Base64.encode(`${process.env.VUE_APP_CLIENT_ID}:${process.env.VUE_APP_CLIENT_SECRET}`)}`
Authorization: `Basic ${`${process.env.VUE_APP_CLIENT_ID}:${process.env.VUE_APP_CLIENT_SECRET}`}`
}
}
},

4
src/utils/request.js

@ -102,7 +102,7 @@ const request = {
return tansParams(params)
}],
headers: {
'Authorization': 'Basic ZmViczoxMjM0NTY='
'Authorization': 'Basic febs:123456'
}
})
},
@ -113,7 +113,7 @@ const request = {
return tansParams(params)
}],
headers: {
'Authorization': 'Basic ZmViczoxMjM0NTY='
'Authorization': 'Basic febs:123456'
}
})
},

Loading…
Cancel
Save