...
|
...
|
@@ -135,7 +135,7 @@ class Index extends Api |
|
|
public function LogoClassList()
|
|
|
{
|
|
|
$param = $this->request->param();
|
|
|
if (empty($param['isclass'])) {
|
|
|
if (empty($param['isclass'])||$param['isclass']==''||$param['isclass']==null||$param['isclass']=="") {
|
|
|
$map = [];
|
|
|
$map1 = [];
|
|
|
if (strstr($param['isclass'], ',function')) {
|
...
|
...
|
@@ -262,7 +262,7 @@ class Index extends Api |
|
|
public function ProductClassList()
|
|
|
{
|
|
|
$param = $this->request->param();
|
|
|
if (empty($param['class_con'])) {
|
|
|
if (empty($param['class_con'])||$param['class_con']==null||$param['class_con']==''||$param['class_con']=="") {
|
|
|
$map = [];
|
|
|
$map1 = [];
|
|
|
if (strstr($param['isclass'], ',function')) {
|
...
|
...
|
@@ -298,8 +298,8 @@ class Index extends Api |
|
|
} else {
|
|
|
$map = [];
|
|
|
$map1 = [];
|
|
|
if (strstr($param['class_con'], ',function')) {
|
|
|
$param['class_con'] = substr($param['class_con'], 0, strpos($param['class_con'], ',function'));
|
|
|
if (strstr($param['isclass'], ',function')) {
|
|
|
$param['isclass'] = substr($param['isclass'], 0, strpos($param['isclass'], ',function'));
|
|
|
}
|
|
|
if (strstr($param['isclass'], ',')) {
|
|
|
if (strstr($param['isclass'], '0,')) {
|
...
|
...
|
@@ -314,6 +314,9 @@ class Index extends Api |
|
|
$map['l.class_id'] = $param['isclass'];
|
|
|
}
|
|
|
}
|
|
|
if (strstr($param['class_con'], ',function')) {
|
|
|
$param['class_con'] = substr($param['class_con'], 0, strpos($param['class_con'], ',function'));
|
|
|
}
|
|
|
if (strstr($param['class_con'], ',')) {
|
|
|
if (strstr($param['class_con'], '0,')) {
|
|
|
$count = strpos($param['class_con'], "0,");
|
...
|
...
|
|