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
77cc6158
Commit
77cc6158
authored
Jul 25, 2020
by
任晓松
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
商标驳回复审
parent
20508a9c
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
75 additions
and
0 deletions
+75
-0
center-order/app/base/api/impl/action/tmreview.js
+43
-0
center-order/app/base/db/impl/dbcorder/orderdeliveryofficialDao.js
+8
-0
center-order/app/base/db/models/dbcorder/orderOfficial.js
+24
-0
center-order/app/base/service/impl/dbcorder/orderdeliverSve.js
+0
-0
No files found.
center-order/app/base/api/impl/action/tmreview.js
0 → 100644
View file @
77cc6158
var
APIBase
=
require
(
"../../api.base"
);
var
system
=
require
(
"../../../system"
);
var
settings
=
require
(
"../../../../config/settings"
);
class
tmreview
extends
APIBase
{
constructor
()
{
super
();
this
.
orderDeliverSve
=
system
.
getObject
(
"service.dbcorder.orderDeliverSve"
);
}
async
springBoard
(
pobj
,
qobj
,
req
)
{
if
(
!
pobj
.
actionType
)
{
return
system
.
getResult
(
null
,
"actionType参数不能为空"
);
}
var
result
=
await
this
.
opActionProcess
(
pobj
,
pobj
.
actionType
,
req
);
return
result
;
}
async
opActionProcess
(
pobj
,
action_type
,
req
)
{
var
opResult
=
null
;
switch
(
action_type
)
{
case
"addReviewList"
:
opResult
=
await
this
.
orderDeliverSve
.
submitReview
(
pobj
,
pobj
.
actionBody
);
break
;
case
"getReOrderList"
:
//获取订单列表信息
opResult
=
await
this
.
orderDeliverSve
.
getReOrderList
(
pobj
,
pobj
.
actionBody
);
break
;
case
"addOfficial"
:
//接收官文信息
opResult
=
await
this
.
orderDeliverSve
.
addOfficial
(
pobj
,
pobj
.
actionBody
);
break
;
case
"getOfficalList"
:
opResult
=
await
this
.
orderDeliverSve
.
getOfficialList
(
pobj
,
pobj
.
actionBody
)
break
;
default
:
opResult
=
system
.
getResult
(
null
,
"action_type参数错误"
);
break
;
}
return
opResult
;
}
}
module
.
exports
=
tmreview
;
\ No newline at end of file
center-order/app/base/db/impl/dbcorder/orderdeliveryofficialDao.js
0 → 100644
View file @
77cc6158
const
system
=
require
(
"../../../system"
);
const
Dao
=
require
(
"../../dao.base"
);
class
OrderdeliveryofficialDao
extends
Dao
{
constructor
()
{
super
(
Dao
.
getModelName
(
OrderdeliveryofficialDao
));
}
}
module
.
exports
=
OrderdeliveryofficialDao
;
center-order/app/base/db/models/dbcorder/orderOfficial.js
0 → 100644
View file @
77cc6158
const
system
=
require
(
"../../../system"
);
const
settings
=
require
(
"../../../../config/settings"
);
const
uiconfig
=
system
.
getUiConfig2
(
settings
.
appKey
);
module
.
exports
=
(
db
,
DataTypes
)
=>
{
return
db
.
define
(
"orderOfficial"
,
{
sourceNo
:
DataTypes
.
STRING
(
128
),
// 订单号
channelUserId
:
DataTypes
.
STRING
(
128
),
// 用户id
officialInfo
:
DataTypes
.
JSON
// 官文信息
},
{
paranoid
:
true
,
//假的删除
underscored
:
true
,
version
:
true
,
freezeTableName
:
true
,
timestamps
:
true
,
updatedAt
:
true
,
tableName
:
'c_delivery_official'
,
validate
:
{
},
indexes
:
[
]
});
}
center-order/app/base/service/impl/dbcorder/orderdeliverSve.js
0 → 100644
View file @
77cc6158
This diff is collapsed.
Click to expand it.
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