mysql函数的使用

tp5中的concat()函数使用

$list = db('banner')->field('concat("'.'https://'.$_SERVER['HTTP_HOST'].'",imgurl) as imgurl')->order('order desc')->select();

 

posted @ 2019-08-07 10:39  子焱  阅读(765)  评论(0)    收藏  举报