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
a94786e4
Commit
a94786e4
authored
Jan 13, 2020
by
王昆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gsb
parent
3b9605ea
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
33 additions
and
64 deletions
+33
-64
xgg-admin/app/base/controller/impl/business/businessmenCtl.js
+33
-4
xgg-admin/app/base/service/impl/business/businessmenSve.js
+0
-0
xgg-admin/app/front/entry/public/apidoc/business/businessmen.md
+0
-0
xgg-admin/app/front/entry/public/apidoc/order/order.md
+0
-60
No files found.
xgg-admin/app/base/controller/impl/business/businessmenCtl.js
View file @
a94786e4
...
...
@@ -14,14 +14,43 @@ class BusinessmenCtl extends CtlBase {
async
allPage
(
pobj
,
pobj2
,
req
)
{
try
{
var
condition
=
{
let
condition
=
{
currentPage
:
pobj
.
currentPage
,
pageSize
:
pobj
.
pageSize
,
merchantId
:
pobj
.
merchantId
,
orderId
:
this
.
trim
(
pobj
.
orderId
),
bstatus
:
pobj
.
status
,
order_id
:
this
.
trim
(
pobj
.
order_id
),
name
:
this
.
trim
(
pobj
.
name
),
bd_id
:
this
.
trim
(
pobj
.
bd_id
),
bd_path
:
this
.
trim
(
pobj
.
bd_path
),
legal_name
:
this
.
trim
(
pobj
.
legal_name
),
legal_mobile
:
this
.
trim
(
pobj
.
legal_mobile
),
legal_idcard
:
this
.
trim
(
pobj
.
legal_idcard
),
credit_code
:
this
.
trim
(
pobj
.
credit_code
)
}
return
await
this
.
businessmenSve
.
allPage
(
condition
);
}
catch
(
error
)
{
console
.
log
(
error
);
return
system
.
getResultFail
(
500
,
"接口异常:"
+
error
.
message
);
}
}
async
myPage
(
pobj
,
pobj2
,
req
)
{
try
{
let
condition
=
{
currentPage
:
pobj
.
currentPage
,
pageSize
:
pobj
.
pageSize
,
order_id
:
this
.
trim
(
pobj
.
order_id
),
name
:
this
.
trim
(
pobj
.
name
),
bd_path
:
this
.
trim
(
req
.
loginUser
.
orgpath
),
legal_name
:
this
.
trim
(
pobj
.
legal_name
),
legal_mobile
:
this
.
trim
(
pobj
.
legal_mobile
),
legal_idcard
:
this
.
trim
(
pobj
.
legal_idcard
),
credit_code
:
this
.
trim
(
pobj
.
credit_code
)
}
if
(
!
condition
.
bd_path
)
{
return
system
.
getResult
(
null
,
""
);
}
return
await
this
.
businessmenSve
.
allPage
(
condition
);
}
catch
(
error
)
{
console
.
log
(
error
);
...
...
xgg-admin/app/base/service/impl/business/businessmenSve.js
View file @
a94786e4
This diff is collapsed.
Click to expand it.
xgg-admin/app/front/entry/public/apidoc/business/businessmen.md
View file @
a94786e4
This diff is collapsed.
Click to expand it.
xgg-admin/app/front/entry/public/apidoc/order/order.md
View file @
a94786e4
...
...
@@ -12,7 +12,6 @@
1.
[
交付商验收
](
#platformAuditDetermine
)
1.
[
客户交付
](
#deliverCustomer
)
1.
[
订单完成
](
#orderComplete
)
1.
[
个体户签约
](
#signing
)
## **<a name="processList"> 业务进度字典 </a>**
[
返回到目录
](
#menu
)
##### URL
...
...
@@ -636,61 +635,3 @@
}
```
## **<a name="signing"> 个体户签约 </a>**
[
返回到目录
](
#menu
)
##### URL
[
/web/order/orderCtl/signing
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
```
javascript
{
"credit_code"
:
"1"
,
//同意社会信用代码
"cost_rate"
:
0.9
,
//核定成本费用率 小数
"add_value_up_type"
:
""
,
//增值税累计类型 增值税累计类型 1按月 2按季度
"tax_up_type"
:
""
,
//个税累计类型 个税累计类型 1按月累计 2按年累计
"service_begin_time"
:
"1"
,
//服务开始时间
"service_end_time"
:
"5"
,
//服务结束时间
"service_rate"
:
0.9
,
//服务费比例 小数
"tax_rate"
:
0.9
,
//含税价百分比 小数
"sign_notes"
:
""
//签约备注
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
"success"
,
"data"
:
null
,
"requestid"
:
"efb46fd211be4ca6845acc53684fb61d"
}
```
## **<a name="createAccount"> 建账 </a>**
[
返回到目录
](
#menu
)
##### URL
[
/web/order/orderCtl/createAccount
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
```
javascript
{
"credit_code"
:
"1"
,
//同意社会信用代码
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
"success"
,
"data"
:
null
,
"requestid"
:
"efb46fd211be4ca6845acc53684fb61d"
}
```
\ 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