wupengfei 2 years ago
parent
commit
43519c67d2
1 changed files with 1 additions and 0 deletions
  1. 1 0
      application/api/controller/Press.php

+ 1 - 0
application/api/controller/Press.php

@@ -62,6 +62,7 @@ class Press extends Base
      * @return name:is_praise type:int default:-- desc:是否点赞
      */
     public function getPressList(){
+        var_dump(in_array('a',['A']));
         $title = input('get.title');
         $list = \app\common\model\Press::where(['is_deleted'=>0])->when($title,function ($query)use($title){
             if($title) $query->where('title','like','%.'.$title.'%');