提交 56e7bf9c authored 作者: lihuihui's avatar lihuihui

update

上级 83cabcd0
...@@ -2,17 +2,17 @@ import httpRequest from '@/utils/axios' ...@@ -2,17 +2,17 @@ import httpRequest from '@/utils/axios'
// 获取证书列表 // 获取证书列表
export function getCardList(params) { export function getCardList(params) {
return httpRequest.get('api/cert/v1/frontend/index/list', { params }) return httpRequest.get('/api/certificate/v1/frontend/index/list', { params })
} }
// 获取补齐信息 // 获取补齐信息
export function getImproveInfo(params) { export function getImproveInfo(params) {
return httpRequest.get('api/cert/v1/frontend/index/save', { params }) return httpRequest.get('/api/certificate/v1/frontend/index/save', { params })
} }
// 获取证书详情 // 获取证书详情
export function getCardDetail(params) { export function getCardDetail(params) {
return httpRequest.get('api/cert/v1/frontend/index/view', { params }) return httpRequest.get('/api/certificate/v1/frontend/index/view', { params })
} }
// 补全信息 // 补全信息
export function ImproveInfo(data) { export function ImproveInfo(data) {
return httpRequest.post('api/cert//v1/frontend/index/save', data) return httpRequest.post('/api/certificate//v1/frontend/index/save', data)
} }
...@@ -14,7 +14,7 @@ export default defineConfig({ ...@@ -14,7 +14,7 @@ export default defineConfig({
cert: fs.readFileSync(path.join(__dirname, './https/dev.ezijing.com.pem')) cert: fs.readFileSync(path.join(__dirname, './https/dev.ezijing.com.pem'))
}, },
proxy: { proxy: {
'/api/cert': { '//api/certificateificate': {
// target: 'http://localhost-activity-frontend.ezijing.com', // target: 'http://localhost-activity-frontend.ezijing.com',
target: 'https://cert-frontend-api.ezijing.com', target: 'https://cert-frontend-api.ezijing.com',
changeOrigin: true, changeOrigin: true,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论