|
|
@@ -18,13 +18,15 @@ class Platform extends Api
|
|
|
{
|
|
|
$config=$this->config();
|
|
|
$configs=config('site');
|
|
|
- $map['ishot']=2;
|
|
|
- $map['endtimesjc']=['>',time()];
|
|
|
+ $map[]=[];
|
|
|
+
|
|
|
+// $map['ishot']=2;
|
|
|
+// $map['endtimesjc']=['>',time()];
|
|
|
if(input('uid',0)>0){
|
|
|
$map['uid']=input('uid');
|
|
|
}
|
|
|
$list = model('Platform')
|
|
|
- ->with('user')
|
|
|
+// ->with('user')
|
|
|
->where($map)
|
|
|
->limit(10)
|
|
|
->select();
|