|
@@ -2,7 +2,7 @@ import request from '@/utils/request'
|
|
|
import md5 from 'js-md5';
|
|
import md5 from 'js-md5';
|
|
|
import { processCreate, processEdit } from './process'
|
|
import { processCreate, processEdit } from './process'
|
|
|
import { requestType, requestPath } from './requestType'
|
|
import { requestType, requestPath } from './requestType'
|
|
|
-
|
|
|
|
|
|
|
+import { mapValues } from 'lodash'
|
|
|
// 请求方式默认POST
|
|
// 请求方式默认POST
|
|
|
const post = (method, data, type = 'post') => {
|
|
const post = (method, data, type = 'post') => {
|
|
|
let path = requestType[method]
|
|
let path = requestType[method]
|