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
363efa33
Commit
363efa33
authored
Apr 13, 2020
by
王栋源
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wdy
parent
3adb7ab6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
1 deletions
+11
-1
center-order/app/base/api/impl/action/order.js
+3
-0
center-order/app/base/db/impl/dbcorder/orderinfoDao.js
+7
-0
center-order/app/base/db/models/dbcorder/orderinfo.js
+1
-1
No files found.
center-order/app/base/api/impl/action/order.js
View file @
363efa33
...
@@ -49,6 +49,9 @@ class OrderAPI extends APIBase {
...
@@ -49,6 +49,9 @@ class OrderAPI extends APIBase {
case
"delOrder"
:
//删除订单
case
"delOrder"
:
//删除订单
opResult
=
await
this
.
orderinfoSve
.
delOrder
(
pobj
,
pobj
.
actionBody
);
opResult
=
await
this
.
orderinfoSve
.
delOrder
(
pobj
,
pobj
.
actionBody
);
break
;
break
;
case
"channeldelOrder"
:
//阿里工商注册退款
opResult
=
await
this
.
orderinfoSve
.
channeldelOrder
(
pobj
,
pobj
.
actionBody
);
break
;
//--------------------------------支付相关接口------------开始
//--------------------------------支付相关接口------------开始
case
"getPayOrderInfo"
:
//获取付款订单信息
case
"getPayOrderInfo"
:
//获取付款订单信息
opResult
=
await
this
.
orderinfoSve
.
getPayOrderInfo
(
pobj
,
pobj
.
actionBody
);
opResult
=
await
this
.
orderinfoSve
.
getPayOrderInfo
(
pobj
,
pobj
.
actionBody
);
...
...
center-order/app/base/db/impl/dbcorder/orderinfoDao.js
View file @
363efa33
...
@@ -42,5 +42,12 @@ class OrderInfoDao extends Dao {
...
@@ -42,5 +42,12 @@ class OrderInfoDao extends Dao {
};
};
return
await
this
.
delete
(
sqlWhere
);
return
await
this
.
delete
(
sqlWhere
);
}
}
async
channeldelOrder
(
channelOrderNo
,
uapp_id
)
{
var
sqlWhere
=
{
channelOrderNo
:
channelOrderNo
,
uapp_id
:
uapp_id
,
};
return
await
this
.
delete
(
sqlWhere
);
}
}
}
module
.
exports
=
OrderInfoDao
;
module
.
exports
=
OrderInfoDao
;
center-order/app/base/db/models/dbcorder/orderinfo.js
View file @
363efa33
...
@@ -4,7 +4,7 @@ const uiconfig = system.getUiConfig2(settings.appKey);
...
@@ -4,7 +4,7 @@ const uiconfig = system.getUiConfig2(settings.appKey);
module
.
exports
=
(
db
,
DataTypes
)
=>
{
module
.
exports
=
(
db
,
DataTypes
)
=>
{
return
db
.
define
(
"orderinfo"
,
{
return
db
.
define
(
"orderinfo"
,
{
uapp_id
:
DataTypes
.
INTEGER
,
//
uapp_id
:
DataTypes
.
INTEGER
,
//
solutionId
:
DataTypes
.
STRING
(
128
),
// 方案ID
//
solutionId :DataTypes.STRING(128),// 方案ID
orderNo
:
DataTypes
.
STRING
(
128
),
// 订单号
orderNo
:
DataTypes
.
STRING
(
128
),
// 订单号
channelServiceNo
:
DataTypes
.
STRING
(
128
),
// 渠道服务单号
channelServiceNo
:
DataTypes
.
STRING
(
128
),
// 渠道服务单号
channelOrderNo
:
DataTypes
.
STRING
(
128
),
// 渠道订单号(页面中列表中显示该单号)
channelOrderNo
:
DataTypes
.
STRING
(
128
),
// 渠道订单号(页面中列表中显示该单号)
...
...
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