Commit bc44d7c7 authored by 1486327116's avatar 1486327116

添加代理相关接口

parent 6a689f20
......@@ -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
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment