Commit d5c91908 authored by 吴贤德's avatar 吴贤德

中心接口:华数演示接口——媒资列表接口支持多栏目合并获取

parent 972b49f8
...@@ -70,7 +70,9 @@ class WasuAction extends Action ...@@ -70,7 +70,9 @@ class WasuAction extends Action
} }
$program = urldecode($_GET["program"]); $program = urldecode($_GET["program"]);
if (!empty($program)&& $program!="all" && $program!=""){ if (!empty($program)&& $program!="all" && $program!=""){
$where.=" AND mw.programType='$program' "; // $where.=" AND mw.programType='$program' ";
$programs = str_replace("|","','",$program);
$where.=" AND mw.programType in ('$programs') ";
} }
if (empty($size)){ if (empty($size)){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment