|
@@ -69,7 +69,7 @@ class Pub extends BaseController
|
|
|
$data=null;
|
|
$data=null;
|
|
|
if($totalCount>0){
|
|
if($totalCount>0){
|
|
|
$data = (new ShowTemplate)
|
|
$data = (new ShowTemplate)
|
|
|
- ->field("id,title,price,old_price,status,img,is_hot,is_recommend")
|
|
|
|
|
|
|
+ ->field("id,title,price,old_price,status,img,is_hot,is_recommend,code")
|
|
|
->where($where)
|
|
->where($where)
|
|
|
->order("id", "desc")
|
|
->order("id", "desc")
|
|
|
->page((int)$page, $post["pageSize"])
|
|
->page((int)$page, $post["pageSize"])
|