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
1f405d7e
Commit
1f405d7e
authored
Nov 21, 2024
by
1486327116
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加代理相关接口
parent
6bf92bde
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
index.ts
src/functional/router/v1/index.ts
+6
-6
No files found.
src/functional/router/v1/index.ts
View file @
1f405d7e
...
@@ -224,14 +224,14 @@ const postFunc = {
...
@@ -224,14 +224,14 @@ const postFunc = {
'fiance/other/contract/limit/trade/set'
:
contractLimitTradeCtrl
.
set
,
'fiance/other/contract/limit/trade/set'
:
contractLimitTradeCtrl
.
set
,
'fiance/other/contract/limit/trade/list'
:
contractLimitTradeCtrl
.
list
,
'fiance/other/contract/limit/trade/list'
:
contractLimitTradeCtrl
.
list
,
//金融部-其他管理-合约接单账户配置(代理商)
//金融部-其他管理-合约接单账户配置(代理商)
'fiance/other/contract/agent/set'
:
contractAgentCtrl
.
agentSet
,
// 参数只
保留
user_id
'fiance/other/contract/agent/set'
:
contractAgentCtrl
.
agentSet
,
// 参数只
要
user_id
'fiance/other/contract/agent/list'
:
contractAgentCtrl
.
agentList
,
// 返回值只有user_id agent_id 时间
'fiance/other/contract/agent/list'
:
contractAgentCtrl
.
agentList
,
//
参数支持user_id 或者 agent_id
返回值只有user_id agent_id 时间
'fiance/other/contract/agent/hedgeRatio/set'
:
contractAgentCtrl
.
hedgeRatioSet
,
// 給代理商添加对冲配置参数 agent_id
symbol
(合约交易对) ratio对冲比例0-1之间
'fiance/other/contract/agent/hedgeRatio/set'
:
contractAgentCtrl
.
hedgeRatioSet
,
// 給代理商添加对冲配置参数 agent_id
product
(合约交易对) ratio对冲比例0-1之间
'fiance/other/contract/agent/hedgeRatio/list'
:
contractAgentCtrl
.
hedgeRatioList
,
'fiance/other/contract/agent/hedgeRatio/list'
:
contractAgentCtrl
.
hedgeRatioList
,
// 返回值返回list里面 product交易对 ratio对冲比例 qty 对冲数量
//金融部-其他管理-合约接单账户关联(代理用户)
//金融部-其他管理-合约接单账户关联(代理用户)
'fiance/other/contract/agent/user/set'
:
contractAgentCtrl
.
agentUserSet
,
'fiance/other/contract/agent/user/set'
:
contractAgentCtrl
.
agentUserSet
,
// 参数user_id agent_id
'fiance/other/contract/agent/user/list'
:
contractAgentCtrl
.
agentUserList
,
'fiance/other/contract/agent/user/list'
:
contractAgentCtrl
.
agentUserList
,
// 参数支持user_id 或者 agent_id 返回值只有user_id agent_id 时间
//金融部-其他管理-合约渠道用户管理(代理商渠道)
//金融部-其他管理-合约渠道用户管理(代理商渠道)
'fiance/other/contract/agent/channel/set'
:
contractAgentCtrl
.
agentChannelSet
,
'fiance/other/contract/agent/channel/set'
:
contractAgentCtrl
.
agentChannelSet
,
'fiance/other/contract/agent/channel/list'
:
contractAgentCtrl
.
agentChannelList
,
'fiance/other/contract/agent/channel/list'
:
contractAgentCtrl
.
agentChannelList
,
...
...
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