tianyi 1 week ago
parent
commit
44d3fab161
4 changed files with 8 additions and 8 deletions
  1. 2 2
      README.md
  2. 1 1
      config/index.js
  3. 1 1
      index.html
  4. 4 4
      src/utils/httpRequest.js

+ 2 - 2
README.md

@@ -1,5 +1,5 @@
-## 招聘7.0系统
-- 招聘7.0系统基于vue、element-ui构建开发,实现招聘7.0系统前端功能,提供一套更优的前端解决方案
+## 亿职赞管理系统
+- 亿职赞管理系统基于vue、element-ui构建开发,实现亿职赞管理系统前端功能,提供一套更优的前端解决方案
 - 前后端分离,通过token进行数据交互,可独立部署
 - 主题定制,通过scss变量统一一站式定制
 - 动态菜单,通过菜单管理统一管理访问路由

+ 1 - 1
config/index.js

@@ -16,7 +16,7 @@ module.exports = {
       '/sqx_fast': {
 			// target: 'http://192.168.0.133:7155/sqx_fast/',
 			// target: 'https://zpadmin.xianmaxiong.com/sqx_fast/',
-			target: 'http://127.0.0.1/sqx_fast/',
+			target: 'http://yizhizan.edccc.cn/sqx_fast',
 			changeOrigin: true,
 			pathRewrite: {
 				'^/sqx_fast': ''

+ 1 - 1
index.html

@@ -5,7 +5,7 @@
   <meta name="viewport" content="width=device-width, initial-scale=1.0">
   <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <!-- <script type="text/javascript" src="//api.map.baidu.com/api?v=2.0&ak=miP4RMG1yZoROVRSqTPghvUaRb68iGUB"></script> -->
-  <title>招聘7.0系统</title>
+  <title>亿职赞管理系统</title>
   <% if (process.env.NODE_ENV === 'production') { %>
     <!-- 生产环境 -->
     <script>document.write('<script src="./config/index.js?t=' + new Date().getTime() + '"><\/script>');</script>

+ 4 - 4
src/utils/httpRequest.js

@@ -4,7 +4,7 @@ import router from '@/router'
 import qs from 'qs'
 import merge from 'lodash/merge'
 import { clearLoginInfo } from '@/utils'
-export const entryName = '招聘7.0系统';
+export const entryName = '亿职赞管理系统';
 const http = axios.create({
   timeout: 1000 * 30,
   withCredentials: true,
@@ -43,15 +43,15 @@ http.interceptors.response.use(response => {
 http.adornUrl = (actionName) => {
   // 非生产环境 && 开启代理, 接口前缀统一使用[/proxyApi/]前缀做代理拦截!
   // return (process.env.NODE_ENV !== 'production' && process.env.OPEN_PROXY ? '/proxyApi/' : window.SITE_CONFIG.baseUrl) + actionName
-	// return 'http://192.168.0.133:7155/sqx_fast/' + actionName
+	return 'http://yizhizan.edccc.cn/sqx_fast' + actionName
 	// return 'https://zpadmin.xianmaxiong.com/sqx_fast/' + actionName
-	return '/sqx_fast/' + actionName
+	// return '/sqx_fast/' + actionName
 }
 
 http.adornWss = (actionName) => {
   // 非生产环境 && 开启代理, 接口前缀统一使用[/proxyApi/]前缀做代理拦截!
   // return (process.env.NODE_ENV !== 'production' && process.env.OPEN_PROXY ? '/proxyApi/' : window.SITE_CONFIG.baseUrl) + actionName
-	return 'wss://zpadmin.xianmaxiong.com/wss/' + actionName
+	return 'wss://yizhizan.edccc.cn/wss' + actionName
 	// return 'https://zpadmin.xianmaxiong.com.com/sqx_fast/' + actionName
 }