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
665e91e4
Commit
665e91e4
authored
Apr 09, 2020
by
王昆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gsb
parent
2da45be7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
16 deletions
+22
-16
xgg-saas-merchant/app/base/controller/impl/saas/invoiceCtl.js
+0
-16
xgg-saas-merchant/app/base/service/impl/saas/merchantSve.js
+22
-0
No files found.
xgg-saas-merchant/app/base/controller/impl/saas/invoiceCtl.js
View file @
665e91e4
...
...
@@ -46,22 +46,6 @@ class InvoiceCtl extends CtlBase {
}
}
// 商户抬头信息
async
apply
(
params
,
pobj2
,
req
)
{
try
{
return
await
this
.
orderSve
.
page
(
params
);
}
catch
(
error
)
{
return
system
.
getResult
(
null
,
`系统错误 错误信息
${
error
}
`
);
}
}
// 商户交付信息
async
apply
(
params
,
pobj2
,
req
)
{
try
{
return
await
this
.
orderSve
.
page
(
params
);
}
catch
(
error
)
{
return
system
.
getResult
(
null
,
`系统错误 错误信息
${
error
}
`
);
}
}
// 发票申请
async
apply
(
params
,
pobj2
,
req
)
{
try
{
...
...
xgg-saas-merchant/app/base/service/impl/saas/merchantSve.js
View file @
665e91e4
...
...
@@ -90,6 +90,28 @@ class MerchantService extends ServiceBase {
return
settings
;
}
async
merchantTitle
(
params
)
{
let
rs
=
await
this
.
callms
(
"merchant"
,
"mchtTitles"
,
params
);
let
list
=
rs
.
data
||
[];
let
u
=
{};
if
(
list
.
length
>
0
)
{
u
=
list
[
0
];
}
return
system
.
getResultSuccess
(
u
);
}
async
merchantAddr
(
params
)
{
let
rs
=
await
this
.
callms
(
"merchant"
,
"mchtAddrs"
,
params
);
let
list
=
rs
.
data
||
[];
let
u
=
{};
if
(
list
.
length
>
0
)
{
u
=
list
[
0
];
}
return
system
.
getResultSuccess
(
u
);
}
async
setChannel
(
rows
)
{
if
(
!
rows
)
{
return
;
...
...
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