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
8ccd3b81
Commit
8ccd3b81
authored
Feb 16, 2019
by
lingqingmei
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'ccw' of
http://git.shenbd.com/api-project-dev/api.shenbd.com
into master_dev
parents
f7e36a0e
b2312300
Pipeline
#32
failed with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
RefundService.php
application/models/Business/Order/RefundService.php
+7
-5
url.ini
conf/url.ini
+1
-1
No files found.
application/models/Business/Order/RefundService.php
View file @
8ccd3b81
...
@@ -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'
];
...
...
conf/url.ini
View file @
8ccd3b81
...
@@ -127,7 +127,7 @@ config.url.resourcesHost = "http://local.qm.com"
...
@@ -127,7 +127,7 @@ config.url.resourcesHost = "http://local.qm.com"
config.url.userHost
=
""
config.url.userHost
=
""
; oss 域名
; oss 域名
config.url.ossHost
=
"https://img
pre
.shenbd.com"
config.url.ossHost
=
"https://img.shenbd.com"
;推送域名
;推送域名
config.url.pushHost
=
"192.168.1.201:9503"
;
config.url.pushHost
=
"192.168.1.201:9503"
;
...
...
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