lizhen_gitee před 1 rokem
rodič
revize
275754e345

+ 1 - 1
application/api/controller/Party.php

@@ -1785,7 +1785,7 @@ class Party extends Common
                     //$this->checkBeNoble($redis,$this->auth->id,$giftCountValue);
 
                     // +message
-                    \app\common\model\Message::addMessage($user_id,"礼物通知","收到 ".$this->auth->nickname." 赠送的".$giftInfo["name"]." x".$number);
+                    \app\common\model\Message::addMessage($user_id,"礼物通知","收到 ".$this->auth->nickname." 赠送的".$giftInfo["name"]." x".$number." 价值 ".$giftValue ." 钻石");
 
                     $allVal = $allVal + $hotValue;
 

+ 1 - 1
application/common/model/GiftUserParty.php

@@ -23,7 +23,7 @@ class GiftUserParty extends Model
                 $giftNotice = config("site.giftNotice");
                 $bigGiftNotice = config("site.bigGiftNotice");
                 $partyInfo = $giftUserParty->party;
-                $money = $giftUserParty->value / 100;
+                $money = $giftUserParty->value;
 
                 $type = 0;
                 if ($money >= $bigGiftNotice) {

+ 2 - 0
application/extra/site.php

@@ -115,4 +115,6 @@ return [
     'money_to_jewel' => '10',
     'eggplay_paymoney_min' => '1000',
     'invite_money' => '1',
+    'giftNotice' => '1',
+    'bigGiftNotice' => '100',
 ];