Commit e432fae1 by 潘建波

跟新登录

1 parent b7b9eada
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",
......
......@@ -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){
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!