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
833faa2d
Commit
833faa2d
authored
Sep 04, 2018
by
zhz
Browse files
Options
Browse Files
Download
Plain Diff
冲突
parents
c5e24876
b047d4e4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
1 deletion
+6
-1
ImageConst.php
application/library/Our/ImageConst.php
+2
-0
AddressService.php
application/models/Business/User/AddressService.php
+3
-0
Address.php
application/models/DAO/Address.php
+0
-0
StoreTopSaleGoods.php
application/models/DAO/Goods/StoreTopSaleGoods.php
+1
-1
No files found.
application/library/Our/ImageConst.php
View file @
833faa2d
...
...
@@ -103,4 +103,6 @@ class ImageConst{
const
commentCircleStoreLabel
=
48
;
const
storeQualificationImg
=
188
;
const
storeCollectionImg
=
112
;
const
homeIndexHotGoodsImageSize
=
250
;
}
application/models/Business/User/AddressService.php
100755 → 100644
View file @
833faa2d
...
...
@@ -35,6 +35,9 @@ class AddressServiceModel extends \Business\AbstractModel {
$where
[
'address_id'
]
=
$addressId
;
$result
=
$addressDao
->
update
(
$address
,
$where
);
\Our\RedisHelper
::
delCachedFunction
(
\Redis\Db8\AddressRedisModel
::
getInstance
(),
array
(
&
$addressDao
,
'findByWhereWithColumns'
),
array
(),
array
(
$addressId
));
if
(
$result
!==
false
){
$result
=
true
;
}
}
else
{
$result
=
$addressDao
->
insert
(
$address
);
$addressId
=
$result
;
...
...
application/models/DAO/Address.php
100755 → 100644
View file @
833faa2d
File mode changed from 100755 to 100644
application/models/DAO/Goods/StoreTopSaleGoods.php
100755 → 100644
View file @
833faa2d
...
...
@@ -57,7 +57,7 @@ class StoreTopSaleGoodsModel extends \DAO\AbstractModel{
}
if
(
$orderGoods
)
{
foreach
(
$orderGoods
as
&
$goods
){
$goods
[
'goodsImage'
]
=
\Our\ImageUtil
::
getGoodsImgUrl
(
$goods
[
'goodsImage'
]);
$goods
[
'goodsImage'
]
=
\Our\ImageUtil
::
getGoodsImgUrl
(
$goods
[
'goodsImage'
]
,
\Our\ImageConst
::
homeIndexHotGoodsImageSize
);
}
return
$orderGoods
;
}
...
...
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