Sfoglia il codice sorgente

返回值优化

dev
nizongfeng 3 anni fa
parent
commit
a5af6bc646
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. +1
    -0
      application/admin/controller/CfItem.php

+ 1
- 0
application/admin/controller/CfItem.php Vedi File

@@ -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];


Caricamento…
Annulla
Salva