作者 sgj

修改积分反馈相关规则

@@ -660,7 +660,7 @@ class Common extends Api @@ -660,7 +660,7 @@ class Common extends Api
660 try{ 660 try{
661 $User->where('id',$order['user_id'])->setDec('score',$order['score']); 661 $User->where('id',$order['user_id'])->setDec('score',$order['score']);
662 $insert_log['user_id']=$order['user_id']; 662 $insert_log['user_id']=$order['user_id'];
663 - $insert_log['score']=0-$order['price']; 663 + $insert_log['score']=0-$order['score'];
664 $insert_log['memo']='积分兑换'; 664 $insert_log['memo']='积分兑换';
665 $Goods=new Goods(); 665 $Goods=new Goods();
666 $Goods->where('id',$order['good_id'])->setDec('kucun'); 666 $Goods->where('id',$order['good_id'])->setDec('kucun');