Browse Source

通话和视频,返回收益

lizhen_gitee 2 months ago
parent
commit
2f8c08d899
1 changed files with 9 additions and 2 deletions
  1. 9 2
      application/api/controller/Usercenter.php

+ 9 - 2
application/api/controller/Usercenter.php

@@ -747,7 +747,11 @@ $resArray['money'] = $money;  //返回给前端的计算结果
         }*/
 
         Db::commit();
-        $this->success('success');
+
+        $rs = [
+            'money' => '0.16',
+        ];
+        $this->success('success',$rs);
     }
 
     //视频通话每分钟调用一次
@@ -915,7 +919,10 @@ $resArray['money'] = $money;  //返回给前端的计算结果
             $tenim->sendMessageToUser($this->auth->id, $to_user_id, $user_intimacy_rs['level_remark'], 1);
         }*/
 
-        $this->success('success');
+        $rs = [
+            'money' => '0.16',
+        ];
+        $this->success('success',$rs);
     }