Commit 559bff9a authored by 董先生's avatar 董先生

商品tuikaun

parent 6dda3a42
...@@ -88,7 +88,7 @@ class RefundService { ...@@ -88,7 +88,7 @@ class RefundService {
$refund->member_id = auth('api')->user()['uid']; $refund->member_id = auth('api')->user()['uid'];
$refund->status = 0; $refund->status = 0;
$refund->refund_no = str_replace('-', '', Str::orderedUuid()); $refund->refund_no = str_replace('-', '', Str::orderedUuid());
$refund->amount = $item->total_price; $refund->amount = $item->total_price-$item->total_integral;
if($refund->save()){ if($refund->save()){
$item->status = 4; $item->status = 4;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment