You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
539 B
19 lines
539 B
import request from "../utils/request";
|
|
const APIurl = import.meta.env.VITE_APP_API_BASE_URL;
|
|
// 开发环境使用代理,生产环境使用环境变量
|
|
// const APIurl = import.meta.env.DEV ? '/Api' : import.meta.env.VITE_APP_API_BASE_URL;
|
|
|
|
export function addRecordAPI(data) {
|
|
return request({
|
|
url: `Api/api/funding/addRecord`,
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
// 新增:获取活动信息接口
|
|
export function getActivity1API() {
|
|
return request({
|
|
url: `Api/api/funding/getActivity1`,
|
|
method: 'post'
|
|
})
|
|
}
|