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
e219cc17
Commit
e219cc17
authored
Dec 26, 2019
by
宋毅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tj
parent
cbd0dc87
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
igirl-channel/app/base/service/impl/dborder/orderSve.js
+4
-3
igirl-channel/app/config/settings.js
+1
-1
No files found.
igirl-channel/app/base/service/impl/dborder/orderSve.js
View file @
e219cc17
...
@@ -120,9 +120,10 @@ class OrderService extends ServiceBase {
...
@@ -120,9 +120,10 @@ class OrderService extends ServiceBase {
});
});
});
});
}
}
//
更新订单状态
//
关联订单对应的需求ID和需求订单号--渠道web用
async
updateOrderStatus
(
action_body
,
pobj
,
req
)
{
async
updateOrderStatus
(
action_body
,
pobj
,
req
)
{
var
setObj
=
{
channelServiceNo
:
action_body
.
channelServiceNo
,
needNo
:
action_body
.
needNo
,
needNoOrderNo
:
action_body
.
needNoOrderNo
};
// var setObj = { channelServiceNo: action_body.channelServiceNo, needNo: action_body.needNo, needNoOrderNo: action_body.needNoOrderNo };
var
setObj
=
{
needNo
:
action_body
.
needNo
,
needNoOrderNo
:
action_body
.
needNoOrderNo
};
var
self
=
this
;
var
self
=
this
;
return
await
this
.
db
.
transaction
(
async
function
(
t
)
{
return
await
this
.
db
.
transaction
(
async
function
(
t
)
{
await
self
.
dao
.
updateByWhere
(
setObj
,
{
where
:
{
orderNo
:
action_body
.
orderNo
}
},
t
);
await
self
.
dao
.
updateByWhere
(
setObj
,
{
where
:
{
orderNo
:
action_body
.
orderNo
}
},
t
);
...
@@ -130,7 +131,7 @@ class OrderService extends ServiceBase {
...
@@ -130,7 +131,7 @@ class OrderService extends ServiceBase {
return
system
.
getResultSuccess
();
return
system
.
getResultSuccess
();
});
});
}
}
//更新付款状态
//更新付款状态
--渠道web用
async
updateOrderPayStatus
(
action_body
,
pobj
,
req
)
{
async
updateOrderPayStatus
(
action_body
,
pobj
,
req
)
{
var
payStatus
=
action_body
.
payStatus
||
"dfk"
;
var
payStatus
=
action_body
.
payStatus
||
"dfk"
;
var
self
=
this
;
var
self
=
this
;
...
...
igirl-channel/app/config/settings.js
View file @
e219cc17
...
@@ -51,7 +51,7 @@ var settings = {
...
@@ -51,7 +51,7 @@ var settings = {
},
},
pushFqbossDataUrl
:
function
()
{
pushFqbossDataUrl
:
function
()
{
if
(
this
.
env
==
"dev"
)
{
if
(
this
.
env
==
"dev"
)
{
return
"http://192.168.18.
141
:3000/"
;
//localsettings.reqEsDevUrl;
return
"http://192.168.18.
32
:3000/"
;
//localsettings.reqEsDevUrl;
}
else
{
}
else
{
return
"https://fqgirl.gongsibao.com/"
;
return
"https://fqgirl.gongsibao.com/"
;
}
}
...
...
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