Commit 11b15c3c by 姜雷

添加小程序请求头

parent 615bb31b
......@@ -26,8 +26,11 @@ const createFetch = (basePath: string) => {
header: token
? {
token: token,
reqSource: 'wxmini',
}
: {},
: {
reqSource: 'wxmini',
},
url: basePath + entity.url,
}).then(({ data }: ResponseEntity) => {
if (data.code === 1000) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment