Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录
切换导航
S
shop-new
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
王天霸
shop-new
Commits
c69ae484
提交
c69ae484
authored
10月 11, 2021
作者:
huaxinzhu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
website和index获取channelid的路径,改test地址
上级
11052e0d
显示空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
10 行增加
和
9 行删除
+10
-9
index.html
public/index.html
+2
-1
webSite.js
src/api/webSite.js
+8
-8
没有找到文件。
public/index.html
浏览文件 @
c69ae484
...
@@ -228,7 +228,8 @@
...
@@ -228,7 +228,8 @@
}
}
}
}
};
};
xhttp
.
open
(
"GET"
,
'//sysapi.jxhh.com/api/v1/oem/webSite/domainChannel?domain='
+
ssa
+
'&field='
+
op
,
true
);
// 直接上正式,以防上线忘改
//xhttp.open("GET", '//sysapi.jxhh.com/api/v1/oem/webSite/domainChannel?domain='+ssa+'&field='+op, true); // 直接上正式,以防上线忘改
xhttp
.
open
(
"GET"
,
'http://192.168.26.179:6601/api/v1/oem/webSite/domainChannel?domain='
+
ssa
+
'&field='
+
op
,
true
);
// 直接上正式,以防上线忘改
xhttp
.
send
();
xhttp
.
send
();
}
}
</script>
</script>
...
...
src/api/webSite.js
浏览文件 @
c69ae484
...
@@ -3,8 +3,8 @@ import request from '@/utils/request'
...
@@ -3,8 +3,8 @@ import request from '@/utils/request'
// 获取渠道id
// 获取渠道id
export
function
indexInfo
(
params
)
{
export
function
indexInfo
(
params
)
{
return
request
({
return
request
({
url
:
'http://sysapi.jxhh.com/api/v1/oem/webSite/domainChannel'
,
//
url: 'http://sysapi.jxhh.com/api/v1/oem/webSite/domainChannel',
//
url: 'http://192.168.26.179:6601/api/v1/oem/webSite/domainChannel',
url
:
'http://192.168.26.179:6601/api/v1/oem/webSite/domainChannel'
,
method
:
'get'
,
method
:
'get'
,
params
params
...
@@ -13,8 +13,8 @@ export function indexInfo(params) {
...
@@ -13,8 +13,8 @@ export function indexInfo(params) {
// 获取所有域名
// 获取所有域名
export
function
getdomain
(
params
)
{
export
function
getdomain
(
params
)
{
return
request
({
return
request
({
url
:
'http://sysapi.jxhh.com/api/v1/oem/channel/domainFront'
,
//
url: 'http://sysapi.jxhh.com/api/v1/oem/channel/domainFront',
//
url: 'http://192.168.26.179:6601/api/v1/oem/channel/domainFront',
url
:
'http://192.168.26.179:6601/api/v1/oem/channel/domainFront'
,
method
:
'get'
,
method
:
'get'
,
params
params
...
@@ -23,8 +23,8 @@ export function getdomain(params) {
...
@@ -23,8 +23,8 @@ export function getdomain(params) {
// 获取官网设置接口
// 获取官网设置接口
export
function
webSite
(
params
)
{
export
function
webSite
(
params
)
{
return
request
({
return
request
({
url
:
'http://sysapi.jxhh.com/api/v1/oem/common/counsel'
,
//
url: 'http://sysapi.jxhh.com/api/v1/oem/common/counsel',
//
url: 'http://192.168.26.179:6601/api/v1/oem/common/counsel',
url
:
'http://192.168.26.179:6601/api/v1/oem/common/counsel'
,
method
:
'get'
,
method
:
'get'
,
params
params
})
})
...
@@ -33,8 +33,8 @@ export function webSite(params) {
...
@@ -33,8 +33,8 @@ export function webSite(params) {
// 云仓所有列表——Banner和域名/产品和服务/供应商入驻
// 云仓所有列表——Banner和域名/产品和服务/供应商入驻
export
function
getallCloudList
(
params
)
{
export
function
getallCloudList
(
params
)
{
return
request
({
return
request
({
url
:
'http://sysapi.jxhh.com/api/v1/oem/front/CloudList'
,
//
url: 'http://sysapi.jxhh.com/api/v1/oem/front/CloudList',
//
url: 'http://192.168.26.179:6601/api/v1/oem/front/CloudList',
url
:
'http://192.168.26.179:6601/api/v1/oem/front/CloudList'
,
method
:
'get'
,
method
:
'get'
,
params
params
})
})
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论