From 99a2046d68284f388f718ed9f175eb55c3ddb277 Mon Sep 17 00:00:00 2001
From: ping <1017253325@qq.com>
Date: Wed, 16 Jul 2025 18:06:40 +0800
Subject: [PATCH 1/5] update
---
crontab/dev/crontab.txt | 12 ++++++++++++
crontab/prod/crontab.txt | 12 ++++++++++++
2 files changed, 24 insertions(+)
create mode 100644 crontab/dev/crontab.txt
create mode 100644 crontab/prod/crontab.txt
diff --git a/crontab/dev/crontab.txt b/crontab/dev/crontab.txt
new file mode 100644
index 0000000..7b9b8b8
--- /dev/null
+++ b/crontab/dev/crontab.txt
@@ -0,0 +1,12 @@
+0 23 * * * /d/backup/db/dbdump.sh
+
+*/20 * * * * curl https://dev.opencomputing.cn/hpc/GetUserBill.dspy > /d/zhc/crontab_dev.log 2>&1
+0 0 * * * curl https://dev.opencomputing.cn/lease/update_stock.dspy > /d/zhc/crontab_dev.log 2>&1
+# 30 9 * * * curl https://dev.opencomputing.cn/provider_settle/auto_provider_settle_cron_job.dspy > /d/zhc/crontab_dev.log 2>&1
+# 0 1 * * * curl https://dev.opencomputing.cn/handover/params_time.dspy > /d/zhc/crontab_dev.log 2>&1
+0 2 * * * curl https://dev.opencomputing.cn/daylog/updateCurrentTime.dspy > /d/zhc/crontab_dev.log 2>&1
+*/60 * * * * curl https://dev.opencomputing.cn/baiduc/baidu_users_get_post_pay.dspy > /d/zhc/crontab_dev.log 2>&1
+*/1 * * * * curl https://dev.opencomputing.cn/account/email_info.dspy > /d/zhc/crontab_dev.log 2>&1
+*/1 * * * * curl https://dev.opencomputing.cn/jdcloud/get_partner_order_list.dspy?page=1 > /d/zhc/crontab_dev.log 2>&1
+* * * * * curl https://dev.opencomputing.cn/baiduc/baidu_new_update_resouce.dspy > /d/zhc/crontab_dev.log 2>&1
+#* * * * * curl https://dev.opencomputing.cn/baiduc/baidu_sms_kafka_consumer.dspy > /d/zhc/crontab_dev.log 2>&1
diff --git a/crontab/prod/crontab.txt b/crontab/prod/crontab.txt
new file mode 100644
index 0000000..5a04847
--- /dev/null
+++ b/crontab/prod/crontab.txt
@@ -0,0 +1,12 @@
+0 23 * * * /d/backup/db/dbdump.sh
+
+*/20 * * * * curl https://www.kaiyuancloud.cn/hpc/GetUserBill.dspy > /d/zhc/crontab_prod.log 2>&1
+0 0 * * * curl https://www.kaiyuancloud.cn/lease/update_stock.dspy > /d/zhc/crontab_prod.log 2>&1
+# 30 9 * * * curl https://www.kaiyuancloud.cn/provider_settle/auto_provider_settle_cron_job.dspy > /d/zhc/crontab_prod.log 2>&1
+# 0 1 * * * curl https://www.kaiyuancloud.cn/handover/params_time.dspy > /d/zhc/crontab_prod.log 2>&1
+0 2 * * * curl https://www.kaiyuancloud.cn/daylog/updateCurrentTime.dspy > /d/zhc/crontab_prod.log 2>&1
+*/60 * * * * curl https://www.kaiyuancloud.cn/baiduc/baidu_users_get_post_pay.dspy > /d/zhc/crontab_prod.log 2>&1
+*/1 * * * * curl https://www.kaiyuancloud.cn/account/email_info.dspy > /d/zhc/crontab_prod.log 2>&1
+*/1 * * * * curl https://www.kaiyuancloud.cn/jdcloud/get_partner_order_list.dspy?page=1 > /d/zhc/crontab_prod.log 2>&1
+* * * * * curl https://www.kaiyuancloud.cn/baiduc/baidu_new_update_resouce.dspy > /d/zhc/crontab_prod.log 2>&1
+# * * * * * curl https://www.kaiyuancloud.cn/baiduc/baidu_sms_kafka_consumer.dspy > /d/zhc/crontab_dev.log 2>&1
--
2.34.1
From 019f47797e011cc3d4cdf13e6e267642cd510dd2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9C=A8=E7=93=9C=E4=B8=80=E5=9D=97=E5=85=AB?=
<2523890936@qq.com>
Date: Thu, 17 Jul 2025 11:51:57 +0800
Subject: [PATCH 2/5] bugfix
---
.../clusterResourceInstanceConfiguration/index.vue | 1 +
1 file changed, 1 insertion(+)
diff --git a/f/web-kboss/src/views/operation/computingCenterManagement/clusterResourceInstanceConfiguration/index.vue b/f/web-kboss/src/views/operation/computingCenterManagement/clusterResourceInstanceConfiguration/index.vue
index dcbfa1e..3d35d13 100644
--- a/f/web-kboss/src/views/operation/computingCenterManagement/clusterResourceInstanceConfiguration/index.vue
+++ b/f/web-kboss/src/views/operation/computingCenterManagement/clusterResourceInstanceConfiguration/index.vue
@@ -131,6 +131,7 @@
+
--
2.34.1
From 0c7be40d6447a43ff3d67f026eaf6fa42fef78dc Mon Sep 17 00:00:00 2001
From: ping <1017253325@qq.com>
Date: Fri, 18 Jul 2025 09:29:39 +0800
Subject: [PATCH 3/5] update
---
b/product/get_firstpage_product_tree.dspy | 2 +-
b/reseller/get_ipc_logo.dspy | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/b/product/get_firstpage_product_tree.dspy b/b/product/get_firstpage_product_tree.dspy
index a139434..88d0d49 100644
--- a/b/product/get_firstpage_product_tree.dspy
+++ b/b/product/get_firstpage_product_tree.dspy
@@ -660,7 +660,7 @@ async def get_firstpage_product_tree(ns={}):
db = DBPools()
async with db.sqlorContext('kboss') as sor:
try:
- if ns.get('url_link') and 'kaiyuancloud' in ns.get('url_link'):
+ if ns.get('url_link') and ('kaiyuancloud' in ns.get('url_link') or 'opencomputing' in ns.get('url_link')):
data_baidu = {
"id": "12",
"secTitle": "阿里云",
diff --git a/b/reseller/get_ipc_logo.dspy b/b/reseller/get_ipc_logo.dspy
index 7ed62a4..e762518 100644
--- a/b/reseller/get_ipc_logo.dspy
+++ b/b/reseller/get_ipc_logo.dspy
@@ -46,7 +46,7 @@ async def get_ipc_logo(ns={}):
if '?domain_name=' in url_link:
domain_url = url_link.split('?domain_name=')[1]
# 如果是业主机构
- if ('ncmatch' in domain_url or '9527' in domain_url or '8889' in domain_url or '8891' in domain_url or domain_url in ['xterm.kaiyuancloud.cn','www.kaiyuancloud.cn', 'dev.kaiyuancloud.cn', 'test.kaiyuancloud.cn', 'localhost:9527']) and '/domain/' not in url_link:
+ if ('ncmatch' in domain_url or '9527' in domain_url or '8889' in domain_url or '8891' in domain_url or domain_url in ['xterm.kaiyuancloud.cn','www.kaiyuancloud.cn', 'dev.kaiyuancloud.cn', 'dev.opencomputing.cn', 'test.kaiyuancloud.cn', 'localhost:9527']) and '/domain/' not in url_link:
yezhu_info = (await sor.R('organization', {'org_type': '0'}))[0]
domain_res = (await sor.R('params', {'pname': '业主机构域名'}))[0]['pvalue']
# yezhu = {
@@ -82,7 +82,7 @@ async def get_ipc_logo(ns={}):
]
}
}
- elif 'kaiyuancloud' in domain_url:
+ elif 'kaiyuancloud' in domain_url or 'opencomputing' in domain_url:
yezhu['additional_msg'] = {
"home": {
"logoImg": "https://www.kaiyuancloud.cn/idfile?path=logo.png",
--
2.34.1
From 5d867dc4ec8ac108b68709709ec478f01ae87236 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9C=A8=E7=93=9C=E4=B8=80=E5=9D=97=E5=85=AB?=
<2523890936@qq.com>
Date: Fri, 18 Jul 2025 14:49:13 +0800
Subject: [PATCH 4/5] =?UTF-8?q?icp=E4=BF=AE=E5=A4=8D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
f/web-kboss/src/utils/request.js | 7 ++++---
f/web-kboss/src/views/homePage/indexLast.vue | 12 ++++++++----
f/web-kboss/src/views/login/indexNew.vue | 17 ++++++++---------
.../index.vue | 1 -
f/web-kboss/vue.config.js | 4 +++-
5 files changed, 23 insertions(+), 18 deletions(-)
diff --git a/f/web-kboss/src/utils/request.js b/f/web-kboss/src/utils/request.js
index 758e757..d3d7efe 100644
--- a/f/web-kboss/src/utils/request.js
+++ b/f/web-kboss/src/utils/request.js
@@ -19,9 +19,10 @@ let myUrl = window.location.href.split("/#")[0];
let testUrl = ''
-// window.location.href === "https://www.kaiyuancloud.cn/#/login?redirect=%2F"
-if (window.location.href.includes("www.kaiyuancloud.cn/dev")) {
- testUrl = 'https://www.kaiyuancloud.cn/dev'
+// window.location.href === "https://www.kaiyuancloud.cn/#/login?redirect=%2F"1
+if (window.location.href.includes("dev.opencomputing.cn")) {
+
+ testUrl = 'https://dev.opencomputing.cn'
} else if (window.location.href.includes("https://www.kaiyuancloud.cn")) {//dev
testUrl = 'https://www.kaiyuancloud.cn'
} else if (window.location.href.includes("localhost")) {
diff --git a/f/web-kboss/src/views/homePage/indexLast.vue b/f/web-kboss/src/views/homePage/indexLast.vue
index b1b4518..4bf51e7 100644
--- a/f/web-kboss/src/views/homePage/indexLast.vue
+++ b/f/web-kboss/src/views/homePage/indexLast.vue
@@ -15,8 +15,8 @@
- 地址:{{ logoInfoNew.home.adress }}
- - 邮箱:open-computing@kaiyuancloud.cn
- - 电话: 400-6150805 010-65917875
+
- 邮箱:{{logoInfoNew.home.email}}
+ - 电话: {{logoInfoNew.home.mobile}}
@@ -80,9 +80,13 @@
京公网安备11010502054007号 {{
+ style="margin:15px 0 ;width: 1400px;display:flex;justify-content:center;align-items:center;color: #7A82A0;"> 京ICP{{
+ logoInfoNew.home.license
+ }} {{
logoInfoNew.home.footerTitle
- }} 版权所有 @kaiyuanyun 2023
+ }} {{
+ logoInfoNew.home.copyright
+ }}
diff --git a/f/web-kboss/src/views/login/indexNew.vue b/f/web-kboss/src/views/login/indexNew.vue
index 94e2bf0..c219f83 100644
--- a/f/web-kboss/src/views/login/indexNew.vue
+++ b/f/web-kboss/src/views/login/indexNew.vue
@@ -164,17 +164,14 @@
@@ -657,6 +654,7 @@ export default {
if (res.status == true && res.data && res.data.length) {
this.$store.commit('setLogoInfo', res.data[0]);
this.isShow = true
+ this.$store.commit('setLogoInfoNew', res.data[0].additional_msg);
if (res.data[0].orgname == '中关村数智人工智能产业联盟') {
this.logoUrlOut = 'https://www.ncmatch.cn'
}
@@ -969,6 +967,7 @@ export default {
...mapState({
isSuccessCode: state => state.login.isSuccessCode,
audioElement: state => state.sales.audioElement,
+ logoInfoNew: state => state.product.logoInfoNew,
})
}
diff --git a/f/web-kboss/src/views/operation/computingCenterManagement/clusterResourceInstanceConfiguration/index.vue b/f/web-kboss/src/views/operation/computingCenterManagement/clusterResourceInstanceConfiguration/index.vue
index 3d35d13..dcbfa1e 100644
--- a/f/web-kboss/src/views/operation/computingCenterManagement/clusterResourceInstanceConfiguration/index.vue
+++ b/f/web-kboss/src/views/operation/computingCenterManagement/clusterResourceInstanceConfiguration/index.vue
@@ -131,7 +131,6 @@
-
diff --git a/f/web-kboss/vue.config.js b/f/web-kboss/vue.config.js
index a428311..b3fb801 100644
--- a/f/web-kboss/vue.config.js
+++ b/f/web-kboss/vue.config.js
@@ -63,7 +63,9 @@ module.exports = {
// }
// },
'/api': {
- target: 'http://47.93.12.75:8891',
+ // target: 'http://47.93.12.75:8891',
+ target: 'https://dev.opencomputing.cn',
+
// target: 'https://www.kaiyuancloud.cn',
ws: true,
changeOrigin: true,
--
2.34.1
From b28798bb6d5efd566fb89bc97a312d1929de6e34 Mon Sep 17 00:00:00 2001
From: ping <1017253325@qq.com>
Date: Fri, 18 Jul 2025 14:53:58 +0800
Subject: [PATCH 5/5] update
---
b/reseller/get_ipc_logo.dspy | 26 ++++++++++++++++++++++----
1 file changed, 22 insertions(+), 4 deletions(-)
diff --git a/b/reseller/get_ipc_logo.dspy b/b/reseller/get_ipc_logo.dspy
index e762518..275d74e 100644
--- a/b/reseller/get_ipc_logo.dspy
+++ b/b/reseller/get_ipc_logo.dspy
@@ -46,7 +46,7 @@ async def get_ipc_logo(ns={}):
if '?domain_name=' in url_link:
domain_url = url_link.split('?domain_name=')[1]
# 如果是业主机构
- if ('ncmatch' in domain_url or '9527' in domain_url or '8889' in domain_url or '8891' in domain_url or domain_url in ['xterm.kaiyuancloud.cn','www.kaiyuancloud.cn', 'dev.kaiyuancloud.cn', 'dev.opencomputing.cn', 'test.kaiyuancloud.cn', 'localhost:9527']) and '/domain/' not in url_link:
+ if ('ncmatch' in domain_url or '9527' in domain_url or '8889' in domain_url or '8891' in domain_url or domain_url in ['xterm.kaiyuancloud.cn','www.kaiyuancloud.cn', 'dev.kaiyuancloud.cn', 'dev.opencomputing.cn', 'test.kaiyuancloud.cn', 'localhost']) and '/domain/' not in url_link:
yezhu_info = (await sor.R('organization', {'org_type': '0'}))[0]
domain_res = (await sor.R('params', {'pname': '业主机构域名'}))[0]['pvalue']
# yezhu = {
@@ -68,7 +68,16 @@ async def get_ipc_logo(ns={}):
"bannerTitle": "开元数智",
"adress": "北京市石景山区和平西路60号院1号楼11层1101-30",
"footerTitle": "开元数智(北京)科技有限公司",
- 'qrCode': 'https://www.kaiyuancloud.cn/idfile?path=firstpagehot/ncmatch_inquiry.jpg'
+ 'qrCode': 'https://www.kaiyuancloud.cn/idfile?path=firstpagehot/ncmatch_inquiry.jpg',
+ 'footer_info': '京ICP备2022001945号-4 开元数智(北京)科技有限公司 版权所有 @kaiyuanyun 2023',
+ "copyright": "@kaiyuanyun 2023",
+ "domain_name": "ncmatch.cn",
+ "email": "Open-computing@kaiyuancloud.cn",
+ "license": "2022001945号-1",
+ "logo": "https://www.kaiyuancloud.cn/idfile?path=logo_ncmatch.png",
+ "mobile": "400-6150805 010-65917875",
+ "publicsecurity": "11010502054007",
+ "businesslicense": "京B2-20232313"
},
"about": {
"title": "开元数智",
@@ -82,14 +91,23 @@ async def get_ipc_logo(ns={}):
]
}
}
- elif 'kaiyuancloud' in domain_url or 'opencomputing' in domain_url:
+ elif 'kaiyuancloud' in domain_url or 'opencomputing' in domain_url or 'localhost' in domain_url:
yezhu['additional_msg'] = {
"home": {
"logoImg": "https://www.kaiyuancloud.cn/idfile?path=logo.png",
"bannerTitle": "开元云",
"adress": "北京市朝阳区东三环中路65号富力中心",
"footerTitle": "开元云(北京)科技有限公司",
- 'qrCode': 'https://www.kaiyuancloud.cn/idfile?path=firstpagehot/kaiyuancloud_inquiry.png'
+ 'qrCode': 'https://www.kaiyuancloud.cn/idfile?path=firstpagehot/kaiyuancloud_inquiry.png',
+ 'footer_info': '京公网安备11010502054007号 开元云(北京)科技有限公司 版权所有 @kaiyuanyun 2023',
+ "copyright": "@kaiyuanyun 2023",
+ "domain_name": "ncmatch.cn",
+ "email": "Open-computing@kaiyuancloud.cn",
+ "license": "2022001945号-1",
+ "logo": "https://www.kaiyuancloud.cn/idfile?path=logo_ncmatch.png",
+ "mobile": "400-6150805 010-65917875",
+ "publicsecurity": "11010502054007",
+ "businesslicense": "京B2-20232313"
},
"about": {
"title": "开元云",
--
2.34.1