Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
华
华夏模拟理财_20250701
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
SparkProjects
华夏模拟理财_20250701
Commits
1cafd14f
Commit
1cafd14f
authored
Jul 08, 2025
by
俞嘉婷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
coop_codeUpdate
parent
753fc539
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
index.ts
src/api/index.ts
+3
-0
store.ts
src/store/store.ts
+7
-0
No files found.
src/api/index.ts
View file @
1cafd14f
...
...
@@ -52,6 +52,9 @@ const API = generateAPI({
coop_codeUpdate
:
{
uri
:
"home/coop_codeUpdate.do"
,
method
:
'post'
,
headers
:
{
'Content-Type'
:
'application/json'
,
},
},
// 首页-白名单限制弹窗
isWhiteUser
:
{
...
...
src/store/store.ts
View file @
1cafd14f
...
...
@@ -183,6 +183,12 @@ class Store {
if
(
res
)
adInfos
.
push
(
res
)
}
adInfos
[
0
]
=
{
fundcode
:
'23112008P'
,
incomeRate
:
1.78
,
pernetValue
:
1.66
,
}
// 将客户端查到的收益率 更新到产品列表中
const
_temp
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
indexData
))
_temp
.
recommendProductConfig
=
_temp
.
recommendProductConfig
?.
map
(
item
=>
{
...
...
@@ -208,6 +214,7 @@ class Store {
const
params
=
{
codeList
:
_codeList
,
}
console
.
info
(
'coop_codeUpdate入参,'
,
params
)
API
.
coop_codeUpdate
(
params
)
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment