SQL:
SELECT id,title,thumb,marketprice,productprice,sales,total,description,credit FROM `ims_ewei_shop_goods` where 1 and `uniacid` = :uniacid AND `deleted` = 0 and status=1 and ( ifnull(showlevels,'')='' or FIND_IN_SET( 0,showlevels)<>0 ) and ( ifnull(showgroups,'')='' or FIND_IN_SET( 0,showgroups)<>0 ) ORDER BY displayorder desc,createtime desc LIMIT -24,12


Params:
array ( ':uniacid' => 3, )
SQL Error:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-24,12' at line 1
Traces:
file: /framework/class/db.class.php; line: 158;
file: /framework/function/pdo.func.php; line: 44;
file: /addons/ewei_shop/core/model/goods.php; line: 90;
file: /addons/ewei_shop/core/mobile/shop/list.php; line: 162;
file: /addons/ewei_shop/core/inc/core.php; line: 264;
file: /addons/ewei_shop/site.php; line: 90;
file: /app/source/entry/__init.php; line: 49;
file: /app/index.php; line: 83;

[点击这里返回上一页]