@@ -69,7 +69,7 @@ class Pub extends BaseController
$data=null;
if($totalCount>0){
$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)
->order("id", "desc")
->page((int)$page, $post["pageSize"])
@@ -27,6 +27,7 @@ class ShowTemplate extends BaseController{
$post = UtilService::getMore([
['is_hot', '0'],
['is_recommend', '0'],
+ ['status', ''],
['page', 1],
['pageSize', 50],
], $request);