mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2026-11-07 09:28:53 +08:00
优化财务相关功能
This commit is contained in:
@@ -189,6 +189,20 @@ export const getRequest = (url, params, resBlob) => {
|
||||
};
|
||||
|
||||
|
||||
export const postBlobRequest = (url, data) => {
|
||||
let accessToken = getStore("accessToken");
|
||||
return service({
|
||||
method: "post",
|
||||
url: `${url}`,
|
||||
data: data,
|
||||
responseType: "blob",
|
||||
headers: {
|
||||
"Content-Type": "application/json",
|
||||
accessToken: accessToken
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
export const postRequest = (url, params, headers) => {
|
||||
let accessToken = getStore("accessToken");
|
||||
return service({
|
||||
|
||||
Reference in New Issue
Block a user