客速融系统--客速融系统开发源码分享

 

客速融开发源码:

function loan(){
       $param=input('param.');
       $category_model = new LoanCategoryModel();
       $category_list = $category_model->getAllList([]);
       $category_list = array_column($category_list,'name','id');
       if(request()->isPost()) {
           $model=new LoanModel();
           $list = $model->getListInfo($param);
           $this->assign('category_list',$category_list);
           $this->assign('list',$list);
           $this->assign('recommend_level',config('recommend_level'));
           $html = $this->fetch('ajax_loan');
           return json(msg(1, $html, '加载成功'));
       }
       $this->assign('category_list',$category_list);
       $this->assign('head_title','贷款产品');
       $this->assign('footer_nav','product');
       return $this->fetch();
   }

  

上一篇:【Elasticsearch Postman版】范围查询


下一篇:React 哲学 案例实现