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
ab41ffaa
Commit
ab41ffaa
authored
Dec 02, 2019
by
宋毅
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'igirl-channel' of gitlab.gongsibao.com:jiangyong/zhichan into igirl-channel
parents
814c5645
c5d3ffb4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
igirl-channel/app/base/service/impl/dbapp/appproductSve.js
+12
-12
No files found.
igirl-channel/app/base/service/impl/dbapp/appproductSve.js
View file @
ab41ffaa
...
@@ -8,11 +8,11 @@ class AppProductService extends ServiceBase {
...
@@ -8,11 +8,11 @@ class AppProductService extends ServiceBase {
}
}
//根据渠道产品码获取产品详情
//根据渠道产品码获取产品详情
async
findByChannelItemCode
(
obj
){
async
findByChannelItemCode
(
obj
){
var
user
=
obj
.
user
;
//
var user = obj.user;
var
app
=
obj
.
app
;
var
app
=
obj
.
app
;
if
(
!
user
){
//
if(!user){
return
system
.
getResultFail
(
-
101
,
"未知用户"
);
//
return system.getResultFail(-101, "未知用户");
}
//
}
if
(
!
app
){
if
(
!
app
){
return
system
.
getResultFail
(
-
102
,
"未知渠道"
);
return
system
.
getResultFail
(
-
102
,
"未知渠道"
);
}
}
...
@@ -33,11 +33,11 @@ class AppProductService extends ServiceBase {
...
@@ -33,11 +33,11 @@ class AppProductService extends ServiceBase {
}
}
//获取产品列表(根据父类产品编码获取)
//获取产品列表(根据父类产品编码获取)
async
findByProductTypeCode
(
obj
){
async
findByProductTypeCode
(
obj
){
var
user
=
obj
.
user
;
//
var user = obj.user;
var
app
=
obj
.
app
;
var
app
=
obj
.
app
;
if
(
!
user
){
//
if(!user){
return
system
.
getResultFail
(
-
101
,
"未知用户"
);
//
return system.getResultFail(-101, "未知用户");
}
//
}
if
(
!
app
){
if
(
!
app
){
return
system
.
getResultFail
(
-
102
,
"未知渠道"
);
return
system
.
getResultFail
(
-
102
,
"未知渠道"
);
}
}
...
@@ -63,11 +63,11 @@ class AppProductService extends ServiceBase {
...
@@ -63,11 +63,11 @@ class AppProductService extends ServiceBase {
}
}
//获取产品列表(根据产品一类编码获取)
//获取产品列表(根据产品一类编码获取)
async
findByProductOneTypeCode
(
obj
){
async
findByProductOneTypeCode
(
obj
){
var
user
=
obj
.
user
;
//
var user = obj.user;
var
app
=
obj
.
app
;
var
app
=
obj
.
app
;
if
(
!
user
){
//
if(!user){
return
system
.
getResultFail
(
-
101
,
"未知用户"
);
//
return system.getResultFail(-101, "未知用户");
}
//
}
if
(
!
app
){
if
(
!
app
){
return
system
.
getResultFail
(
-
102
,
"未知渠道"
);
return
system
.
getResultFail
(
-
102
,
"未知渠道"
);
}
}
...
...
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