## >api.js
統一管理接口地址
~~~
import http from 'request.js'
const BASE_URL?=?process.env.VUE_BASE_URL; // 公共地址
const test='test'; //模塊地址
\**
?*?測試接口
?*?@paramparams
?*?@returns {Promise<AxiosResponse>}
?*/
export function listDemandGatherEditDetail(params)?{
return http.get(
`${demand}/demandgatheredit/pageScmDemandGatherEditDetail`,
params
??);
}
~~~