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
6e9a0f89
Commit
6e9a0f89
authored
Jun 20, 2020
by
宋毅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tj
parent
b7eb132f
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
22 additions
and
24 deletions
+22
-24
brg-user-center/app/base/api/api.base.js
+1
-0
brg-user-center/app/base/api/impl/action/commonMsgSend.js
+1
-2
brg-user-center/app/base/api/impl/action/need.js
+2
-2
brg-user-center/app/base/api/impl/action/order.js
+2
-2
brg-user-center/app/front/entry/public/apidoc/README.md
+3
-10
brg-user-center/app/front/entry/public/apidoc/platform/commonMsg.md
+13
-8
No files found.
brg-user-center/app/base/api/api.base.js
View file @
6e9a0f89
...
...
@@ -25,6 +25,7 @@ class APIBase {
"GetQualificationCertificateListByUserAndType"
:
"getQualificationCertificateListByUserAndType"
,
"GetQualificationCertificateDetail"
:
"getQualificationCertificateDetail"
,
"RefusalSolution"
:
"refusalSolution"
,
"SendVerificationCode"
:
"sendVerificationCode"
,
};
}
...
...
brg-user-center/app/base/api/impl/action/commonMsgSend.js
View file @
6e9a0f89
...
...
@@ -35,8 +35,7 @@ class CommonMsgSend extends APIBase {
opResult
=
system
.
getResultSuccess
(
"测试接口"
);
break
;
case
"sendVerificationCode"
:
//发送验证码
opResult
=
await
this
.
utilsMsgSendSve
.
sendVerificationCode
(
actionBody
.
phoneNumber
);
opResult
=
await
this
.
utilsMsgSendSve
.
sendVerificationCode
(
actionBody
.
PhoneNumber
);
break
;
default
:
opResult
=
system
.
getResult
(
null
,
"actionType参数错误"
);
...
...
brg-user-center/app/base/api/impl/action/need.js
View file @
6e9a0f89
...
...
@@ -32,12 +32,12 @@ class Need extends APIBase {
opResult
=
system
.
getResult
(
null
,
"contactsMoblie参数错误"
);
return
opResult
;
}
if
(
!
pobj
.
actionBody
.
v
erificationCode
)
{
if
(
!
pobj
.
actionBody
.
V
erificationCode
)
{
opResult
=
system
.
getResult
(
null
,
"verificationCode参数错误"
);
return
opResult
;
}
var
v
=
await
self
.
utilsMsgSendSve
.
getVerificationCode
(
pobj
.
actionBody
.
contactsMoblie
);
if
(
v
!=
pobj
.
actionBody
.
v
erificationCode
)
{
if
(
v
!=
pobj
.
actionBody
.
V
erificationCode
)
{
opResult
=
system
.
getResult
(
null
,
"验证码错误"
);
return
opResult
;
}
...
...
brg-user-center/app/base/api/impl/action/order.js
View file @
6e9a0f89
...
...
@@ -37,9 +37,9 @@ class Order extends APIBase {
opResult
=
system
.
getResult
(
null
,
"contactsMoblie参数错误"
);
return
opResult
;
}
if
(
pobj
.
actionBody
.
v
erificationCode
)
{
if
(
pobj
.
actionBody
.
V
erificationCode
)
{
var
v
=
await
self
.
utilsMsgSendSve
.
getVerificationCode
(
pobj
.
actionBody
.
contactsMoblie
);
if
(
v
!=
pobj
.
actionBody
.
v
erificationCode
)
{
if
(
v
!=
pobj
.
actionBody
.
V
erificationCode
)
{
opResult
=
system
.
getResult
(
null
,
"验证码错误"
);
return
opResult
;
}
...
...
brg-user-center/app/front/entry/public/apidoc/README.md
View file @
6e9a0f89
...
...
@@ -5,15 +5,7 @@
## 2. 接收服务商数据相关接口
1
[
接收接口
](
doc/api/pushReceive/receive.md
)
## 3. 用户中心相关接口
1
[
用户中心接口
](
doc/api/platform/user.md
)
## 4. 产品中心相关接口
1
[
产品中心接口
](
doc/api/platform/product.md
)
## 5. 订单中心相关接口
1
[
订单中心接口
](
doc/api/platform/order.md
)
## 6. 用户控制台
## 3. 用户控制台
1
[
用户订单接口
](
doc/api/customer/order.md
)
##
6
. 消息中心
##
4
. 消息中心
1
[
消息中心接口
](
doc/api/platform/commonMsg.md
)
\ No newline at end of file
brg-user-center/app/front/entry/public/apidoc/platform/commonMsg.md
View file @
6e9a0f89
...
...
@@ -8,20 +8,24 @@
[
/api/action/commonMsgSend/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型
actionType:s
endVerificationCode
#### 渠道执行的类型
Action:S
endVerificationCode
```
javascript
{
"phoneNumber"
:
"15010929366"
// Y 手机号
}
"Action"
:
"SendVerificationCode"
,
"ActionBody"
:
{
"PhoneNumber"
:
"15010929366"
// Y 手机号
}
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
// 0为成功,否则失败
"msg"
:
"success"
,
"data"
:
null
,
"requestId"
:
"4f3ea2afee3542f88d6b938394af84d8"
}
"Response"
:
{
"Status"
:
1
,
//1为成功,否则失败
"InstanceSet"
:
null
,
"RequestId"
:
"7364f560-b29c-11ea-97f7-efd638e57201"
}
}
```
\ No newline at end of file
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