diff --git a/b/floating/contact.dspy b/b/floating/contact.dspy index f8b5b56..da0147c 100644 --- a/b/floating/contact.dspy +++ b/b/floating/contact.dspy @@ -15,9 +15,9 @@ async def contact(ns={}): # contactor_phone = sales_info[0]['mobile'] # contactor_image = sales_info[0]['picture'] # if domain == 'www': - # picture_urls = f"https://www.kaiyuancloud.cn/idfile?path={contactor_image}" + # picture_urls = f"https://www.opencomputing.cn/idfile?path={contactor_image}" # else: - # picture_urls = f"https://xterm.kaiyuancloud.cn/idfile?path={contactor_image}" + # picture_urls = f"https://xterm.opencomputing.cn/idfile?path={contactor_image}" # # return {'status': True, 'msg': '展示成功', 'contactor_phone': contactor_phone, # 'picture_url': picture_urls} @@ -26,9 +26,9 @@ async def contact(ns={}): # ss = await sor.R('organization', {'id': orgid, 'del_flg': 0}) # # if domain == 'www': - # picture_url = f"https://www.kaiyuancloud.cn/idfile?path={ss[0]['picture']}" + # picture_url = f"https://www.opencomputing.cn/idfile?path={ss[0]['picture']}" # else: - # picture_url = f"https://xterm.kaiyuancloud.cn/idfile?path={ss[0]['picture']}" + # picture_url = f"https://xterm.opencomputing.cn/idfile?path={ss[0]['picture']}" # # return {'status': True, 'msg': '展示成功', 'contactor_phone': ss[0]["contactor_phone"], # 'picture_url': picture_url} @@ -37,11 +37,11 @@ async def contact(ns={}): # ss = await sor.R('organization', {'id': orgid, 'del_flg': 0}) # # if domain == 'www': - # picture_url = f"https://www.kaiyuancloud.cn/idfile?path={ss[0]['picture']}" + # picture_url = f"https://www.opencomputing.cn/idfile?path={ss[0]['picture']}" # else: - # picture_url = f"https://xterm.kaiyuancloud.cn/idfile?path={ss[0]['picture']}" + # picture_url = f"https://xterm.opencomputing.cn/idfile?path={ss[0]['picture']}" - picture_url = 'https://www.kaiyuancloud.cn/idfile?path=firstpagehot/wechat_person.png' + picture_url = 'https://www.opencomputing.cn/idfile?path=firstpagehot/wechat_person.png' return {'status': True, 'msg': '展示成功', 'contactor_phone': ' 400-6150805, 010-65917875', 'picture_url': picture_url} diff --git a/b/product/product_quick_navigation.dspy b/b/product/product_quick_navigation.dspy index 10f8ca7..d5d999f 100644 --- a/b/product/product_quick_navigation.dspy +++ b/b/product/product_quick_navigation.dspy @@ -8,7 +8,7 @@ async def product_quick_navigation(ns={}): "productgroup": "计算", "url": "https://console.vcp.baidu.com/bcc/#/bcc/instance/create", "listUrl": "https://console.vcp.baidu.com/bcc/#/bcc/instance/list", - "iconUrl": "https://www.kaiyuancloud.cn/idfile?path=/svg_data/baidu_GPU.svg" + "iconUrl": "https://www.opencomputing.cn/idfile?path=/svg_data/baidu_GPU.svg" }, { "id": "LwhOnnk9BWaaDZ7QP0t6Y", @@ -18,7 +18,7 @@ async def product_quick_navigation(ns={}): "productgroup": "计算", "url": "https://console.vcp.baidu.com/bcc/#/bcc/instance/create", "listUrl": "https://console.vcp.baidu.com/bcc/#/bcc/instance/list", - "iconUrl": "https://www.kaiyuancloud.cn/idfile?path=/svg_data/baidu_BCC.svg" + "iconUrl": "https://www.opencomputing.cn/idfile?path=/svg_data/baidu_BCC.svg" }, { "id": "tGgs5SlaBH9t_TZVI60ZP", @@ -28,7 +28,7 @@ async def product_quick_navigation(ns={}): "productgroup": "计算", "url": "https://console.vcp.baidu.com/bcc/#/dcc/host/create", "listUrl": "https://console.vcp.baidu.com/bcc/#/dcc/host/list", - "iconUrl": "https://www.kaiyuancloud.cn/idfile?path=/svg_data/baidu_DCC.svg" + "iconUrl": "https://www.opencomputing.cn/idfile?path=/svg_data/baidu_DCC.svg" }, { "id": "xLT6VfQwdBWzpfMXC8qFM", @@ -38,7 +38,7 @@ async def product_quick_navigation(ns={}): "productgroup": "计算", "url": "https://console.vcp.baidu.com/ls/#/ls/instance/create", "listUrl": "https://console.vcp.baidu.com/ls/#/ls/instance/list", - "iconUrl": "https://www.kaiyuancloud.cn/idfile?path=/svg_data/baidu_LS.svg" + "iconUrl": "https://www.opencomputing.cn/idfile?path=/svg_data/baidu_LS.svg" } ] return { diff --git a/b/provider/cpcc_kehu_kan_chanpin.dspy b/b/provider/cpcc_kehu_kan_chanpin.dspy index 15e9d9b..3309748 100644 --- a/b/provider/cpcc_kehu_kan_chanpin.dspy +++ b/b/provider/cpcc_kehu_kan_chanpin.dspy @@ -69,10 +69,10 @@ async def cpcc_kehu_kan_chanpin(ns={}): cpcc_li = await sor.sqlExe(cpcc_find_sql, {}) domain_url = ns.get('domain_url') - if ('https://www.kaiyuancloud.cn/dev' in domain_url) or ('localhost' in domain_url): - base_url = 'https://www.kaiyuancloud.cn/dev' - elif 'https://www.kaiyuancloud.cn' in domain_url: - base_url = 'https://www.kaiyuancloud.cn' + if ('https://www.opencomputing.cn/dev' in domain_url) or ('localhost' in domain_url): + base_url = 'https://www.opencomputing.cn/dev' + elif 'https://www.opencomputing.cn' in domain_url: + base_url = 'https://www.opencomputing.cn' else: base_url = domain_url.split('://')[0] + '://' + domain_url.split('://')[1].split('/')[0] diff --git a/b/provider/create_cpcc_instance.dspy b/b/provider/create_cpcc_instance.dspy index b105133..932b182 100644 --- a/b/provider/create_cpcc_instance.dspy +++ b/b/provider/create_cpcc_instance.dspy @@ -217,10 +217,10 @@ async def create_cpcc_instance(ns={}): customer_goods_id = affirmbz_order_res['customer_goods_id'] try: domain_url = ns.get('domain_url') - if ('https://www.kaiyuancloud.cn/dev' in domain_url) or ('localhost' in domain_url): - base_url = 'https://www.kaiyuancloud.cn/dev' - elif 'https://www.kaiyuancloud.cn' in domain_url: - base_url = 'https://www.kaiyuancloud.cn' + if ('https://www.opencomputing.cn/dev' in domain_url) or ('localhost' in domain_url): + base_url = 'https://www.opencomputing.cn/dev' + elif 'https://www.opencomputing.cn' in domain_url: + base_url = 'https://www.opencomputing.cn' else: base_url = domain_url.split('://')[0] + '://' + domain_url.split('://')[1].split('/')[0] diff --git a/f/web-kboss/src/components/FloatingBox/FloatingBox.vue b/f/web-kboss/src/components/FloatingBox/FloatingBox.vue index a5562d9..80201a1 100644 --- a/f/web-kboss/src/components/FloatingBox/FloatingBox.vue +++ b/f/web-kboss/src/components/FloatingBox/FloatingBox.vue @@ -340,8 +340,8 @@ export default { } }) this.isShowChangeChat = false - // let webSocketUrl = 'wss://www.kaiyuancloud.cn/dev/wss/pub/rtcc.ws' - let webSocketUrl = 'wss://www.kaiyuancloud.cn/pub/rtcc.ws' + // let webSocketUrl = 'wss://www.opencomputing.cn/dev/wss/pub/rtcc.ws' + let webSocketUrl = 'wss://www.opencomputing.cn/pub/rtcc.ws' this.socket = new WebSocket(webSocketUrl) let ploadyed = { type: 'send', @@ -458,7 +458,7 @@ export default { if (sessionStorage.getItem("userId")) { this.dialogVisible = true } else { - // window.open('https://www.kaiyuancloud.cn/#/floatingBox') + // window.open('https://www.opencomputing.cn/#/floatingBox') this.$router.push('/floatingBox') } diff --git a/f/web-kboss/src/views/homePage/ncmatch/proDetail/index.vue b/f/web-kboss/src/views/homePage/ncmatch/proDetail/index.vue index eb6dbca..0cdb0df 100644 --- a/f/web-kboss/src/views/homePage/ncmatch/proDetail/index.vue +++ b/f/web-kboss/src/views/homePage/ncmatch/proDetail/index.vue @@ -64,7 +64,7 @@