소스 검색

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

lizhen_gitee 1 년 전
부모
커밋
f7de16772f
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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["gif_image"] = localpath_to_netpath($giftInfo["gif_image"]);
                 $returnData['wealth_info'] = $res_wealth;
+                //当前用户的金币余额
+                $returnData['jewel_remain'] = model('wallet')->getWallet($this->auth->id,'jewel');
 
                 // 增加抽点记录