Commit 32588175 by Jamos

feat: 🎨

parent d35e1579
......@@ -2,7 +2,7 @@
* @Author: liguokang
* @Date: 2021-07-15 10:43:34
* @LastEditors: liguokang
* @LastEditTime: 2021-07-29 17:54:02
* @LastEditTime: 2021-08-03 20:30:02
* @Description:
* @Copyrigh: ©2021 杭州杰竞科技有限公司 版权所有
*/
......
......@@ -2,27 +2,26 @@
* @Author: liguokang
* @Date: 2021-07-29 16:19:43
* @LastEditors: liguokang
* @LastEditTime: 2021-07-29 16:46:20
* @LastEditTime: 2021-08-03 20:29:54
* @Description:
* @Copyrigh: ©2021 杭州杰竞科技有限公司 版权所有
*/
const DEPLOY_ENV = process.env.DEPLOY_ENV;
let DEPLOY_ENV = process.env.DEPLOY_ENV;
const webDomain = {
const webDomains = {
dev: 'https://dev.xiaomai5.com/',
rc: 'https://rc.xiaomai5.com/',
gray: 'https://rc.xiaomai5.com/',
prod: 'https://www.xiaomai5.com/',
};
const apiDomain = {
const apiDomains = {
dev: 'https://dev-heimdall.xiaomai5.com/',
rc: 'https://rc-heimdall.xiaomai5.com/',
gray: 'https://gray-heimdall.xiaomai5.com/',
prod: 'https://heimdall.xiaomai5.com/',
};
let webDomain = webDomains[DEPLOY_ENV];
let apiDomain = apiDomains[DEPLOY_ENV];
exports.DOMAIN = {
webDomain: webDomain[DEPLOY_ENV],
apiDomain: apiDomain[DEPLOY_ENV],
};
export { webDomain, apiDomain };
/*
* @Description:
* @Date: 2020-03-18 18:19:52
* @LastEditTime: 2021-07-29 17:54:33
* @LastEditTime: 2021-08-03 20:00:07
* @LastEditors: liguokang
*/
import React from 'react';
......@@ -17,6 +17,7 @@ class LaFooter extends React.Component {
<Link href="/">
<div className={style.title_item}>
<span>底部底部底部底部底部</span>
{StaticImg + 'tttttttttttttttttttt'}
<img src={StaticImg + '/logo.png'} width={121} alt="" />
</div>
</Link>
......
......@@ -2,17 +2,18 @@
* @Author: liguokang
* @Date: 2021-07-29 16:14:30
* @LastEditors: liguokang
* @LastEditTime: 2021-07-29 16:46:12
* @LastEditTime: 2021-08-03 20:30:47
* @Description:
* @Copyrigh: ©2021 杭州杰竞科技有限公司 版权所有
*/
const fs = require('fs');
const { webDomain, apiDomain } = require('./common/webConfigs');
const readStream = fs.createReadStream('./sitemap/sitemap.html', { encoding: 'utf8' });
const writeStream = fs.createWriteStream('./dist/sitemap.html', { encoding: 'utf8' });
console.log(webDomain, apiDomain,'222222222222222222222222222222222222222222222222222222222222');
readStream.on('data', (data) => {
let reData = data.replace(/https\:\/\/www\.xiaomai5\.com\//g, webDomain);
reData = reData.replace(/https\:\/\/heimdall\.xiaomai5\.com\//g, apiDomain);
......
......@@ -2,7 +2,7 @@
* @Author: liguokang
* @Date: 2021-07-29 16:15:00
* @LastEditors: liguokang
* @LastEditTime: 2021-07-29 16:16:08
* @LastEditTime: 2021-08-03 20:19:38
* @Description:
* @Copyrigh: ©2021 杭州杰竞科技有限公司 版权所有
-->
......@@ -175,7 +175,6 @@
contentType: 'application/json;charset=UTF-8',
dataType: 'json',
success: function(data){
console.log(data)
let rows = [];
if(data.result && data.result.records) {
for(let i of data.result.records) {
......
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