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
315d6a6f
Commit
315d6a6f
authored
Jul 03, 2025
by
haiyoucuv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init
parent
6a5b03c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
64 additions
and
0 deletions
+64
-0
mncp.ts
mock/mncp.ts
+64
-0
No files found.
mock/mncp.ts
0 → 100644
View file @
315d6a6f
export
default
[
{
url
:
'/mncp/index.do'
,
response
:
({
query
})
=>
{
return
{
success
:
true
,
code
:
""
,
message
:
""
,
timeStamp
:
Date
.
now
(),
data
:
{
productName
:
"productName"
,
totalProfit
:
Math
.
random
()
*
100000
>>
0
,
tranche
:
Math
.
random
()
*
100000
>>
0
,
marketValue
:
Math
.
random
()
*
10000000
>>
0
,
yesterdayProfit
:
Math
.
random
()
*
10000
>>
0
,
availableFunds
:
Math
.
random
()
*
10000000
>>
0
,
}
}
},
},
{
url
:
'/mncp/buy.do'
,
response
:
({
query
})
=>
{
return
{
success
:
true
,
code
:
""
,
message
:
""
,
data
:
null
,
}
},
},
{
url
:
'/mncp/redeem.do'
,
response
:
({
query
})
=>
{
return
{
success
:
true
,
code
:
""
,
message
:
""
,
data
:
null
,
}
},
},
{
url
:
'/mncp/tradeRecords.do'
,
response
:
({
query
})
=>
{
return
{
success
:
true
,
code
:
""
,
message
:
""
,
data
:
{
haveMore
:
true
,
list
:
new
Array
(
50
).
fill
(
1
).
map
((
_
,
i
)
=>
{
return
{
desc
:
"descdescdescdescdesc"
,
gmtCreate
:
Date
.
now
()
+
Math
.
random
()
*
1000000000
,
amount
:
Math
.
random
()
*
10000000
>>
0
,
tradeStatus
:
Math
.
random
()
*
3
>>
0
,
}
}),
}
}
},
},
]
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