助购吧点店铺点商品列表内商品应用助购吧筛选
This commit is contained in:
parent
82064c43d5
commit
03aa71bdbd
BIN
H5B854518.wgt
BIN
H5B854518.wgt
Binary file not shown.
@ -2,7 +2,7 @@
|
||||
$data['version'] = 16;
|
||||
$data['ios_must_update'] = 0; //是否强制更新,0不强制,1强制
|
||||
$data['must_update'] = 1; //是否强制更新,0不强制,1强制
|
||||
$data['apk_version'] = '2.2.4';
|
||||
$data['apk_version'] = '2.2.5';
|
||||
$data['apk_down_url'] = 'http://www.zgqlg.com.cn/H5B854518.wgt';
|
||||
//$data['ios_version'] = '1.0.0';
|
||||
$data['ios_appid'] = '1355322179';
|
||||
|
@ -453,11 +453,13 @@ class Shops extends Base{
|
||||
*/
|
||||
public function getShopIndexGoodsList($shopId=0,$field='*',$order='goodsId DESC', $from=0){
|
||||
$shopId = empty($shopId) ? (int)input('post.shopId') : $shopId;
|
||||
$from = empty($from) ? (int)input('post.from_id', 0) : $from;
|
||||
$from = empty($from) ? input('post.from_id', 0) : $from;
|
||||
$m = new TM();
|
||||
$m->setTable('goods');
|
||||
$where = ['shopId'=>$shopId,'isSale'=>1,'goodsStatus'=>1,'dataFlag'=>1];
|
||||
if($from==3){$where['discountRate'] = [">=", dataConf('discountRateGtToHelpShopping')];}
|
||||
if((int)$from == 3){
|
||||
$where['discountRate'] = [">=", dataConf('discountRateGtToHelpShopping')];
|
||||
}
|
||||
$rs = $m->getSelect($where,$field,$order);
|
||||
foreach ($rs['Rows'] as &$v) {
|
||||
$v['goodsImg'] = WSTImg($v['goodsImg'],3);
|
||||
|
Loading…
x
Reference in New Issue
Block a user