Explorar el Código

返回值优化

dev
nizongfeng hace 3 años
padre
commit
a5af6bc646
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. +1
    -0
      application/admin/controller/CfItem.php

+ 1
- 0
application/admin/controller/CfItem.php Ver fichero

@@ -213,6 +213,7 @@ class CfItem extends Backend
public function getList(){
$name=$this->request->post('name');
$keyValue=$this->request->post('keyValue');
$this->model->field('id,item_name as name,item_unit,item_type,item_memo,purchase_user_id');
$where = ["del_flag"=>0];
if($keyValue){
$where = ['id'=>$keyValue,"del_flag"=>0];


Cargando…
Cancelar
Guardar