Commit 1cafd14f authored by 俞嘉婷's avatar 俞嘉婷

coop_codeUpdate

parent 753fc539
...@@ -52,6 +52,9 @@ const API = generateAPI({ ...@@ -52,6 +52,9 @@ const API = generateAPI({
coop_codeUpdate: { coop_codeUpdate: {
uri: "home/coop_codeUpdate.do", uri: "home/coop_codeUpdate.do",
method: 'post', method: 'post',
headers: {
'Content-Type': 'application/json',
},
}, },
// 首页-白名单限制弹窗 // 首页-白名单限制弹窗
isWhiteUser: { isWhiteUser: {
......
...@@ -183,6 +183,12 @@ class Store { ...@@ -183,6 +183,12 @@ class Store {
if (res) adInfos.push(res) if (res) adInfos.push(res)
} }
adInfos[0] = {
fundcode: '23112008P',
incomeRate: 1.78,
pernetValue: 1.66,
}
// 将客户端查到的收益率 更新到产品列表中 // 将客户端查到的收益率 更新到产品列表中
const _temp = JSON.parse(JSON.stringify(this.indexData)) const _temp = JSON.parse(JSON.stringify(this.indexData))
_temp.recommendProductConfig = _temp.recommendProductConfig?.map(item => { _temp.recommendProductConfig = _temp.recommendProductConfig?.map(item => {
...@@ -208,6 +214,7 @@ class Store { ...@@ -208,6 +214,7 @@ class Store {
const params = { const params = {
codeList: _codeList, codeList: _codeList,
} }
console.info('coop_codeUpdate入参,', params)
API.coop_codeUpdate(params) API.coop_codeUpdate(params)
} }
......
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 to comment