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
9123e336
Commit
9123e336
authored
Sep 20, 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
cee021e6
a437d290
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
EvaluationService.php
application/models/Business/Goods/EvaluationService.php
+1
-1
DeliveryEvalLabelRedis.php
application/models/Redis/Db5/DeliveryEvalLabelRedis.php
+1
-1
No files found.
application/models/Business/Goods/EvaluationService.php
View file @
9123e336
...
...
@@ -24,7 +24,7 @@ class EvaluationServiceModel extends \Business\AbstractModel {
if
(
$order
[
'diliveryman_id'
])
{
//获取配送员评价标签
$evalLabelDAO
=
\DAO\DeliveryEvalLabelModel
::
getInstance
();
$data
=
\Our\RedisHelper
::
cachedFunction
(
\Redis\Db5\DeliveryEvalLabelRedisModel
::
getInstance
(),
array
(
&
$evalLabelDAO
,
'getLabelList'
),
array
(
array
(
'store_id'
=>
$order
[
'store_id'
],
'is_show'
=>
1
),
'label_id,label_name'
),
\Our\ApiConst
::
oneDaySecond
);
$data
=
\Our\RedisHelper
::
cachedFunction
(
\Redis\Db5\DeliveryEvalLabelRedisModel
::
getInstance
(),
array
(
&
$evalLabelDAO
,
'getLabelList'
),
array
(
array
(
'store_id'
=>
$order
[
'store_id'
],
'is_show'
=>
1
),
'label_id,label_name'
),
\Our\ApiConst
::
oneDaySecond
,
array
(
$order
[
'store_id'
])
);
if
(
$data
&&
is_array
(
$data
)){
foreach
(
$data
as
$k
=>
$v
){
$serviceEvaluations
[]
=
array
(
'labelId'
=>
$v
[
'label_id'
],
'label'
=>
$v
[
'label_name'
]);
...
...
application/models/Redis/Db5/DeliveryEvalLabelRedis.php
100755 → 100644
View file @
9123e336
...
...
@@ -10,7 +10,7 @@ class DeliveryEvalLabelRedisModel extends \Redis\Db5\AbstractModel {
*
* @var string
*/
protected
$_tableName
=
'
OrderRedis.php
'
;
protected
$_tableName
=
'
han_delivery_eval_label
'
;
/**
...
...
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