作者 王晓刚
1 个管道 的构建 通过 耗费 0 秒

商户申请

... ... @@ -81,7 +81,6 @@ class Index extends WechatBase
}
$goodsModel = new Goods();
$data = $goodsModel->selectPageData(['id'=>['not in',$goods_ids]],$page,$pageNum);
$this->success('SUCCESS','',$data);
foreach($data as $key => $vo){
if(!empty($vo['video'])){
$data[$key]['video'] = $domain_name.$vo['video'];
... ...
... ... @@ -21,7 +21,7 @@ class Goods extends Model
$where['admin_is_up'] = ['eq',1];
$where['user_deletetime'] = ['eq',0];
$where['admin_deletetime'] = ['eq',0];
$data = $this->where($where)->order('exp desc,end_time asc')->page($page,$pageNum)->fetchSql()->select();
$data = $this->where($where)->order('exp desc,end_time asc')->page($page,$pageNum)->select();
return $data;
}
public function findData($where){
... ...