Browse Source

文字聊天修改收费规则

lizhen_gitee 3 năm trước cách đây
mục cha
commit
757991814f
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      application/api/controller/Usercenter.php

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

@@ -484,8 +484,8 @@ class Usercenter extends Api
             $price = 0;$money = 0;
         }
         //特殊处理
-        //实名女发起,男性接收,不扣钱
-        if($this->auth->gender == 0 && $this->auth->real_status == 1 && $to_user_info['gender'] == 1){
+        //实名女发起,其他性别接收,不扣钱
+        if($this->auth->gender == 0 && $this->auth->real_status == 1){
             $price = 0;$money = 0;
         }