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
d2f2642f
Commit
d2f2642f
authored
Mar 30, 2020
by
王栋源
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wdy
parent
06997acc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
igirl-channel-gateway/app/base/service/impl/common/gatewaypushlogSve.js
+11
-11
No files found.
igirl-channel-gateway/app/base/service/impl/common/gatewaypushlogSve.js
View file @
d2f2642f
...
@@ -112,36 +112,36 @@ class GatewaypushlogService extends ServiceBase {
...
@@ -112,36 +112,36 @@ class GatewaypushlogService extends ServiceBase {
async
paySuccess
(
pobj
)
{
async
paySuccess
(
pobj
)
{
var
self
=
this
;
var
self
=
this
;
if
(
!
pobj
.
orderNo
)
{
if
(
!
pobj
.
orderNo
)
{
return
self
.
getResultFail
(
"orderNo不能为空"
)
;
return
{
"message"
:
"orderNo不能为空"
,
"data"
:{},
"code"
:
-
200
}
;
}
}
if
(
!
pobj
.
orderPrice
)
{
if
(
!
pobj
.
orderPrice
)
{
return
self
.
getResultFail
(
"orderPrice不能为空"
)
;
return
{
"message"
:
"orderPrice不能为空"
,
"data"
:{},
"code"
:
-
200
}
;
}
}
if
(
!
pobj
.
phone
)
{
if
(
!
pobj
.
phone
)
{
return
self
.
getResultFail
(
"phone不能为空"
)
;
return
{
"message"
:
"phone不能为空"
,
"data"
:{},
"code"
:
-
200
}
;
}
}
if
(
pobj
.
companyName
)
{
if
(
pobj
.
companyName
)
{
if
(
!
pobj
.
city
)
{
if
(
!
pobj
.
city
)
{
return
self
.
getResultFail
(
"city不能为空"
)
;
return
{
"message"
:
"city不能为空"
,
"data"
:{},
"code"
:
-
200
}
;
}
}
if
(
!
pobj
.
companyCategory
)
{
if
(
!
pobj
.
companyCategory
)
{
return
self
.
getResultFail
(
"companyCategory不能为空"
)
;
return
{
"message"
:
"companyCategory不能为空"
,
"data"
:{},
"code"
:
-
200
}
;
}
}
if
(
!
pobj
.
orgType
)
{
if
(
!
pobj
.
orgType
)
{
return
self
.
getResultFail
(
"orgType不能为空"
)
;
return
{
"message"
:
"orgType不能为空"
,
"data"
:{},
"code"
:
-
200
}
;
}
}
if
(
!
pobj
.
industryType
)
{
if
(
!
pobj
.
industryType
)
{
return
self
.
getResultFail
(
"industryType不能为空"
)
;
return
{
"message"
:
"industryType不能为空"
,
"data"
:{},
"code"
:
-
200
}
;
}
}
if
(
!
pobj
.
scope
)
{
if
(
!
pobj
.
scope
)
{
return
self
.
getResultFail
(
"scope不能为空"
)
;
return
{
"message"
:
"scope不能为空"
,
"data"
:{},
"code"
:
-
200
}
;
}
}
}
else
if
(
pobj
.
park
)
{
}
else
if
(
pobj
.
park
)
{
if
(
!
pobj
.
productType
)
{
if
(
!
pobj
.
productType
)
{
return
self
.
getResultFail
(
"productType不能为空"
)
;
return
{
"message"
:
"productType不能为空"
,
"data"
:{},
"code"
:
-
200
}
;
}
}
}
else
{
}
else
{
return
self
.
getResultFail
(
"参数异常"
)
;
return
{
"message"
:
"参数异常"
,
"data"
:{},
"code"
:
-
200
}
;
}
}
var
param
=
{
var
param
=
{
requestId
:
self
.
getUUID
(),
requestId
:
self
.
getUUID
(),
...
@@ -153,7 +153,7 @@ class GatewaypushlogService extends ServiceBase {
...
@@ -153,7 +153,7 @@ class GatewaypushlogService extends ServiceBase {
pushStatus
:
"wts"
,
//推送状态
pushStatus
:
"wts"
,
//推送状态
}
}
await
this
.
create
(
param
);
await
this
.
create
(
param
);
return
self
.
getResultSuccess
(
param
.
requestId
)
;
return
{
"message"
:
"true"
,
"data"
:{},
"code"
:
200
}
;
}
}
...
...
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