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
f2df1595
Commit
f2df1595
authored
May 07, 2020
by
sxy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 改变传参 && doc: 补充复购文档
parent
98f0bbb5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
124 additions
and
6 deletions
+124
-6
center-channel/app/base/service/impl/utilsSve/utilsFgbusinesschanceSve.js
+4
-4
center-channel/app/front/entry/public/apidoc/platform/fgbusinesschance.md
+120
-2
No files found.
center-channel/app/base/service/impl/utilsSve/utilsFgbusinesschanceSve.js
View file @
f2df1595
...
...
@@ -60,11 +60,11 @@ class UtilsFgbusinesschancService extends AppServiceBase {
}
async
createOrderInfoAndPayFq
(
pobj
,
actionBody
)
{
if
(
!
actionBody
.
order
_pkid
)
{
return
system
.
getResult
(
null
,
"actionBody.order
_pkid
can not be empty,100290"
);
if
(
!
actionBody
.
order
Info
)
{
return
system
.
getResult
(
null
,
"actionBody.order
Info
can not be empty,100290"
);
}
if
(
!
actionBody
.
order_n
o
)
{
return
system
.
getResult
(
null
,
"actionBody.
order_n
o can not be empty,100290"
);
if
(
!
actionBody
.
payInf
o
)
{
return
system
.
getResult
(
null
,
"actionBody.
payInf
o can not be empty,100290"
);
}
let
url
=
this
.
centerOrderUrl
+
"action/fgbusinesschance/springBoard"
;
return
await
this
.
restPostUrl
(
pobj
,
url
);
...
...
center-channel/app/front/entry/public/apidoc/platform/fgbusinesschance.md
View file @
f2df1595
...
...
@@ -2,12 +2,14 @@
1.
[
获取营销话术
](
#a
)
1.
[
获取工商接口
](
#b
)
1.
[
30秒认知客户及产品服务标签
](
#c
)
1.
[
更多客户信息链接地址
](
#d
)
1.
[
30秒认知
](
#c
)
1.
[
推荐业务状态更新
](
#e
)
1.
[
推荐业务列表
](
#f
)
1.
[
已购产品列表
](
#g
)
1.
[
推送商机
](
#h
)
1.
[
写入在线产品表
](
#i
)
1.
[
写入订单退款表
](
#j
)
1.
[
写入支付表和订单详情表
](
#k
)
## **<a name="a"> 获取营销话术</a>**
[
返回到目录
](
#menu
)
...
...
@@ -409,3 +411,118 @@
}
```
## **<a name="i">写入在线产品表</a>**
[
返回到目录
](
#menu
)
##### URL
[
/api/opaction/fgbusinesschance/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 请求头中需要增加token的值
#### 渠道执行的类型 actionType:createOnlineProductClassificiationFq
#### 请求数据
```
{
"actionType":"createOnlineProductClassificiationFq",
actionBody:{
// 参数 为 online_product_classificiation_fq表中相关字段
}
}
```
#### 返回结果
```
{
"status": 0,// 0为成功,否则失败
"msg": "success",
"data":null,
"requestId": "f21446617c5e46ad889f3fab7bb69456"
}
```
## **<a name="j">写入订单退款表</a>**
[
返回到目录
](
#menu
)
##### URL
[
/api/opaction/fgbusinesschance/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 请求头中需要增加token的值
#### 渠道执行的类型 actionType:createOrderRefundFq
#### 请求数据
```
{
"actionType":"createOrderRefundFq",
actionBody:{
// 参数 为 order_refund_fq 表中相关字段
}
}
```
#### 返回结果
```
{
"status": 0,// 0为成功,否则失败
"msg": "success",
"data":null,
"requestId": "f21446617c5e46ad889f3fab7bb69456"
}
```
## **<a name="k">写入支付表和订单详情表</a>**
[
返回到目录
](
#menu
)
##### URL
[
/api/opaction/fgbusinesschance/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 请求头中需要增加token的值
#### 渠道执行的类型 actionType:createOrderInfoAndPayFq
#### 请求数据
```
{
"actionType":"createOrderInfoAndPayFq",
actionBody:{
orderInfo :{
// 参数 为 order_info_fq 表中相关字段
},
payInfo:{
// 参数 为 pay_fq 表中相关字段
}
}
}
```
#### 返回结果
```
{
"status": 0,// 0为成功,否则失败
"msg": "success",
"data":null,
"requestId": "f21446617c5e46ad889f3fab7bb69456"
}
```
\ 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