Compare commits
No commits in common. "e0cfed9ca1c53d75a320b504e8c863d885732b92" and "01176a459019295f4249222b1aaf8908d7a3f9f3" have entirely different histories.
e0cfed9ca1
...
01176a4590
|
|
@ -323,7 +323,7 @@ class FenxiaoOrder extends BaseModel
|
|||
$i_fenxiao = model('fenxiao')->getInfo(['member_id' => $order_goods['member_id']], 'fenxiao_id,fenxiao_name,parent,grand_parent');
|
||||
if ($i_fenxiao) {
|
||||
$fenxiao_account = new FenxiaoAccount;
|
||||
$fenxiao_account->addAccount($i_fenxiao['fenxiao_id'], $i_fenxiao['fenxiao_name'], 'diamond', -$goode_info['give_diamond'], $order_goods['order_id'],'diamond', '商品退款扣除');
|
||||
$fenxiao_account->addAccount($i_fenxiao['fenxiao_id'], $i_fenxiao['fenxiao_name'], 'diamond', -$goode_info['give_diamond'], $goode_info['order_id'],'diamond', '商品退款扣除');
|
||||
}
|
||||
$res = model("fenxiao_order")->update([ 'is_refund' => 1 ], [ [ 'order_goods_id', '=', $order_goods[ 'order_goods_id' ] ] ]);
|
||||
return $this->success($res);
|
||||
|
|
|
|||
Loading…
Reference in New Issue