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