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
2ed8a6c2
Commit
2ed8a6c2
authored
May 12, 2020
by
孙亚楠
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddg
parent
8588a00c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
59 additions
and
82 deletions
+59
-82
xgg-saas-merchant/app/base/system.js
+1
-1
xgg-saas-merchant/app/front/entry/public/apidoc/applet/order.md
+58
-81
No files found.
xgg-saas-merchant/app/base/system.js
View file @
2ed8a6c2
...
...
@@ -194,7 +194,7 @@ class System {
merchant
:
dev
+
":3101"
+
path
,
// 订单服务
order
:
dev
+
":3103"
+
path
,
order
:
local
+
":3103"
+
path
,
// 发票服务
invoice
:
dev
+
":3105"
+
path
,
...
...
xgg-saas-merchant/app/front/entry/public/apidoc/applet/order.md
View file @
2ed8a6c2
...
...
@@ -329,39 +329,43 @@
#### 返回结果
```
javascript
{
"code"
:
1
,
"msg"
:
"success"
,
"data"
:
[
{
"id"
:
1001597
,
"trade_no"
:
"T10015974616001"
,
"saas_merchant_id"
:
"11249768207001229"
,
"order_id"
:
"1295094343007461"
,
"order_type"
:
"10"
,
"out_trade_no"
:
"13699290914238848"
,
"acc_name"
:
"焦阳"
,
"credit_code"
:
"SYNSSD123123123123"
,
"acc_no"
:
"6214830103140970"
,
"open_bank"
:
"招商银行"
,
"amt"
:
90000
,
"actual_amt"
:
90000
,
"deduct_amt"
:
92700
,
"service_tax"
:
2700
,
"trade_status"
:
"00"
,
"trade_time"
:
"2020-05-11 20:00:00"
,
"trade_desc"
:
"1"
,
"trade_receipt"
:
""
,
"remark"
:
"无"
,
"saas_id"
:
"10000"
,
"saas_invoice_id"
:
""
,
"created_at"
:
"2020-05-11 14:01:16"
,
"updated_at"
:
"2020-05-11T06:01:16.000Z"
,
"deleted_at"
:
null
,
"version"
:
0
,
"order_type_name"
:
"平台交易"
,
"trade_status_name"
:
"成功"
},
]
"code"
:
1
,
"msg"
:
"success"
,
"data"
:
{
"count"
:
1
,
"rows"
:
[
{
"id"
:
1001600
,
"trade_no"
:
"T10016007027568"
,
"saas_merchant_id"
:
"11249768207001229"
,
"order_id"
:
"1295007001007702"
,
"order_type"
:
"20"
,
"out_trade_no"
:
"13699378256239124"
,
"acc_name"
:
"孙淑"
,
"credit_code"
:
"SYNSSD123123123123"
,
"acc_no"
:
"123"
,
"open_bank"
:
"招商银行"
,
"amt"
:
100
,
"actual_amt"
:
100
,
"deduct_amt"
:
103
,
"service_tax"
:
3
,
"trade_status"
:
"00"
,
"trade_time"
:
"2020-05-12 14:16:58"
,
"trade_desc"
:
"商户自行交易"
,
"trade_receipt"
:
""
,
"remark"
:
"一般经营所得"
,
"saas_id"
:
"10000"
,
"saas_invoice_id"
:
""
,
"created_at"
:
"2020-05-12 14:16:58"
,
"updated_at"
:
"2020-05-12T06:16:58.000Z"
,
"deleted_at"
:
null
,
"version"
:
0
,
"order_type_name"
:
"商户交易"
,
"trade_status_name"
:
"成功"
}
]
}
}
```
...
...
@@ -369,7 +373,7 @@
## **<a name="invoiceBycreditCode"> 发票管理</a>**
[
返回到目录
](
#menu
)
##### URL
[
/applet/merchantApplet/
saasTradeBusinessmenPag
e
]
[
/applet/merchantApplet/
invoiceBycreditCod
e
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
...
...
@@ -389,53 +393,26 @@
{
"code"
:
1
,
"msg"
:
"success"
,
"data"
:
[
{
"from_name"
:
"孙亚楠首饰店"
,
"to_name"
:
"大森森金融有限公司"
,
"to_credit_code"
:
"DSSJRC123123"
,
"to_addr"
:
"狗熊岭"
,
"to_mobile"
:
"18833836392"
,
"to_bank"
:
"工商银行"
,
"to_account"
:
"DSSJR"
,
"invoice_time"
:
"2020-05-10 08:00:00"
,
"invoice_img"
:
"https://gsb-zc.oss-cn-beijing.aliyuncs.com//zc_wxapplet_1588990656115.jpg"
,
"invoice_amount"
:
1
,
"created_at"
:
"2020-05-09 10:03:21"
,
"status"
:
"1060"
,
"status_name"
:
"已完成"
},
{
"from_name"
:
"孙亚楠首饰店"
,
"to_name"
:
"大森森金融有限公司"
,
"to_credit_code"
:
"DSSJRC123123"
,
"to_addr"
:
"狗熊岭"
,
"to_mobile"
:
"18833836392"
,
"to_bank"
:
"工商银行"
,
"to_account"
:
"DSSJR"
,
"invoice_time"
:
"2020-05-09 08:00:00"
,
"invoice_img"
:
"https://gsb-zc.oss-cn-beijing.aliyuncs.com//zc_wxapplet_1589008890884.jpg"
,
"invoice_amount"
:
1
,
"created_at"
:
"2020-05-09 14:58:48"
,
"status"
:
"1060"
,
"status_name"
:
"已完成"
},
{
"from_name"
:
"孙亚楠首饰店"
,
"to_name"
:
"大森森金融有限公司"
,
"to_credit_code"
:
"DSSJRC123123"
,
"to_addr"
:
"狗熊岭"
,
"to_mobile"
:
"18833836392"
,
"to_bank"
:
"工商银行"
,
"to_account"
:
"DSSJR123"
,
"invoice_time"
:
"2020-05-08 08:00:00"
,
"invoice_img"
:
"https://gsb-zc.oss-cn-beijing.aliyuncs.com//zc_wxapplet_1588927248512.jpg"
,
"invoice_amount"
:
1
,
"created_at"
:
"2020-05-08 14:34:15"
,
"status"
:
"1060"
,
"status_name"
:
"已完成"
}
]
"data"
:
{
"count"
:
1
,
"rows"
:
[
{
"from_name"
:
"孙亚楠首饰店"
,
"to_name"
:
"大森森金融有限公司"
,
"to_credit_code"
:
"DSSJRC123123"
,
"to_addr"
:
"狗熊岭"
,
"to_mobile"
:
"18833836392"
,
"to_bank"
:
"工商银行"
,
"to_account"
:
"DSSJR"
,
"invoice_time"
:
"2020-05-10 08:00:00"
,
"invoice_img"
:
"https://gsb-zc.oss-cn-beijing.aliyuncs.com//zc_wxapplet_1588990656115.jpg"
,
"invoice_amount"
:
1
,
"created_at"
:
"2020-05-09 10:03:21"
,
"status"
:
"1060"
,
"status_name"
:
"已完成"
}
]
}
}
```
...
...
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