zhangjingyu
通过查看index.php文件中发布新竞拍和编辑竞拍部分的代码,有少许出入,分别为:
//上传图片
require_once(R_P. 'hack/auction/lib/upload.class.php');
$upload = new upload;
$iconimg = $upload->uploadImg(randstr(6).$timestamp);
//上传图片
require_once(R_P. 'hack/auction/lib/upload.class.php');//Showmsg($auctionDetail['id']);
$upload = new upload;
$goods_pic = explode('.',$auctionDetail['goods_pic']);
$iconimg = $upload->uploadImg($goods_pic[0]);
后面是写入数据。经过仔细查看,发现在编辑部分没有goods_pic,也就是物品图片的数据写入行!