Commit 5f25d487 by 肖康

x

parent edf76bda
...@@ -491,6 +491,10 @@ export const apis = { ...@@ -491,6 +491,10 @@ export const apis = {
*/ */
ZiYingIndex: zyApi + '/search/ZiYing/index', ZiYingIndex: zyApi + '/search/ZiYing/index',
/** /**
* 自营搜索样片
*/
ZiYingIndexYp: zyApi + '/search/Sample/zyh',
/**
* 获取banner * 获取banner
*/ */
getsamplebanner: url + '/getsamplebanner', getsamplebanner: url + '/getsamplebanner',
...@@ -889,6 +893,9 @@ export const services = { ...@@ -889,6 +893,9 @@ export const services = {
ZiYingIndex(params) { ZiYingIndex(params) {
return axios.post(apis.ZiYingIndex, params) return axios.post(apis.ZiYingIndex, params)
}, },
ZiYingIndexYp(params) {
return axios.post(apis.ZiYingIndexYp, params)
},
getsamplebanner(params) { getsamplebanner(params) {
return axios.post(apis.getsamplebanner, params) return axios.post(apis.getsamplebanner, params)
}, },
......
...@@ -99,7 +99,7 @@ const actions = { ...@@ -99,7 +99,7 @@ const actions = {
let params = Util.getParams(obj); let params = Util.getParams(obj);
Services.ZiYingIndex(params).then((res) => { Services.ZiYingIndexYp(params).then((res) => {
Toast.clear(); Toast.clear();
let data = res.data; let data = res.data;
state.loading = false; state.loading = false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment