|
@@ -90,11 +90,11 @@ class GiftJob implements ShouldQueue
|
|
|
$partyInfo = DB::table('hx_party')->where('id',$data->party_id)->first();
|
|
|
|
|
|
|
|
|
- $money_to_jewel = 10000;
|
|
|
+ $jewel_to_money = 1;
|
|
|
$user_id = $data->user_to_id;
|
|
|
// 添加获赠用户余额
|
|
|
if($data->getvalue > 0){
|
|
|
- $getMoney = bcdiv($data->getvalue,$money_to_jewel,2);
|
|
|
+ $getMoney = bcdiv($data->getvalue,$jewel_to_money,2);
|
|
|
if($getMoney > 0){
|
|
|
$rs_wallet = $this->lockChangeAccountRemain($user_id,$getMoney,'+',0,"{$authuser_info}送你{$data->gift_name}x{$data->number}",101,'money');
|
|
|
if($rs_wallet['status'] == false){
|