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
b2312300
Commit
b2312300
authored
Feb 16, 2019
by
chenchuanwen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pc
parent
1e032787
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
RefundService.php
application/models/Business/Order/RefundService.php
+7
-5
No files found.
application/models/Business/Order/RefundService.php
View file @
b2312300
...
@@ -1389,11 +1389,13 @@ class RefundServiceModel extends \Business\AbstractModel
...
@@ -1389,11 +1389,13 @@ class RefundServiceModel extends \Business\AbstractModel
$addressDao
=
\DAO\Order\DAddressModel
::
getInstance
();
$addressDao
=
\DAO\Order\DAddressModel
::
getInstance
();
$info
=
$refundReturn
;
$info
=
$refundReturn
;
if
(
$refundReturn
[
'refundType'
]
==
ApiConst
::
refundTypeGoods
)
{
if
(
$refundReturn
[
'refundType'
]
==
ApiConst
::
refundTypeGoods
)
{
if
(
$refundReturn
[
'addressId'
])
{
// if ($refundReturn['addressId']) {
$address
=
$addressDao
->
getAddressByAddressId
(
$refundReturn
[
'addressId'
],
$this
->
daddressField
);
// $address = $addressDao->getAddressByAddressId($refundReturn['addressId'], $this->daddressField);
}
else
{
// } else {
$address
=
$addressDao
->
getAddressByStoreId
(
$refundReturn
[
'storeId'
],
$this
->
daddressField
);
// $address = $addressDao->getAddressByStoreId($refundReturn['storeId'], $this->daddressField);
}
// }
// $address['areaInfo']=Common::getRealStr($address['areaInfo']);
$address
=
$refundReturn
[
'reciverInfo'
];
$address
[
'areaInfo'
]
=
Common
::
getRealStr
(
$address
[
'areaInfo'
]);
$address
[
'areaInfo'
]
=
Common
::
getRealStr
(
$address
[
'areaInfo'
]);
if
(
!
empty
(
$address
)){
if
(
!
empty
(
$address
)){
$address
[
'isDefault'
]
=
(
int
)
$address
[
'isDefault'
];
$address
[
'isDefault'
]
=
(
int
)
$address
[
'isDefault'
];
...
...
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