ecshop点击商品分类的时候MySQL报错

MySQLservererrorreport:Array([0]=>Array([message]=>MySQLQueryError)[1]=>Array([sql]=>... MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT g.goods_id, g.goods_sn, g.goods_name, g.goods_name_style, g.market_price, g.add_time, g.is_new, g.is_best, g.is_hot, g.is_promote, g.goodsell, g.shop_price AS org_price, g.shop_price, g.promote_price, g.goods_type, g.promote_start_date, g.promote_end_date, g.goods_brief, g.goods_thumb , g.goods_img FROM `luwoa`.`ecs_goods` AS g LEFT JOIN `luwoa`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('104','124','125','126') OR g.goods_id IN ('') ) ORDER BY goods_id DESC LIMIT 8 ) [2] => Array ( [error] => Unknown column 'g.goodsell' in 'field list' ) [3] => Array ( [errno] => 1054 ) )

具体是表里哪里错了?ecshop后台的SQL查询能解决么?
好吧,已经自行解决了。
展开
 我来答
ecshop开发中心
2014-12-23 · TA获得超过577个赞
知道大有可为答主
回答量:2299
采纳率:0%
帮助的人:573万
展开全部
解决了最好
追问
表里加个字段就好,SB了
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式