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
5bc18e05
Commit
5bc18e05
authored
Nov 30, 2018
by
christ
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
消息问题
parent
054c3aa8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
ShopkeeperService.php
application/models/Business/Store/ShopkeeperService.php
+7
-4
No files found.
application/models/Business/Store/ShopkeeperService.php
View file @
5bc18e05
...
...
@@ -334,10 +334,13 @@ class ShopkeeperServiceModel extends \Business\AbstractModel
$value
[
'orderGoods'
]
=
array
();
}
if
(
$this
->
clientType
&&
$this
->
clientType
==
NameConst
::
pcClient
)
{
$extent
=
$orderDao
->
getClienOrderCommon
(
$value
[
'orderId'
]);
$value
=
array_merge
(
$value
,
$extent
);
// $value['couponAmount'] = ($value['goodsAmount'] + $value['shippingFee']) - $value['orderAmount'];//优惠券金额
// $value['receiveAmount'] = $value['goodsAmount']+$value['shippingFee'] - $value['couponAmount'];
// $extent=$orderDao->getClienOrderCommon($value['orderId']);
// $value=array_merge($value,$extent);
$value
[
'couponAmount'
]
=
(
$value
[
'goodsAmount'
]
+
$value
[
'shippingFee'
])
-
$value
[
'orderAmount'
];
//优惠券金额
if
(
$value
[
'couponAmount'
]
<
ApiConst
::
zero
){
$value
[
'couponAmount'
]
=
ApiConst
::
zero
;
}
$value
[
'receiveAmount'
]
=
$value
[
'goodsAmount'
]
+
$value
[
'shippingFee'
]
-
$value
[
'couponAmount'
];
// $value['orderAmount'] = $value['orderAmount'];
$value
[
'reciverInfo'
]
=
unserialize
(
$value
[
'reciverInfo'
]);
$value
[
'reciverInfo'
]
=
$orderCommonDao
->
getReciverInfo
(
$value
[
'reciverInfo'
]
);
...
...
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