安然不哭-西坝阿超个人博客

做技术一定要一颗恒心,这样才不会半途而废。

thinkphp 灵活查询where 构造

2018-11-30 钟建超

$pageParam['query']['key'] = $key;
        $pageParam['query']['type'] = $type;
        $where = [];
        $type && $where["types"] = $type;
        $state && $where["state"] = $state;




标签: php