瀏覽代碼

返回值优化

dev
nizongfeng 3 年之前
父節點
當前提交
a5af6bc646
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. +1
    -0
      application/admin/controller/CfItem.php

+ 1
- 0
application/admin/controller/CfItem.php 查看文件

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


Loading…
取消
儲存