Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
T
ts-api-demo
Project
Project
Details
Activity
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wmvm
ts-api-demo
Commits
be519a7b
Commit
be519a7b
authored
Sep 06, 2024
by
1486327116
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
format
parent
84f83c6c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
14 deletions
+1
-14
coreSystemUtils.ts
src/utils/coreSystemUtils.ts
+1
-14
No files found.
src/utils/coreSystemUtils.ts
View file @
be519a7b
...
@@ -85,23 +85,10 @@ export const getUserOrdersFromCore = async(params)=> {
...
@@ -85,23 +85,10 @@ export const getUserOrdersFromCore = async(params)=> {
logger
.
error
(
"getPairFromCore"
,
data
);
logger
.
error
(
"getPairFromCore"
,
data
);
return
null
return
null
}
}
//
console.log(data)
console
.
log
(
data
)
return
data
return
data
}
}
export
const
getUserOrderFromCore
=
async
(
orderId
)
=>
{
// let params = new URLSearchParams();
const
url
=
`
${
webadmin_endpoint
}
/order/list`
//let { data } = await axios.get(url,{params});
let
{
data
}
=
await
axios
.
get
(
url
,{});
if
(
data
.
error
)
{
logger
.
error
(
"getPairFromCore"
,
data
);
return
null
}
// console.log(data)
return
data
}
// getUserOrdersFromCore({user_id:1})
// getUserOrdersFromCore({user_id:1})
export
const
addCoin2Core
=
async
(
symbol
,
id
)
=>
{
export
const
addCoin2Core
=
async
(
symbol
,
id
)
=>
{
...
...
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