Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
platform
/
fanxing_new
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit e432fae1
authored
Feb 13, 2020
by
潘建波
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
跟新登录
1 parent
b7b9eada
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
2 deletions
src/api/login/urls.js
src/views/Login.vue
src/api/login/urls.js
View file @
e432fae
import
baseUrl
from
"../baseUrl"
;
export
default
{
login
:
baseUrl
+
"/api/v1/
devconf_fx
/users/login"
,
login
:
baseUrl
+
"/api/v1/
auth
/users/login"
,
algocombs
:
baseUrl
+
"/api/v1/devconf_fx/algo_combs"
,
storeconfs
:
baseUrl
+
"/api/v1/devconf_fx/store_confs"
,
cates
:
baseUrl
+
"/api/v1/codes/traffic/cates"
,
...
...
src/views/Login.vue
View file @
e432fae
...
...
@@ -46,7 +46,6 @@ import types from '../store/types.js'
login
(){
this
.
$api
.
login
.
login
({
user_name
:
this
.
username
,
// user_password: this.password
user_password
:
sha1
(
this
.
password
),
}).
then
(
res
=>
{
if
(
!
res
.
ecode
){
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment