Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
robot-monitor
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
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
汪晓凯
robot-monitor
Commits
06d8d283
Commit
06d8d283
authored
Jul 17, 2018
by
wxk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
接口问题
parent
4def5356
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
13 deletions
+15
-13
api-config.js
src/config/api-config.js
+14
-12
Login.vue
src/views/Login.vue
+1
-1
No files found.
src/config/api-config.js
View file @
06d8d283
// const originUrl = ""//本地开发
const
originUrl
=
"/asset_monitor"
//测试
const
Api
=
{
Login
:
"/login"
,
//登录
Register
:
"/register"
,
//注册
ResetPassword
:
"/resetPassword"
,
//重置密码
SendEmailVcode
:
"/sendEmailVcode"
,
//发送验证码
GetMatchRobots
:
"/accountlist"
,
//获取符合条件的机器人
GetRobotStatus
:
"/robotStatus"
,
//机器人预警状态查询
GetPlatformInfo
:
"/platform"
,
//交易所及匹配的交易对、目标币信息查询
GetRobotBank
:
"/accountlist"
,
//查询机器人银行账户
GetWalletInfo
:
"/walletInfo "
,
//查询某个账号的当前资产信息
Transfer
:
"/transfer"
,
//充币提币
Transaction
:
"/transaction"
,
//交易记录
Records
:
"/records"
,
//充提记录
Login
:
originUrl
+
"/login"
,
//登录
Register
:
originUrl
+
"/register"
,
//注册
ResetPassword
:
originUrl
+
"/resetPassword"
,
//重置密码
SendEmailVcode
:
originUrl
+
"/sendEmailVcode"
,
//发送验证码
GetMatchRobots
:
originUrl
+
"/accountlist"
,
//获取符合条件的机器人
GetRobotStatus
:
originUrl
+
"/robotStatus"
,
//机器人预警状态查询
GetPlatformInfo
:
originUrl
+
"/platform"
,
//交易所及匹配的交易对、目标币信息查询
GetRobotBank
:
originUrl
+
"/accountlist"
,
//查询机器人银行账户
GetWalletInfo
:
originUrl
+
"/walletInfo "
,
//查询某个账号的当前资产信息
Transfer
:
originUrl
+
"/transfer"
,
//充币提币
Transaction
:
originUrl
+
"/transaction"
,
//交易记录
Records
:
originUrl
+
"/records"
,
//充提记录
}
export
default
Api
;
src/views/Login.vue
View file @
06d8d283
...
...
@@ -270,7 +270,7 @@ export default {
}
else
{
this
.
$notify
({
title
:
'提示'
,
message
:
res
.
data
,
message
:
res
.
data
.
msg
,
type
:
'error'
,
duration
:
'2000'
,
});
...
...
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