Explorar el Código

checkredis

yuenan
娄梦宁 hace 3 años
padre
commit
e3647f5dad
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      addons/unishop/controller/Product.php

+ 1
- 1
addons/unishop/controller/Product.php Ver fichero

@@ -83,7 +83,7 @@ class Product extends Base
}
$data = $data->append(['images_text', "detail_images_text",'spec_list', 'spec_table_list'])->toArray();
$qaModel = new Qa();
$qa=$qaModel->field("question,answer")->select();
$qa=$qaModel->where(["product_id"=>$productId])->field("question,answer")->select();
$list = collection($qa)->toArray();
$data['qa']=$list;
$this->success('', $data);


Cargando…
Cancelar
Guardar