update #32
@ -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}
|
||||
|
||||
|
||||
@ -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 {
|
||||
|
||||
@ -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]
|
||||
|
||||
|
||||
@ -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]
|
||||
|
||||
|
||||
@ -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')
|
||||
}
|
||||
|
||||
|
||||
@ -64,7 +64,7 @@
|
||||
<ul v-if="productDetailInfo.cart_flag === '1'" class="adUl">
|
||||
<li>
|
||||
<div class="leftBox">
|
||||
<img src="https://www.kaiyuancloud.cn/idfile?path=firstpagehot/ssc2x.png" alt="">
|
||||
<img src="https://www.opencomputing.cn/idfile?path=firstpagehot/ssc2x.png" alt="">
|
||||
</div>
|
||||
<div class="rightBox">
|
||||
<span class="subTitle">CPU</span>
|
||||
@ -73,7 +73,7 @@
|
||||
</li>
|
||||
<li>
|
||||
<div class="leftBox">
|
||||
<img src="https://www.kaiyuancloud.cn/idfile?path=firstpagehot/cpu2x.png" alt="">
|
||||
<img src="https://www.opencomputing.cn/idfile?path=firstpagehot/cpu2x.png" alt="">
|
||||
</div>
|
||||
<div class="rightBox">
|
||||
<span class="subTitle">内存</span>
|
||||
@ -82,7 +82,7 @@
|
||||
</li>
|
||||
<li>
|
||||
<div class="leftBox">
|
||||
<img src="https://www.kaiyuancloud.cn/idfile?path=firstpagehot/sdcard2x.png" alt="">
|
||||
<img src="https://www.opencomputing.cn/idfile?path=firstpagehot/sdcard2x.png" alt="">
|
||||
</div>
|
||||
<div class="rightBox">
|
||||
<span class="subTitle">GPU</span>
|
||||
@ -91,7 +91,7 @@
|
||||
</li>
|
||||
<li>
|
||||
<div class="leftBox">
|
||||
<img src="https://www.kaiyuancloud.cn/idfile?path=firstpagehot/ssdr2x.png" alt="">
|
||||
<img src="https://www.opencomputing.cn/idfile?path=firstpagehot/ssdr2x.png" alt="">
|
||||
</div>
|
||||
<div class="rightBox">
|
||||
<span class="subTitle">系统盘</span>
|
||||
@ -100,7 +100,7 @@
|
||||
</li>
|
||||
<li>
|
||||
<div class="leftBox">
|
||||
<img src="https://www.kaiyuancloud.cn/idfile?path=firstpagehot/servermini2x.png" alt="">
|
||||
<img src="https://www.opencomputing.cn/idfile?path=firstpagehot/servermini2x.png" alt="">
|
||||
</div>
|
||||
<div class="rightBox">
|
||||
<span class="subTitle">数据盘</span>
|
||||
@ -109,7 +109,7 @@
|
||||
</li>
|
||||
<li>
|
||||
<div class="leftBox">
|
||||
<img src="https://www.kaiyuancloud.cn/idfile?path=firstpagehot/serverpath2x.png" alt="">
|
||||
<img src="https://www.opencomputing.cn/idfile?path=firstpagehot/serverpath2x.png" alt="">
|
||||
</div>
|
||||
<div class="rightBox">
|
||||
<span class="subTitle">网卡</span>
|
||||
|
||||
@ -49,11 +49,11 @@ export default {
|
||||
return {
|
||||
selectedIndex: 0,
|
||||
titleList: [
|
||||
{name: '网络与CDN', url: 'https://www.kaiyuancloud.cn/jdcloud/1.png'},
|
||||
{name: '安全', url: 'https://www.kaiyuancloud.cn/jdcloud/2.png'},
|
||||
{name: '存储', url: 'https://www.kaiyuancloud.cn/jdcloud/3.png'},
|
||||
{name: '数据库', url: 'https://www.kaiyuancloud.cn/jdcloud/4.png'},
|
||||
{name: '弹性计算', url: 'https://www.kaiyuancloud.cn/jdcloud/5.png'},
|
||||
{name: '网络与CDN', url: 'https://www.opencomputing.cn/jdcloud/1.png'},
|
||||
{name: '安全', url: 'https://www.opencomputing.cn/jdcloud/2.png'},
|
||||
{name: '存储', url: 'https://www.opencomputing.cn/jdcloud/3.png'},
|
||||
{name: '数据库', url: 'https://www.opencomputing.cn/jdcloud/4.png'},
|
||||
{name: '弹性计算', url: 'https://www.opencomputing.cn/jdcloud/5.png'},
|
||||
],
|
||||
|
||||
showData: [],
|
||||
|
||||
@ -126,11 +126,11 @@ export default {
|
||||
return {
|
||||
selectedIndex: 0,
|
||||
titleList: [
|
||||
{name: '网络与CDN', url: 'https://www.kaiyuancloud.cn/jdcloud/1.png'},
|
||||
{name: '安全', url: 'https://www.kaiyuancloud.cn/jdcloud/2.png'},
|
||||
{name: '存储', url: 'https://www.kaiyuancloud.cn/jdcloud/3.png'},
|
||||
{name: '数据库', url: 'https://www.kaiyuancloud.cn/jdcloud/4.png'},
|
||||
{name: '弹性计算', url: 'https://www.kaiyuancloud.cn/jdcloud/5.png'},
|
||||
{name: '网络与CDN', url: 'https://www.opencomputing.cn/jdcloud/1.png'},
|
||||
{name: '安全', url: 'https://www.opencomputing.cn/jdcloud/2.png'},
|
||||
{name: '存储', url: 'https://www.opencomputing.cn/jdcloud/3.png'},
|
||||
{name: '数据库', url: 'https://www.opencomputing.cn/jdcloud/4.png'},
|
||||
{name: '弹性计算', url: 'https://www.opencomputing.cn/jdcloud/5.png'},
|
||||
],
|
||||
all_products: [
|
||||
{
|
||||
|
||||
@ -53,9 +53,9 @@
|
||||
<div class="dsPcPad">
|
||||
<span class="hmc1icon" style="position: relative;height: 150px">
|
||||
<div class="aniIcon"
|
||||
style="background-image: url('https://www.kaiyuancloud.cn/dev/idfile?path=svg_data/n3d_2.png'); background-position-y: 0;position: absolute;top: 0;left: -20px"></div>
|
||||
style="background-image: url('https://www.opencomputing.cn/dev/idfile?path=svg_data/n3d_2.png'); background-position-y: 0;position: absolute;top: 0;left: -20px"></div>
|
||||
<div class="hmc3nico"><img height="180"
|
||||
src="https://www.kaiyuancloud.cn/dev/idfile?path=svg_data/n3d_2.png"
|
||||
src="https://www.opencomputing.cn/dev/idfile?path=svg_data/n3d_2.png"
|
||||
width="180"></div>
|
||||
</span>
|
||||
</div>
|
||||
@ -82,11 +82,11 @@
|
||||
style="position: relative;height: 150px">
|
||||
<div class="aniIcon"
|
||||
|
||||
style="background-image: url('https://www.kaiyuancloud.cn/dev/idfile?path=svg_data/n3d_1.png'); background-position-y: 0;position: absolute;top: 0;left: -20px"></div>
|
||||
style="background-image: url('https://www.opencomputing.cn/dev/idfile?path=svg_data/n3d_1.png'); background-position-y: 0;position: absolute;top: 0;left: -20px"></div>
|
||||
|
||||
|
||||
<div class="hmc3nico"><img height="180"
|
||||
src="https://www.kaiyuancloud.cn/dev/idfile?path=svg_data/n3d_1.png"
|
||||
src="https://www.opencomputing.cn/dev/idfile?path=svg_data/n3d_1.png"
|
||||
width="180"></div>
|
||||
</span>
|
||||
</div>
|
||||
@ -111,11 +111,11 @@
|
||||
<div class="dsPcPad">
|
||||
<span class="hmc1icon" style="position: relative;height: 150px">
|
||||
<div class="aniIcon"
|
||||
style="background-image: url('https://www.kaiyuancloud.cn/dev/idfile?path=svg_data/n3d_3.png'); background-position-y: 0;position: absolute;top: 0;left: -20px"></div>
|
||||
style="background-image: url('https://www.opencomputing.cn/dev/idfile?path=svg_data/n3d_3.png'); background-position-y: 0;position: absolute;top: 0;left: -20px"></div>
|
||||
|
||||
|
||||
<div class="hmc3nico"><img height="180"
|
||||
src="https://www.kaiyuancloud.cn/dev/idfile?path=svg_data/n3d_3.png"
|
||||
src="https://www.opencomputing.cn/dev/idfile?path=svg_data/n3d_3.png"
|
||||
width="180"></div>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
@ -28,7 +28,7 @@ class WXPay:
|
||||
self.refund_url = 'https://api.mch.weixin.qq.com/v3/refund/domestic/refunds' # 退款接口
|
||||
config = getConfig()
|
||||
# self.notify_url = config.weixinpay.huidiao # 通知url
|
||||
self.notify_url = 'https://www.kaiyuancloud.cn/customer/get_weixpay.dspy' # 通知url
|
||||
self.notify_url = 'https://www.opencomputing.cn/customer/get_weixpay.dspy' # 通知url
|
||||
self.serial_no = '7B8C3F6F573F249EDD3ED6AA95EC632691BCB503' # 商户证书序列号
|
||||
|
||||
# 生成签名
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user