|
@@ -649,7 +649,7 @@ class Usercenter extends Api
|
|
public function getaudiouser(){
|
|
public function getaudiouser(){
|
|
|
|
|
|
//判断资格
|
|
//判断资格
|
|
- $start = strtotime(date('Y-m-d'));
|
|
|
|
|
|
+ /*$start = strtotime(date('Y-m-d'));
|
|
$end = $start + 86399;
|
|
$end = $start + 86399;
|
|
|
|
|
|
$map = [
|
|
$map = [
|
|
@@ -658,8 +658,8 @@ class Usercenter extends Api
|
|
'price' => 0,
|
|
'price' => 0,
|
|
];
|
|
];
|
|
|
|
|
|
- $check = Db::name('user_match_audio_log')->where($map)->find();
|
|
|
|
- //$check = true;
|
|
|
|
|
|
+ $check = Db::name('user_match_audio_log')->where($map)->find();*/
|
|
|
|
+ $check = true;
|
|
|
|
|
|
//已经用掉免费的了,判断金额
|
|
//已经用掉免费的了,判断金额
|
|
if($check){
|
|
if($check){
|
|
@@ -684,6 +684,7 @@ class Usercenter extends Api
|
|
'gender' => $this->auth->gender == 1 ? 0 : 1, //异性
|
|
'gender' => $this->auth->gender == 1 ? 0 : 1, //异性
|
|
'is_online' => 0, //不在语聊间的
|
|
'is_online' => 0, //不在语聊间的
|
|
'is_livebc' => 0, //不在直播的
|
|
'is_livebc' => 0, //不在直播的
|
|
|
|
+ 'is_active' => 1, //活跃的
|
|
'real_status' => 1, //真人认证
|
|
'real_status' => 1, //真人认证
|
|
'idcard_status' => 1, //实名认证
|
|
'idcard_status' => 1, //实名认证
|
|
'open_match_audio' => 1, //打开语聊开关
|
|
'open_match_audio' => 1, //打开语聊开关
|
|
@@ -716,7 +717,7 @@ class Usercenter extends Api
|
|
public function getvideouser(){
|
|
public function getvideouser(){
|
|
|
|
|
|
//判断资格
|
|
//判断资格
|
|
- $start = strtotime(date('Y-m-d'));
|
|
|
|
|
|
+ /*$start = strtotime(date('Y-m-d'));
|
|
$end = $start + 86399;
|
|
$end = $start + 86399;
|
|
|
|
|
|
$map = [
|
|
$map = [
|
|
@@ -725,8 +726,8 @@ class Usercenter extends Api
|
|
'price' => 0,
|
|
'price' => 0,
|
|
];
|
|
];
|
|
|
|
|
|
- $check = Db::name('user_match_video_log')->where($map)->find();
|
|
|
|
- //$check = true;
|
|
|
|
|
|
+ $check = Db::name('user_match_video_log')->where($map)->find();*/
|
|
|
|
+ $check = true;
|
|
|
|
|
|
//已经用掉免费的了,判断金额
|
|
//已经用掉免费的了,判断金额
|
|
if($check){
|
|
if($check){
|
|
@@ -751,6 +752,7 @@ class Usercenter extends Api
|
|
'gender' => $this->auth->gender == 1 ? 0 : 1, //异性
|
|
'gender' => $this->auth->gender == 1 ? 0 : 1, //异性
|
|
'is_online' => 0, //不在语聊间的
|
|
'is_online' => 0, //不在语聊间的
|
|
'is_livebc' => 0, //不在直播的
|
|
'is_livebc' => 0, //不在直播的
|
|
|
|
+ 'is_active' => 1, //活跃的
|
|
'real_status' => 1, //真人认证
|
|
'real_status' => 1, //真人认证
|
|
'idcard_status' => 1, //实名认证
|
|
'idcard_status' => 1, //实名认证
|
|
'open_match_video' => 1, //打开视频开关的
|
|
'open_match_video' => 1, //打开视频开关的
|