提交 c610deb6 authored 作者: lihuihui's avatar lihuihui

修改项目id

上级 88fa2d18
...@@ -33,6 +33,6 @@ module.exports = { ...@@ -33,6 +33,6 @@ module.exports = {
}, },
ProvidePlugin: {}, ProvidePlugin: {},
others: { others: {
projectId: '1000' projectId: '1009'
} }
} }
...@@ -14,6 +14,6 @@ module.exports = { ...@@ -14,6 +14,6 @@ module.exports = {
}, },
ProvidePlugin: {}, ProvidePlugin: {},
others: { others: {
projectId: '1000' projectId: '1009'
} }
} }
...@@ -15,6 +15,6 @@ module.exports = { ...@@ -15,6 +15,6 @@ module.exports = {
}, },
ProvidePlugin: {}, ProvidePlugin: {},
others: { others: {
projectId: '1000' projectId: '1009'
} }
} }
...@@ -14,7 +14,7 @@ export function queryInformation(param) { ...@@ -14,7 +14,7 @@ export function queryInformation(param) {
// url: host.main + path.queryInformation, // url: host.main + path.queryInformation,
url: '/api/zws/v1/enrollment/submissions', url: '/api/zws/v1/enrollment/submissions',
params: { params: {
project_id: 1000, project_id: 1009,
name: 'hhahah' name: 'hhahah'
} }
}) })
...@@ -30,7 +30,7 @@ export function introduction(params) { ...@@ -30,7 +30,7 @@ export function introduction(params) {
// 获取所有介绍内容 // 获取所有介绍内容
return ax({ return ax({
method: 'GET', method: 'GET',
url: '/api/zws/v1/cms/projects/1000/contents/' + params.tag url: '/api/zws/v1/cms/projects/1009/contents/' + params.tag
}) })
.then(function(response) { .then(function(response) {
params.cb(response.data[0].content) params.cb(response.data[0].content)
...@@ -47,7 +47,7 @@ export function getNews(params) { ...@@ -47,7 +47,7 @@ export function getNews(params) {
// url: host.main + path.news, // url: host.main + path.news,
url: '/api/zws/v1/cms/news', url: '/api/zws/v1/cms/news',
params: { params: {
project_id: 1000 project_id: 1009
} }
}) })
.then(function(response) { .then(function(response) {
......
...@@ -6,7 +6,7 @@ export default class ScoreAPI extends BaseAPI { ...@@ -6,7 +6,7 @@ export default class ScoreAPI extends BaseAPI {
*/ */
getContent = name => getContent = name =>
this.get( this.get(
`/v1/cms/projects/1000/contents/${encodeURIComponent(decodeURIComponent(name))}?sites=sofia.ezijing.com`, `/v1/cms/projects/1009/contents/${encodeURIComponent(decodeURIComponent(name))}?sites=sofia.ezijing.com`,
{ {
addhost: 'zws-api.ezijing.com', addhost: 'zws-api.ezijing.com',
Host: 'zws-api.ezijing.com' Host: 'zws-api.ezijing.com'
......
...@@ -7,7 +7,7 @@ export default class ScoreAPI extends BaseAPI { ...@@ -7,7 +7,7 @@ export default class ScoreAPI extends BaseAPI {
*/ */
getContent = name => getContent = name =>
this.get( this.get(
`zws/v1/cms/projects/1000/contents/${encodeURIComponent(decodeURIComponent(name))}?sites=sofia.ezijing.com`, `zws/v1/cms/projects/1009/contents/${encodeURIComponent(decodeURIComponent(name))}?sites=sofia.ezijing.com`,
{} {}
) )
/** /**
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论