ThinkPHP的join查詢

join查詢php

$join = [
        	['yuangong w','a.user_id=w.yid'],
        ];
$user = Db::table('tp_users')->alias('a')->join($join)->field('a.openid')->select();
相關文章
相關標籤/搜索