作者 wangzhi

222

... ... @@ -220,7 +220,7 @@ class Index extends Api
public function ProductClassList()
{
$param = $this->request->param();
if (empty($param['class_con'])) {
if (!empty($param['class_con'])) {
$class_arr = Db::name('class_con')->where(['class_ids' => $param['isclass']])->select();
foreach ($class_arr as $k => $v) {
$return[$k]['class_con'] = $v['class_con'];
... ...