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
bc44d7c7
Commit
bc44d7c7
authored
Nov 21, 2024
by
1486327116
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加代理相关接口
parent
6a689f20
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
contractAgent.control.ts
src/functional/mvc/control/contractAgent.control.ts
+1
-1
No files found.
src/functional/mvc/control/contractAgent.control.ts
View file @
bc44d7c7
...
...
@@ -81,7 +81,7 @@ export const hedgeRatioSet = async (req: any, agentUserVO: AgentUserVO) => {
try
{
let
ip
=
isIp
(
req
.
ip
)
?
req
.
ip
:
'*.*.*.*'
;
let
currentUserId
=
await
getCurrentUserId
(
req
.
cookies
.
session_id
);
if
(
!
agentUserVO
.
agent_id
||
!
agentUserVO
.
symbol
||
!
agentUserVO
.
ratio
)
{
if
(
!
agentUserVO
.
agent_id
||
!
agentUserVO
.
product
||
!
agentUserVO
.
ratio
)
{
throw
ErrorCode
.
PARAM_MISS
}
...
...
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