作者 王智

222

... ... @@ -256,8 +256,12 @@ class Index extends Api
public function ProductClassList()
{
$param = $this->request->param();
$param['isclass'] = substr($param['isclass'], 0, strpos($param['isclass'], ',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['class_con'], ',function')) {
$param['class_con'] = substr($param['class_con'], 0, strpos($param['class_con'], ',function'));
}
dump($param);
die;
if (empty($param['class_con'])) {
... ...