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
0c9de40e
Commit
0c9de40e
authored
Dec 09, 2019
by
宋毅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tj
parent
080d2196
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
igirl-channel/app/base/api/impl/action/tmOrder.js
+1
-1
igirl-channel/app/base/service/impl/dborder/ordertmproductSve.js
+1
-1
No files found.
igirl-channel/app/base/api/impl/action/tmOrder.js
View file @
0c9de40e
...
...
@@ -51,7 +51,7 @@ class TmOrderAPI extends APIBase {
// action_body.user = { id: 6, app_id: 2, nickname: "测试用户",channelUserId:"testUserId01" };
var
opResult
=
null
;
if
([
"subTmOrder"
,
"getTmOrderList"
,
"getTmOrderInfo"
,
"getTmApplyInfo"
,
"getTmNclList"
,
"getNeedInfo"
,
"tmConfirm"
,
"updateTmInfo"
,
"updateNclInfo"
,
"updateContacts"
,
"updateCustomerInfo"
,
"tmConfirm"
,
"updateTmInfo"
,
"updateNclInfo"
,
"updateContacts"
,
"updateCustomerInfo"
,
"addOrderAndDelivery"
].
indexOf
(
action_type
)
>=
0
)
{
if
(
!
action_body
.
channelUserId
)
{
return
system
.
getResult
(
null
,
"verify channelUserId is not empty"
);
...
...
igirl-channel/app/base/service/impl/dborder/ordertmproductSve.js
View file @
0c9de40e
...
...
@@ -176,7 +176,7 @@ class OrderTmProductService extends ServiceBase {
if
(
!
itemCode
)
{
return
system
.
getResult
(
null
,
"itemCode参数错误"
);
}
var
productItem
=
await
this
.
appproductDao
.
findOneByChannelItemCode
(
itemCode
,
user
.
app_id
);
//通过ChannelItemCode获取产品
var
productItem
=
await
this
.
appproductDao
.
findOneByC
ode
(
itemCode
,
user
.
app_id
);
//通过ChannelItemCode获取产品//this.appproductDao.findOneByC
hannelItemCode(itemCode, user.app_id);//通过ChannelItemCode获取产品
if
(
!
productItem
)
{
return
system
.
getResult
(
null
,
"未知的产品"
);
}
...
...
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