作者 张关杰

Merge branch 'develop' of http://47.244.231.31:8099/zhl/globalso-v6 into develop

@@ -20,6 +20,7 @@ class ProcessLogic extends BaseLogic @@ -20,6 +20,7 @@ class ProcessLogic extends BaseLogic
20 { 20 {
21 parent::__construct(); 21 parent::__construct();
22 $this->param = $this->requestAll; 22 $this->param = $this->requestAll;
  23 + $this->model = new Project();
23 } 24 }
24 25
25 /** 26 /**
@@ -36,13 +37,13 @@ class ProcessLogic extends BaseLogic @@ -36,13 +37,13 @@ class ProcessLogic extends BaseLogic
36 ->select($filed)->orderBy($order,'desc')->where($map) 37 ->select($filed)->orderBy($order,'desc')->where($map)
37 ->paginate($row, ['*'], 'page', $page); 38 ->paginate($row, ['*'], 'page', $page);
38 //数据处理 39 //数据处理
39 -// if(!empty($lists)){  
40 -// $lists = $lists->toArray();  
41 -// foreach ($lists['list'] as $k => $v){  
42 -// $item = $this->paramHandle($v);  
43 -// $lists['list'][$k] = $item;  
44 -// }  
45 -// } 40 + if(!empty($lists)){
  41 + $lists = $lists->toArray();
  42 + foreach ($lists['list'] as $k => $v){
  43 + $item = $this->paramHandle($v);
  44 + $lists['list'][$k] = $item;
  45 + }
  46 + }
46 return $this->success($lists); 47 return $this->success($lists);
47 } 48 }
48 49