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
b9838446
Commit
b9838446
authored
Feb 05, 2020
by
蒋勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d
parent
55482c4a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
1 deletions
+33
-1
bigdata/app/base/api/impl/auth/accessAuth.js
+33
-1
No files found.
bigdata/app/base/api/impl/auth/accessAuth.js
View file @
b9838446
...
...
@@ -410,7 +410,7 @@ class AccessAuthAPI extends APIBase {
//检查原账户是否存在
var
u
=
await
this
.
userSve
.
findUserByMobilePwd
(
appid
,
pobj
.
oldmobile
,
pobj
.
pwd
);
if
(
!
u
){
return
system
.
getResult
(
null
,
"要修改的账户不存在."
);
return
system
.
getResult
Fail
(
-
1
,
"要修改的账户不存在."
,
-
129
);
}
if
(
!
pobj
.
newmobile
)
{
return
system
.
getResult
(
null
,
"新电话号码不能未空."
);
...
...
@@ -730,6 +730,38 @@ class AccessAuthAPI extends APIBase {
rtnType
:
"json object{status:-1,data:2030),验证码错误,成功:{status:0,...}"
},
{
methodDesc
:
"按照手机号、密码,新手机号,验证码修改为新手机号,访问地址:http://......../api/auth/accessAuth/modifyLoginNameByOldMobile,访问token需要放置到后续API方法调用的请求头中"
,
methodName
:
"modifyLoginNameByOldMobile"
,
paramdescs
:
[
{
paramDesc
:
"手机号"
,
paramName
:
"oldmobile"
,
paramType
:
"string"
,
defaultValue
:
""
,
},
{
paramDesc
:
"密码"
,
paramName
:
"pwd"
,
paramType
:
"string"
,
defaultValue
:
""
,
},
{
paramDesc
:
"新手机号码"
,
paramName
:
"newmobile"
,
paramType
:
"string"
,
defaultValue
:
""
,
},
{
paramDesc
:
"验证码"
,
paramName
:
"vcode"
,
paramType
:
"string"
,
defaultValue
:
""
,
},
],
rtnTypeDesc
:
"返回修改后的用户"
,
rtnType
:
"json object{status:-1,data:-129~-130),-130账号已经存在,-129要修改的账号不存在;成功:{status:0,...}"
},
{
methodDesc
:
"按照微信openid检查是否绑定,访问地址:http://......../api/auth/accessAuth/checkWxBind,访问token需要放置到后续API方法调用的请求头中"
,
methodName
:
"checkWxBind"
,
paramdescs
:
[
...
...
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