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
c518152f
Commit
c518152f
authored
Jul 17, 2020
by
linboxuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ucommune-back operate api
parent
ddaf0030
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
14 deletions
+6
-14
ucommune-back/app/base/api/impl/backAction/ucommune.js
+2
-2
ucommune-back/app/base/service/impl/backUtilsSve/utilsUcommuneSve.js
+4
-12
No files found.
ucommune-back/app/base/api/impl/backAction/ucommune.js
View file @
c518152f
...
@@ -34,8 +34,8 @@ class ProductAPI extends WEBBase {
...
@@ -34,8 +34,8 @@ class ProductAPI extends WEBBase {
case
"getCustomerArea"
:
// 概览-客户地域分布
case
"getCustomerArea"
:
// 概览-客户地域分布
opResult
=
await
this
.
utilsUcommuneSve
.
getCustomerArea
(
pobj
,
pobj
.
actionBody
);
opResult
=
await
this
.
utilsUcommuneSve
.
getCustomerArea
(
pobj
,
pobj
.
actionBody
);
break
;
break
;
case
"getOrderInfo"
:
// 订单列表
case
"getOrder
Delivery
Info"
:
// 订单列表
opResult
=
await
this
.
utilsUcommuneSve
.
getOrderInfo
(
pobj
,
pobj
.
actionBody
);
opResult
=
await
this
.
utilsUcommuneSve
.
getOrder
Delivery
Info
(
pobj
,
pobj
.
actionBody
);
break
;
break
;
case
"getOrderDelivery"
:
// 订单详情
case
"getOrderDelivery"
:
// 订单详情
opResult
=
await
this
.
utilsUcommuneSve
.
getOrderDelivery
(
pobj
,
pobj
.
actionBody
);
opResult
=
await
this
.
utilsUcommuneSve
.
getOrderDelivery
(
pobj
,
pobj
.
actionBody
);
...
...
ucommune-back/app/base/service/impl/backUtilsSve/utilsUcommuneSve.js
View file @
c518152f
...
@@ -64,18 +64,10 @@ class UtilsUcommuneService extends AppServiceBase {
...
@@ -64,18 +64,10 @@ class UtilsUcommuneService extends AppServiceBase {
* @param {*} pobj
* @param {*} pobj
* @param {*} actionBody
* @param {*} actionBody
*/
*/
async
getOrderInfo
(
pobj
,
actionBody
)
{
async
getOrderDeliveryInfo
(
pobj
,
actionBody
)
{
var
obj
=
[{
var
reqUrl
=
this
.
centerOrderUrl
+
"action/ucommuneOrder/springBoard"
;
orderNo
:
"OT37202007041210tTCU"
,
var
result
=
await
this
.
restPostUrl
(
pobj
,
reqUrl
);
produuctName
:
"产品名字"
,
return
result
;
tmName
:
"商标名字"
,
quantity
:
1
,
contactName
:
"lin"
,
totalSum
:
"300"
,
deliveryStatusName
:
"待审核"
,
updateAt
:
"2020-07-14 11:00:00"
}]
return
system
.
getResultSuccess
(
obj
);
}
}
/**
/**
...
...
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