|
@@ -3,6 +3,7 @@ const baseUrl = getApp().globalData.baseUrl
|
|
|
const request = (opts, hasToken) => {
|
|
|
const authorization = getApp().globalData.token
|
|
|
console.log(opts, 'opts')
|
|
|
+ console.log(authorization,'authorization')
|
|
|
// hasToken是否传入token,为true则不传token
|
|
|
const header = {
|
|
|
'Content-Type': 'application/json;charset=UTF-8'
|