Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eduline
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
冷斌
eduline
Commits
75ae632b
Commit
75ae632b
authored
May 14, 2020
by
冷斌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试
短信验证
parent
832b38d7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
apps/mall/Lib/Action/GoodsAction.class.php
+10
-0
No files found.
apps/mall/Lib/Action/GoodsAction.class.php
View file @
75ae632b
...
@@ -229,12 +229,22 @@ class GoodsAction extends Action
...
@@ -229,12 +229,22 @@ class GoodsAction extends Action
unset
(
$split_score
[
'rechange_default'
]);
unset
(
$split_score
[
'rechange_default'
]);
$sple_score
=
array_filter
(
explode
(
':'
,
$split_score
[
'sple_score'
]))[
1
]
/
array_filter
(
explode
(
':'
,
$split_score
[
'sple_score'
]))[
0
];
$sple_score
=
array_filter
(
explode
(
':'
,
$split_score
[
'sple_score'
]))[
1
]
/
array_filter
(
explode
(
':'
,
$split_score
[
'sple_score'
]))[
0
];
$this
->
assign
(
"video"
,
$video
);
$this
->
assign
(
"guess_you_like"
,
$guess_you_like
);
$this
->
assign
(
"bestVideo"
,
$bestVideo
);
$this
->
assign
(
'sort_type'
,
$sort_type
);
$this
->
assign
(
"sple_score"
,
$sple_score
);
//如果是ajax并且为h5访问 直接输出后边的数据
if
(
$this
->
isAjax
()
&&
$this
->
is_wap
)
{
$html
=
$this
->
fetch
(
'index_w3g_ajax'
);
$html
=
$this
->
fetch
(
'index_w3g_ajax'
);
$data
[
'data'
]
=
$html
;
$data
[
'data'
]
=
$html
;
echo
json_encode
(
$data
);
echo
json_encode
(
$data
);
exit
();
exit
();
}
}
$this
->
display
();
}
/**
/**
* @name 获取商品详情
* @name 获取商品详情
*/
*/
...
...
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