作者 Cool
1 个管道 的构建 通过 耗费 1 秒

留言列表接口调整

@@ -387,7 +387,7 @@ class Hot extends Api @@ -387,7 +387,7 @@ class Hot extends Api
387 { 387 {
388 $param = (new HotValidate())->goCheck('common'); 388 $param = (new HotValidate())->goCheck('common');
389 $where = [ 389 $where = [
390 - 'where' => ['store_id' => $param['store_id']] 390 + 'where' => ['user_id'=>$this->auth->id,'store_id' => $param['store_id']]
391 ]; 391 ];
392 $model = new StoreComment(); 392 $model = new StoreComment();
393 $order = ['createtime'=>'DESC']; 393 $order = ['createtime'=>'DESC'];