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
5d89c4dd
Commit
5d89c4dd
authored
Dec 07, 2018
by
christ
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master_dev' of git.shenbd.com:qm-develop/shenbd into ccw
parents
ef0d29ff
1bf8c288
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
1 deletion
+17
-1
OrderConfirmUtil.php
application/library/Order/OrderConfirmUtil.php
+6
-0
EvaluationService.php
application/models/Business/Goods/EvaluationService.php
+10
-0
url.ini
conf/url.ini
+1
-1
test.jpg
public/test.jpg
+0
-0
No files found.
application/library/Order/OrderConfirmUtil.php
View file @
5d89c4dd
...
@@ -850,6 +850,12 @@ class OrderConfirmUtil {
...
@@ -850,6 +850,12 @@ class OrderConfirmUtil {
$storeTopSaleGoodsDao
=
\DAO\Goods\StoreTopSaleGoodsModel
::
getInstance
();
$storeTopSaleGoodsDao
=
\DAO\Goods\StoreTopSaleGoodsModel
::
getInstance
();
$storeTopSaleGoodsDao
->
pushChangeSaleStore
(
$storeId
);
$storeTopSaleGoodsDao
->
pushChangeSaleStore
(
$storeId
);
}
}
//删除购物车缓存
$cartRedis
=
\Redis\Db7\CartRedisModel
::
getInstance
();
$memberCartKey
=
\Our\NameConst
::
memberStoreCartsPrefix
.
'*_'
.
$storeId
;
\Our\Log
::
getInstance
()
->
write
(
json_encode
(
$cartRedis
->
tableKeys
(
$memberCartKey
)),
'/data/log/apptest'
);
$cartRedis
->
tableDelAll
(
$cartRedis
->
tableKeys
(
$memberCartKey
));
}
}
$this
->
updateGoodsStorageToDBAndCache
(
$goodsCommonIds
,
$goodsIds
,
$blIds
,
$goodsNewList
,
$op
,
$updateSaleNumFlag
);
$this
->
updateGoodsStorageToDBAndCache
(
$goodsCommonIds
,
$goodsIds
,
$blIds
,
$goodsNewList
,
$op
,
$updateSaleNumFlag
);
return
true
;
return
true
;
...
...
application/models/Business/Goods/EvaluationService.php
View file @
5d89c4dd
...
@@ -73,7 +73,17 @@ class EvaluationServiceModel extends \Business\AbstractModel {
...
@@ -73,7 +73,17 @@ class EvaluationServiceModel extends \Business\AbstractModel {
$evaluation
[
'memberAvatar'
]
=
$memberAvatar
;
$evaluation
[
'memberAvatar'
]
=
$memberAvatar
;
//$images = $this->_upload($v['images']);
//$images = $this->_upload($v['images']);
$images
=
$v
[
'images'
];
$images
=
$v
[
'images'
];
//兼容安卓传参
if
(
!
is_array
(
$images
))
$images
=
json_decode
(
$images
,
true
);
if
(
!
is_array
(
$images
))
$images
=
json_decode
(
$images
,
true
);
if
(
is_array
(
$images
)
&&
$images
)
{
foreach
(
$images
as
$k
=>
$v
)
{
if
(
empty
(
$v
))
{
unset
(
$images
[
$k
]);
}
}
}
else
{
$images
=
null
;
}
if
(
empty
(
$images
))
$images
=
null
;
if
(
empty
(
$images
))
$images
=
null
;
$images
?
$data
[
'goods'
][
$k
][
'haveImg'
]
=
1
:
$data
[
'goods'
][
$k
][
'haveImg'
]
=
0
;
$images
?
$data
[
'goods'
][
$k
][
'haveImg'
]
=
1
:
$data
[
'goods'
][
$k
][
'haveImg'
]
=
0
;
if
(
$data
[
'goods'
][
$k
][
'haveImg'
]
==
1
)
{
if
(
$data
[
'goods'
][
$k
][
'haveImg'
]
==
1
)
{
...
...
conf/url.ini
View file @
5d89c4dd
...
@@ -91,7 +91,7 @@ config.url.resourcesHost = "http://test.qm.com"
...
@@ -91,7 +91,7 @@ config.url.resourcesHost = "http://test.qm.com"
config.url.userHost
=
""
config.url.userHost
=
""
; oss 域名
; oss 域名
config.url.ossHost
=
"http
://qmoss-01.oss-cn-hangzhou.aliyuncs
.com"
config.url.ossHost
=
"http
s://img.shenbd
.com"
;推送域名
;推送域名
config.url.pushHost
=
"127.0.0.1:9503"
;
config.url.pushHost
=
"127.0.0.1:9503"
;
...
...
public/test.jpg
0 → 100644
View file @
5d89c4dd
This diff is collapsed.
Click to expand it.
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