|
@@ -649,7 +649,7 @@ class Usercenter extends Api
|
|
|
public function getaudiouser(){
|
|
|
|
|
|
|
|
|
- $start = strtotime(date('Y-m-d'));
|
|
|
+
|
|
|
$end = $start + 86399;
|
|
|
|
|
|
$map = [
|
|
@@ -658,8 +658,8 @@ class Usercenter extends Api
|
|
|
'price' => 0,
|
|
|
];
|
|
|
|
|
|
- $check = Db::name('user_match_audio_log')->where($map)->find();
|
|
|
-
|
|
|
+ $check = Db::name('user_match_audio_log')->where($map)->find();*/
|
|
|
+ $check = true;
|
|
|
|
|
|
|
|
|
if($check){
|
|
@@ -684,6 +684,7 @@ class Usercenter extends Api
|
|
|
'gender' => $this->auth->gender == 1 ? 0 : 1,
|
|
|
'is_online' => 0,
|
|
|
'is_livebc' => 0,
|
|
|
+ 'is_active' => 1,
|
|
|
'real_status' => 1,
|
|
|
'idcard_status' => 1,
|
|
|
'open_match_audio' => 1,
|
|
@@ -716,7 +717,7 @@ class Usercenter extends Api
|
|
|
public function getvideouser(){
|
|
|
|
|
|
|
|
|
- $start = strtotime(date('Y-m-d'));
|
|
|
+
|
|
|
$end = $start + 86399;
|
|
|
|
|
|
$map = [
|
|
@@ -725,8 +726,8 @@ class Usercenter extends Api
|
|
|
'price' => 0,
|
|
|
];
|
|
|
|
|
|
- $check = Db::name('user_match_video_log')->where($map)->find();
|
|
|
-
|
|
|
+ $check = Db::name('user_match_video_log')->where($map)->find();*/
|
|
|
+ $check = true;
|
|
|
|
|
|
|
|
|
if($check){
|
|
@@ -751,6 +752,7 @@ class Usercenter extends Api
|
|
|
'gender' => $this->auth->gender == 1 ? 0 : 1,
|
|
|
'is_online' => 0,
|
|
|
'is_livebc' => 0,
|
|
|
+ 'is_active' => 1,
|
|
|
'real_status' => 1,
|
|
|
'idcard_status' => 1,
|
|
|
'open_match_video' => 1,
|