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
155deecc
Commit
155deecc
authored
Feb 11, 2020
by
宋毅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tj
parent
4e41e9b7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
56 additions
and
9 deletions
+56
-9
center-channel/app/front/entry/public/apidoc/platform/user.md
+56
-9
No files found.
center-channel/app/front/entry/public/apidoc/platform/user.md
100755 → 100644
View file @
155deecc
...
...
@@ -4,6 +4,7 @@
1.
[
验证码登录
](
#userPinByLgoinVcode
)
1.
[
用户注册
](
#userPinByRegister
)
1.
[
按照手机号和验证码修改密码
](
#putUserPwdByMobile
)
1.
[
获取用户登录信息
](
#getLoginInfo
)
1.
[
退出
](
#logout
)
...
...
@@ -36,7 +37,7 @@
[
返回到目录
](
#menu
)
##### URL
[
/web/auth/accessAuth/springBoard
]
#### 参数格式 `JSON`
#### 参数格式 `JSON`
getVerifyCode
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:userPinByLgoin
...
...
@@ -60,7 +61,6 @@
```
## **<a name="userPinByLgoinVcode"> 验证码登录</a>**
[
返回到目录
](
#menu
)
##### URL
...
...
@@ -88,7 +88,6 @@
```
## **<a name="userPinByRegister"> 用户注册</a>**
[
返回到目录
](
#menu
)
##### URL
...
...
@@ -107,7 +106,7 @@
#### 返回结果
```
javascript
{
"status"
:
0
,
// 0为成功,2030为验证码错误,20
60为重复登录
,否则失败
"status"
:
0
,
// 0为成功,2030为验证码错误,20
00为已经存在此用户,注册失败
,否则失败
"msg"
:
"success"
,
"data"
:
{
"userpin"
:
"230ecdf3333944ff834f56fba10a02aa"
//用户登录后的凭证,增、删、改、查、涉及用户的需要传递此值在请求头中
...
...
@@ -117,8 +116,7 @@
```
## **<a name="putUserPwdByMobile"> 按照手机号和验证码修改密码</a>**
## **<a name="putUserPwdByMobile"> 按照手机号和验证码修改密码(修改后得重新登录)</a>**
[
返回到目录
](
#menu
)
...
...
@@ -131,7 +129,7 @@
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:putUserPwdByMobile
```
javascript
```
javascript
getVerifyCode
{
...
...
@@ -166,7 +164,6 @@
```
## **<a name="logout"> 退出</a>**
[
返回到目录
](
#menu
)
...
...
@@ -190,7 +187,6 @@
```
#### 返回结果
```
javascript
...
...
@@ -208,3 +204,54 @@
```
## **<a name="getLoginInfo"> 获取用户登录信息</a>**
[
返回到目录
](
#menu
)
##### URL
[
/web/auth/accessAuth/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:getLoginInfo
```
javascript
{
"userpin"
:
"15010929366"
// Y 用户登录凭证key
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
// 0为成功,否则失败
"msg"
:
"success"
,
"data"
:
{
"id"
:
9
,
"uapp_id"
:
26
,
"channel_userid"
:
"15010929366"
,
//渠道用户ID
"channel_username"
:
"15010929366"
,
//账户
"channel_nickname"
:
""
,
"open_id"
:
null
,
"head_url"
:
null
,
"mobile"
:
"15010929366"
,
//手机号
"org_name"
:
""
,
"org_path"
:
""
,
"email"
:
""
,
"is_admin"
:
0
,
//是否管理员
"is_super"
:
0
,
//是否超级管理员
"is_enabled"
:
1
,
"userpin"
:
"18c44186d54a45ea8777ef4c0a4252f6"
//用户登录后的凭证key
},
"requestId"
:
"ad31ced9ac7044f69f453185d9c1e241"
}
```
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