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