lcw
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
import request from "@/utils/request";
|
||||
import axios from "axios";
|
||||
import qs from 'qs'; // 或者使用 URLSearchParams
|
||||
const api = "/bpm";
|
||||
const api = "/jgpt/bpm";
|
||||
const flowApproval = "/flowApproval";
|
||||
const orgOrganization = '/orgOrganization'
|
||||
// 解析数据
|
||||
@ -40,9 +40,10 @@ export const splGet = (params = {}, url) => {
|
||||
//post 请求
|
||||
export const splPost = (data = {}, url) => {
|
||||
return request({
|
||||
headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
|
||||
url: api + url,
|
||||
method: "post",
|
||||
data
|
||||
data: qs.stringify(data)
|
||||
});
|
||||
};
|
||||
//put 请求
|
||||
|
||||
Reference in New Issue
Block a user