|
@@ -2035,7 +2035,7 @@ class Party extends Api
|
|
|
$data['getvalue'] = bcsub(bcsub($data["value"] ,$data['platvalue'],2),$data['guildervalue'],2);//减去抽成剩余价值
|
|
|
|
|
|
$data['task_status'] = 0; //环信任务
|
|
|
- $data['new_task_status'] = 1; //加钱任务
|
|
|
+ $data['new_task_status'] = 0; //加钱任务
|
|
|
$data["createtime"] = time();
|
|
|
$res5 = Db::name('gift_user_party')->insertGetId($data);
|
|
|
if(!$res5){
|
|
@@ -2047,7 +2047,7 @@ class Party extends Api
|
|
|
//$this->bigGiftNotice($this->auth->nickname,$touserInfo['nickname'],$partyInfo,$data);
|
|
|
|
|
|
// 添加获赠用户余额
|
|
|
- if($data['getvalue'] > 0){
|
|
|
+ /*if($data['getvalue'] > 0){
|
|
|
$getMoney = bcdiv($data['getvalue'],$money_to_jewel,2);
|
|
|
if($getMoney > 0){
|
|
|
$rs_wallet = model('wallet')->lockChangeAccountRemain($user_id,$getMoney,'+',0,"{$this->auth->nickname}送你{$giftInfo['name']}x{$number}",101,'money');
|
|
@@ -2056,10 +2056,10 @@ class Party extends Api
|
|
|
$this->error($rs_wallet['msg']);
|
|
|
}
|
|
|
}
|
|
|
- }
|
|
|
+ }*/
|
|
|
|
|
|
// 增加房主抽成
|
|
|
- if ($partyInfo) {
|
|
|
+ /*if ($partyInfo) {
|
|
|
$guilderMoney = $data['guildermoney'];
|
|
|
if($guilderMoney > 0){
|
|
|
$touserInfo = Db::name('user')->field('nickname')->where('id',$user_id)->find();
|
|
@@ -2069,7 +2069,7 @@ class Party extends Api
|
|
|
$this->error($rs_wallet['msg']);
|
|
|
}
|
|
|
}
|
|
|
- }
|
|
|
+ }*/
|
|
|
|
|
|
|
|
|
if ($res1 && $res5) {
|