Commit 593674f7 authored by mengwenhao's avatar mengwenhao

update:合并分支

parent 3109bd7d
......@@ -6,7 +6,7 @@ const enterprise = require("./controllers/enterprise");
const router = Router();
const API_VERSION = "/api/v1";
router.post(`${API_VERSION}/login`, system.login);
// router.post(`${API_VERSION}/login`, system.login);
router.get(`${API_VERSION}/fetch_user`, system.fetch_user);
router.get(`${API_VERSION}/user/:type`, user.query)
router.get(`${API_VERSION}/certification`, enterprise.entCheck);
......
......@@ -34,17 +34,17 @@ const routes = [
{
path: '/enterprise/certification',
name: 'Certification',
component: Certification,
// component: () => import(/* webpackChunkName: "enterprise" */ '@/pages/Enterprise/Certification')
component: () => import(/* webpackChunkName: "enterprise" */ '@/pages/Enterprise/Certification')
},
{
path: '/enterprise/audit',
name: 'Audit',
path: "/enterprise/audit",
name: "Audit",
component: () => import(/* webpackChunkName: "enterprise" */ '@/pages/Enterprise/Audit')
},
{
path: '/enterprise/establish',
name: 'Establish',
path: "/enterprise/establish",
name: "Establish",
component: () => import(/* webpackChunkName: "enterprise" */ '@/pages/Enterprise/Establish')
},
//生活号管理
......
......@@ -2,12 +2,12 @@ import axios from "../utils/request";
// 企业信息检查
export async function entCheck (user_id) {
const res = await axios.get(`api/v1/certification`, { params: { user_id } });
const res = await axios.get(`/api/v1/certification`, { params: { user_id } });
return res.result;
}
// 发送企业信息认证
export async function entCommit (query) {
const res = await axios.post(`api/v1/emterprise_commit`, { query });
const res = await axios.post(`/api/v1/emterprise_commit`, { query });
return res.result;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment