Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
my-yaf-project
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenchuanwen
my-yaf-project
Commits
bec0d172
Commit
bec0d172
authored
Nov 21, 2018
by
liuyuzhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
店铺获取问题
parent
256f1d6d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
10 deletions
+2
-10
OrderService.php
application/models/Business/Order/OrderService.php
+2
-10
No files found.
application/models/Business/Order/OrderService.php
View file @
bec0d172
...
...
@@ -292,17 +292,9 @@ class OrderServiceModel extends \Business\AbstractModel
$returnData
[
'diliverymanId'
]
=
ApiConst
::
zero
;
$returnData
[
'deliveryman'
]
=
new
\stdClass
();
}
if
(
!
in_array
(
$this
->
order
[
'paymentType'
],
ArrayConst
::
payTypeOnlines
)){
$returnData
[
'offlinePayway'
]
=
$storeDao
->
convertOfflinePayway
(
$this
->
store
[
'offlinePayway'
]);
}
else
{
$returnData
[
'offlinePayway'
]
=
new
\stdClass
();
}
if
(
CURRENTVERSION
!=
NameConst
::
versionOne
){
$returnData
[
'offlinePayway'
]
=
''
;
}
$returnData
[
'storeMemberId'
]
=
$this
->
store
[
'memberId'
];
$returnData
[
'totalGoodsNum'
]
=
$orderGoodsDao
->
getGoodsCount
(
$this
->
orderGoodsList
);
//
$returnData['offlinePayway'] = $this->store['offlinePayway'] ? $this->store['offlinePayway'] : '';
$returnData
[
'offlinePayway'
]
=
$this
->
store
[
'offlinePayway'
]
?
$this
->
store
[
'offlinePayway'
]
:
''
;
$this
->
address
[
'address'
]
=
$orderCommonDao
->
convertReceiveAddress
(
$this
->
address
[
'address'
]);
$returnData
[
'reciverInfo'
]
=
$this
->
address
;
$returnData
[
'reciverInfo'
][
'mobPhone'
]
=!
empty
(
$returnData
[
'reciverInfo'
][
'mobPhone'
])
?
$returnData
[
'reciverInfo'
][
'mobPhone'
]
:
''
;
...
...
@@ -1035,7 +1027,7 @@ class OrderServiceModel extends \Business\AbstractModel
break
;
}
else
if
((
$order
[
'payment_type'
]
==
\Our\ApiConst
::
payOffline
||
$order
[
'payment_type'
]
==
\Our\ApiConst
::
payAog
)
&&
$order
[
'order_state'
]
==
\Our\ApiConst
::
orderStateWaitConfirm
)
{
//已下单的待线上支付订单
$orderTips
=
\Our\DescribeConst
::
addOrderSuccessTips
;
$store
=
$storeDao
->
get
(
$
storeId
,
false
);
$store
=
$storeDao
->
get
(
$
order
[
'store_id'
]
,
false
);
$orderContent
[
'storeName'
]
=
$store
[
'store_name'
];
if
(
$order
[
'payment_type'
]
==
\Our\ApiConst
::
payOffline
)
{
$orderContent
[
'imageUrls'
]
=
array
();
...
...
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