Browse Source

送完礼物返回当前用户的金币余额

lizhen_gitee 1 year ago
parent
commit
f7de16772f
1 changed files with 2 additions and 0 deletions
  1. 2 0
      application/api/controller/Party.php

+ 2 - 0
application/api/controller/Party.php

@@ -2141,6 +2141,8 @@ class Party extends Api
                 $returnData["image"] = localpath_to_netpath($giftInfo["image"]);
                 $returnData["image"] = localpath_to_netpath($giftInfo["image"]);
                 $returnData["gif_image"] = localpath_to_netpath($giftInfo["gif_image"]);
                 $returnData["gif_image"] = localpath_to_netpath($giftInfo["gif_image"]);
                 $returnData['wealth_info'] = $res_wealth;
                 $returnData['wealth_info'] = $res_wealth;
+                //当前用户的金币余额
+                $returnData['jewel_remain'] = model('wallet')->getWallet($this->auth->id,'jewel');
 
 
                 // 增加抽点记录
                 // 增加抽点记录