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
1484a387
Commit
1484a387
authored
Dec 02, 2018
by
liuyuzhen
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master_dev' of git.shenbd.com:qm-develop/shenbd into lyz
parents
b9f650d5
e43a54de
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
2 deletions
+10
-2
GoodsCommonService.php
application/models/Business/Goods/GoodsCommonService.php
+1
-1
RefundService.php
application/models/Business/Order/RefundService.php
+3
-0
ApiReciverInfo.php
application/models/DAO/Order/ApiReciverInfo.php
+6
-1
No files found.
application/models/Business/Goods/GoodsCommonService.php
View file @
1484a387
...
...
@@ -542,7 +542,7 @@ class GoodsCommonServiceModel extends \Business\AbstractModel
$productData
=
\Our\RedisHelper
::
cachedFunction
(
\Redis\Db4\GoodsAttributeRedisModel
::
getInstance
(),
array
(
&
$attrbuteDAO
,
'option'
),
array
(
'attribute,attribute_value'
,
array
(
'goods_commonid'
=>
$goodsCommonId
)),
\Our\ApiConst
::
oneDaySecond
,
array
(
$goodsCommonId
));
$html
=
array
(
'width'
=>
750
,
'height'
=>
$commonInfo
[
'goods_height'
],
'url'
=>
\Our\Common
::
getBaseUrl
()
.
'/index/goodsDetail?goodsCommonId='
.
$goodsCommonId
);
if
(
$commonInfo
[
'is_del'
]
==
1
)
$commonInfo
[
'goods_state'
]
=
0
;
if
(
$commonInfo
[
'is_del'
]
==
1
||
$commonInfo
[
'goods_state'
]
==
10
)
$commonInfo
[
'goods_state'
]
=
0
;
unset
(
$attrs
[
'commonInfo'
]);
return
array_merge
(
array
(
'storeId'
=>
$commonInfo
[
'store_id'
],
'goodsId'
=>
$commonInfo
[
'goodsId'
],
'goodsName'
=>
$commonInfo
[
'goods_name'
],
'goodsVerify'
=>
$commonInfo
[
'goods_verify'
],
'goodsState'
=>
$commonInfo
[
'goods_state'
],
'saleCount'
=>
$commonInfo
[
'sale_num'
],
'collectionState'
=>
$collectionState
,
'isOwn'
=>
$isOwn
,
'isHot'
=>
$commonInfo
[
'goods_hot'
],
'isRecoment'
=>
$commonInfo
[
'goods_commend'
],
'isFree'
=>
$commonInfo
[
'goods_free'
],
'isVirtual'
=>
$commonInfo
[
'is_virtual'
],
'goodsMostLimit'
=>
$commonInfo
[
'goods_most_limit'
],
'goodsLeastLimit'
=>
$commonInfo
[
'goods_least_limit'
],
'goodsTotalLimit'
=>
$commonInfo
[
'goods_total_limit'
],
'address'
=>
$area
,
'range'
=>
$rangePrice
,
'productData'
=>
$productData
,
'htmlContent'
=>
$html
,
'videoUrl'
=>
$commonInfo
[
'goods_youku_url'
],
'subheading'
=>
$commonInfo
[
'goods_jingle'
],
'inStoreService'
=>
$in_store_service_flag
),
$attrs
);
}
...
...
application/models/Business/Order/RefundService.php
View file @
1484a387
...
...
@@ -702,6 +702,9 @@ class RefundServiceModel extends \Business\AbstractModel
if
(
!
empty
(
$value
[
'picInfo'
])){
$value
[
'picInfo'
]
=
$refundReturnDao
->
getRefundPics
(
$value
[
'picInfo'
][
'buyer'
]);
}
if
(
$value
[
'goodsState'
]
>
ApiConst
::
goodsStateWaitRecieve
){
$value
[
'shippingOver'
]
=
ApiConst
::
shippingOver
;
}
unset
(
$value
[
'goodsSpec'
]);
// unset($value['picInfo']);
}
...
...
application/models/DAO/Order/ApiReciverInfo.php
View file @
1484a387
...
...
@@ -62,7 +62,12 @@ class ApiReciverInfoModel extends \DAO\AbstractModel
$this
->
cityCode
=
isset
(
$reciverInfo
[
'citycode'
])
?
$reciverInfo
[
'citycode'
]
:
''
;
$this
->
addressId
=
$reciverInfo
[
'address_id'
];
$this
->
subAddress
=
isset
(
$reciverInfo
[
'subaddress'
])
?
$reciverInfo
[
'subaddress'
]
:
''
;
$this
->
trueName
=
$reciverInfo
[
'name'
];
if
(
isset
(
$reciverInfo
[
'name'
])
&&
$reciverInfo
[
'name'
]){
$this
->
trueName
=
$reciverInfo
[
'name'
];
}
else
{
$this
->
trueName
=
$reciverInfo
[
'true_name'
];
}
//$this->trueName=$reciverInfo['true_name'];
}
public
function
getReceiverInfo
(){
...
...
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