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
e16e2d99
Commit
e16e2d99
authored
Jun 11, 2020
by
孙亚楠
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d
parent
f8584396
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
xgg-saas-platform/app/base/controller/impl/saas/merchantCtl.js
+6
-1
xgg-saas-platform/app/base/system.js
+1
-1
No files found.
xgg-saas-platform/app/base/controller/impl/saas/merchantCtl.js
View file @
e16e2d99
...
@@ -5,6 +5,7 @@ class MerchantCtl extends CtlBase {
...
@@ -5,6 +5,7 @@ class MerchantCtl extends CtlBase {
super
();
super
();
this
.
merchantSve
=
system
.
getObject
(
"service.saas.merchantSve"
);
this
.
merchantSve
=
system
.
getObject
(
"service.saas.merchantSve"
);
this
.
merchantuserSve
=
system
.
getObject
(
"service.uc.merchantuserSve"
);
this
.
merchantuserSve
=
system
.
getObject
(
"service.uc.merchantuserSve"
);
this
.
baseUrl
=
"https://xxxxxxxxxxxx"
;
}
}
async
dics
(
params
,
pobj2
,
req
)
{
async
dics
(
params
,
pobj2
,
req
)
{
...
@@ -36,7 +37,11 @@ class MerchantCtl extends CtlBase {
...
@@ -36,7 +37,11 @@ class MerchantCtl extends CtlBase {
try
{
try
{
params
.
is_sign
=
1
;
params
.
is_sign
=
1
;
this
.
doTimeCondition
(
params
,
[
"createBegin"
,
"createEnd"
]);
this
.
doTimeCondition
(
params
,
[
"createBegin"
,
"createEnd"
]);
return
await
this
.
merchantSve
.
page
(
params
);
let
list
=
await
this
.
merchantSve
.
page
(
params
);
for
(
let
item
of
list
.
data
.
rows
)
{
item
.
qrcode
=
encodeURIComponent
(
this
.
baseUrl
+
"?mechtId="
+
item
.
id
);
}
return
system
.
getResult
(
list
);
}
catch
(
error
)
{
}
catch
(
error
)
{
return
system
.
getResult
(
null
,
`系统错误 错误信息
${
error
}
`
);
return
system
.
getResult
(
null
,
`系统错误 错误信息
${
error
}
`
);
}
}
...
...
xgg-saas-platform/app/base/system.js
View file @
e16e2d99
...
@@ -191,7 +191,7 @@ class System {
...
@@ -191,7 +191,7 @@ class System {
let
dev
=
"http://39.107.234.14"
;
let
dev
=
"http://39.107.234.14"
;
return
{
return
{
// 公共服务
// 公共服务
common
:
local
+
":3102"
+
path
,
common
:
dev
+
":3102"
+
path
,
// 商户服务
// 商户服务
merchant
:
dev
+
":3101"
+
path
,
merchant
:
dev
+
":3101"
+
path
,
...
...
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