Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
08450e97
Commit
08450e97
authored
Dec 16, 2019
by
蒋勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d
parent
35473eec
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
igirl-web/app/base/controller/impl/userCtl.js
+3
-1
igirl-web/app/front/vues/pages/login/login.js
+3
-0
igirl-web/app/front/vues/pages/register/register.js
+1
-1
No files found.
igirl-web/app/base/controller/impl/userCtl.js
View file @
08450e97
...
...
@@ -189,12 +189,14 @@ class UserCtl extends CtlBase {
req
.
session
.
user
=
existedUser
;
return
system
.
getResult2
(
existedUser
);
}
else
{
var
password
=
super
.
encryptPasswd
(
obj
.
u
.
password
);
var
params
=
{
mobile
:
obj
.
u
.
mobile
,
userName
:
obj
.
u
.
mobile
,
nickName
:
obj
.
u
.
mobile
,
company_id
:
obj
.
u
.
cid
,
themename
:
company
.
siteTheme
themename
:
company
.
siteTheme
,
password
:
password
};
var
result
=
await
this
.
service
.
create
(
params
);
req
.
session
.
user
=
result
;
...
...
igirl-web/app/front/vues/pages/login/login.js
View file @
08450e97
...
...
@@ -25,6 +25,7 @@
form1
:{
mobile
:
""
,
code
:
""
,
password
:
""
,
},
form2
:{
username
:
""
,
...
...
@@ -114,6 +115,7 @@
resetall
(){
this
.
form1
.
mobile
=
""
;
this
.
form1
.
code
=
""
;
this
.
form1
.
password
=
""
;
this
.
form2
.
username
=
""
;
this
.
form2
.
password
=
""
;
this
.
form3
.
mobile
=
""
;
...
...
@@ -240,6 +242,7 @@
var
that
=
this
;
var
obj
=
{
mobile
:
that
.
form1
.
mobile
,
// password:that.form1.password,
};
that
.
$refs
.
form1
.
validate
(
valid
=>
{
if
(
valid
){
...
...
igirl-web/app/front/vues/pages/register/register.js
View file @
08450e97
...
...
@@ -247,7 +247,7 @@
var
that
=
this
;
var
obj
=
{
mobile
:
that
.
form1
.
mobile
,
password
:
that
.
form1
.
password
,
};
that
.
$refs
.
form1
.
validate
(
valid
=>
{
...
...
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