parent
58fb85ba3a
commit
7bf29f8ae4
4 changed files with 27 additions and 27 deletions
@ -1,4 +1,4 @@ |
||||
# 变量必须以 VITE_ 为前缀才能暴露给外部读取 |
||||
NODE_ENV = 'development' |
||||
VITE_APP_TITLE = '无糖运营平台' |
||||
VITE_APP_BASE_API = 'http://127.0.0.1:8080' |
||||
VITE_APP_BASE_API = 'http://39.106.16.162:8080' |
@ -1,10 +1,10 @@ |
||||
import request from '@/utils/request' |
||||
//获取浏览记录列表
|
||||
export const getRecordListService = (params) => |
||||
request.get('http://localhost:8080/learningrecords/getall', { params }) |
||||
request.get('http://39.106.16.162:8080/learningrecords/getall', { params }) |
||||
//删除浏览记录
|
||||
export function DelRecordService(ids) { |
||||
return request.delete( |
||||
`http://localhost:8080/learningrecords/delete?ids=${ids}`, |
||||
`http://39.106.16.162:8080/learningrecords/delete?ids=${ids}`, |
||||
) |
||||
} |
||||
|
Loading…
Reference in new issue